*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:#111827;background:#f8fafc;margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font-family:inherit}button{cursor:pointer}a{color:inherit}#root{min-height:100vh}.teacher-avatar{box-sizing:border-box;object-fit:cover;object-position:center;background:#edf6f0;border:1px solid #c4ddd3;border-radius:50%;flex:0 0 80px;width:80px;height:80px;display:block}.teacher-avatar-fallback{color:#087f86;background:#def1e8;place-items:center;font-size:26px;font-weight:700;display:grid}.app-header{z-index:1000;background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;min-height:68px;padding:0 28px;display:flex;position:sticky;top:0}.app-header-left{align-items:center;gap:18px;display:flex}.app-logo{flex-shrink:0;align-items:center;text-decoration:none;display:inline-flex}.app-logo img{object-fit:contain;object-position:center;width:190px;height:54px;display:block}.app-back-button{cursor:pointer;color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:2px solid #2563eb;border-radius:10px;padding:10px 15px;font-size:14px;font-weight:800;box-shadow:0 3px 8px #2563eb1f}.app-back-button:hover{color:#1e3a8a;background:#dbeafe;box-shadow:0 5px 12px #2563eb33}.app-navigation{flex-wrap:wrap;flex:520px;justify-content:center;align-items:center;gap:8px;min-width:0;padding:8px 0;display:flex}.app-navigation a{color:#1e3a8a;letter-spacing:.01em;white-space:nowrap;background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;align-items:center;min-height:40px;padding:9px 14px;font-size:15px;font-weight:800;text-decoration:none;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s;display:inline-flex}.app-navigation a:hover{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 4px 10px #2563eb24}.app-navigation .app-cart-link{gap:7px}.app-cart-count{color:#fff;background:#dc2626;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:12px;font-weight:800;line-height:1;display:inline-grid}.app-header-right{align-items:center;gap:12px;display:flex}.app-user{color:#6b7280;font-size:13px}.app-role{color:#2563eb;background:#eff6ff;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:700}.app-logout-button{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:7px;padding:9px 15px;font-weight:600}.app-logout-button:hover{opacity:.9}.app-auth-link,.app-register-link{font-size:14px;font-weight:600}.app-auth-link{color:#374151;text-decoration:none}.app-register-link{color:#fff;background:#2563eb;border-radius:7px;padding:9px 13px;text-decoration:none}@media (width<=1050px){.app-user{display:none}.app-navigation{gap:7px}}@media (width<=1250px){.app-header{padding:10px 18px}.app-logo img{width:180px;height:52px}.app-navigation{flex-wrap:nowrap;flex-basis:100%;order:3;justify-content:flex-start;padding:4px 0 2px;overflow-x:auto}}@media (width<=850px){.app-header{padding:12px 18px}.app-navigation{width:100%}.app-navigation a{padding:8px 12px;font-size:14px}}@media (width<=520px){.app-role{display:none}.app-logo{max-width:132px}.app-logo img{width:132px;height:44px}}.app-header{box-sizing:border-box;background:#fffdf8;border-bottom:1px solid #dce6dc;gap:12px 20px;padding:10px 24px;box-shadow:0 2px 12px #16313c06}.app-header-left,.app-header-right{min-width:0}.app-header-left{gap:12px}.app-logo img{width:210px;height:66px}.app-header .app-back-button{color:#087f86;box-shadow:none;background:#edf6f0;border:1px solid #c4d9ca;border-radius:12px;min-height:44px}.app-header .app-back-button:hover{color:#066970;box-shadow:none;background:#def1e8}.app-header .app-navigation{flex:480px;gap:8px;padding:0}.app-header .app-navigation:empty{display:none}.app-header .app-navigation a{box-sizing:border-box;color:#365b60;background:#f2f7ef;border:1px solid #d6e2d6;border-radius:12px;min-height:44px;padding:10px 13px;font-size:14px;font-weight:600}.app-header .app-navigation a:hover{color:#087f86;box-shadow:none;background:#def1e8;border-color:#a3cbbd;transform:none}.app-header .app-role{color:#087f86;background:#def1e8;border-radius:8px;padding:7px 10px}.app-header .app-user{color:#60757a;overflow-wrap:anywhere;max-width:240px;font-size:12px}.app-header .app-header-right{flex-wrap:wrap;justify-content:flex-end;gap:10px}.app-header .app-logout-button{background:#b83232;border-radius:12px;min-height:44px;padding:10px 16px}.app-header .app-auth-link{color:#365b60;align-items:center;min-height:44px;padding:0 8px;display:inline-flex}.app-header .app-register-link{box-sizing:border-box;background:#087f86;border-radius:12px;align-items:center;min-height:44px;padding:10px 18px;display:inline-flex}.app-header .app-register-link:hover{background:#066970}.app-header :is(a,button):focus-visible{outline-offset:3px;outline:3px solid #b37526}@media (width<=1280px){.app-header .app-navigation{flex-basis:100%;order:3;justify-content:flex-start}.app-header .app-header-right{margin-left:auto}}@media (width<=640px){.app-header{gap:10px;padding:10px 14px}.app-logo img{width:148px;height:54px}.app-header .app-back-button{padding:9px 10px;font-size:13px}.app-header .app-user{max-width:160px}.app-header .app-navigation{flex-wrap:nowrap;justify-content:flex-start;padding:3px 3px 8px;overflow-x:auto}.app-header .app-navigation a{flex-shrink:0;font-size:13px}.app-header .app-header-right{flex:160px}.app-header .app-logout-button,.app-header .app-register-link{padding:10px 12px}}@media (prefers-reduced-motion:reduce){.app-header *{transition:none!important}}.app-account-identity{align-items:center;gap:9px;min-width:0;display:inline-flex}.app-profile-photo{border:1px solid #c4d9ca;border-radius:50%;flex:0 0 36px;width:36px;height:36px;display:inline-flex;overflow:hidden}.app-profile-photo img{object-fit:cover;width:100%;height:100%;display:block}@media (width<=640px){.app-profile-photo{flex-basis:32px;width:32px;height:32px}}.app-header .app-logo{width:170px;max-width:none;height:52px;overflow:hidden}.app-header .app-logo img{object-fit:cover;object-position:center 48%;width:100%;height:100%}@media (width<=640px){.app-header .app-logo{width:144px;height:46px}}.app-profile-photo .teacher-avatar{flex:auto;width:100%;height:100%;font-size:14px}.public-footer{color:#334155;background:#fff;border-top:1px solid #e2e8f0;margin-top:auto;padding:44px 8% 20px}.public-footer-content{justify-content:space-between;align-items:flex-start;gap:36px;max-width:1200px;margin:0 auto;display:flex}.public-footer-brand{max-width:340px}.public-footer-brand a{border-radius:6px;display:inline-flex}.public-footer-brand img{object-fit:contain;object-position:left center;width:190px;height:54px;display:block}.public-footer-brand p{color:#64748b;margin:12px 0 0;line-height:1.6}.public-footer-navigation{flex-wrap:wrap;justify-content:flex-end;gap:12px 24px;padding-top:16px;display:flex}.public-footer-navigation a{color:#334155;text-decoration:none}.public-footer-navigation a:hover{color:#1d4ed8;text-underline-offset:4px;text-decoration:underline}.public-footer-legal{color:#64748b;border-top:1px solid #e2e8f0;max-width:1200px;margin:30px auto 0;padding-top:18px;font-size:14px}.public-footer-legal p{margin:0}@media (width<=640px){.public-footer{padding:36px 20px 18px}.public-footer-content{flex-direction:column;gap:22px}.public-footer-navigation{justify-content:flex-start;gap:12px 20px;padding-top:0}}.public-footer{color:#214c4a;background:linear-gradient(115deg,#fffdf5,#edf7ef);border-top:1px solid #d4e5dc;padding-bottom:32px}.public-footer-content{align-items:center}.public-footer-illustration{width:200px;height:100px;margin-bottom:16px;display:block}.public-footer-brand p{color:#58746b}.public-footer-navigation{gap:12px;max-width:540px;padding-top:0}.public-footer-navigation a{color:#285c56;background:#ffffffb3;border:1px solid #cfe2d5;border-radius:12px;align-items:center;min-height:44px;padding:10px 16px;font-weight:600;transition:background .2s,border-color .2s;display:inline-flex}.public-footer-navigation a:hover{color:#006f75;background:#e0f1e7;border-color:#91c4ae}.public-footer a:focus-visible{outline-offset:4px;outline:3px solid #008b91}.public-footer-legal{color:#58746b;border-color:#d4e5dc}@media (width<=640px){.public-footer-content{align-items:flex-start}.public-footer-illustration{width:170px;height:85px}.public-footer-navigation{gap:10px}}@media (prefers-reduced-motion:reduce){.public-footer-navigation a{transition:none}}.public-footer-brand .public-footer-photo{object-fit:contain;object-position:left center;width:220px;height:120px;margin-bottom:16px}@media (width<=640px){.public-footer-brand .public-footer-photo{width:190px;height:104px}}.session-timeout-overlay{z-index:9999;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.session-timeout-modal{text-align:center;background:#fff;border-radius:14px;width:100%;max-width:460px;padding:34px;box-shadow:0 20px 50px #0003}.session-timeout-icon{margin-bottom:12px;font-size:42px}.session-timeout-modal h2{color:#111827;margin:0 0 12px;font-size:24px}.session-timeout-modal p{color:#4b5563;margin:8px 0;line-height:1.6}.session-timeout-warning{font-weight:700;color:#dc2626!important}.session-timeout-actions{justify-content:center;gap:12px;margin-top:25px;display:flex}.session-continue-button,.session-logout-button{cursor:pointer;border:none;border-radius:8px;padding:11px 18px;font-weight:700}.session-continue-button{color:#fff;background:#2563eb}.session-continue-button:hover{background:#1d4ed8}.session-logout-button{color:#374151;background:#f3f4f6}.session-logout-button:hover{background:#e5e7eb}@media (width<=520px){.session-timeout-modal{padding:25px 20px}.session-timeout-actions{flex-direction:column}.session-continue-button,.session-logout-button{width:100%}}.app-layout{background:#f8fafc;min-height:100vh}.app-layout-content{min-height:calc(100vh - 68px)}.public-page-layout{flex-direction:column;min-height:calc(100vh - 68px);display:flex}.public-page-content{flex:1}.ai-assistant-widget{z-index:1100;position:fixed;bottom:24px;right:24px}.ai-assistant-launcher{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:999px;align-items:center;gap:8px;padding:9px 18px 9px 11px;font-weight:800;display:inline-flex;box-shadow:0 12px 30px #4f46e54d}.ai-robot{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:21px;animation:1.4s ease-in-out infinite ai-robot-walk;display:inline-flex}.ai-assistant-panel{background:#fff;border:1px solid #c7d2fe;border-radius:18px;width:min(360px,100vw - 32px);margin-bottom:12px;padding:16px;box-shadow:0 20px 50px #0f172a2e}.ai-assistant-panel-header{color:#1e1b4b;justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.ai-assistant-panel-header div{flex-direction:column;gap:3px;display:flex}.ai-assistant-panel-header span{color:#64748b;font-size:12px;font-weight:400}.ai-assistant-panel-header button{color:#64748b;cursor:pointer;background:0 0;border:0;font-size:24px}.ai-assistant-reply{color:#312e81;white-space:pre-wrap;background:#eef2ff;border-radius:12px;padding:12px;font-size:14px;line-height:1.55}.ai-assistant-panel form{flex-direction:column;gap:8px;margin-top:12px;display:flex}.ai-assistant-panel textarea{box-sizing:border-box;resize:vertical;width:100%}.ai-assistant-panel form button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:9px;padding:11px;font-weight:800}.ai-assistant-panel form button:disabled{cursor:not-allowed;background:#93c5fd}.ai-assistant-error{color:#b91c1c;margin:10px 0 0;font-size:13px;line-height:1.4}@media (width<=600px){.ai-assistant-widget{bottom:16px;right:16px}.ai-assistant-launcher span{display:none}}@keyframes ai-robot-walk{0%,to{transform:translateY(2px)rotate(-5deg)}50%{transform:translateY(-5px)rotate(5deg)}}@media (prefers-reduced-motion:reduce){.ai-robot{animation:none}}.navbar{z-index:1000;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:70px;padding:0 50px;display:flex;position:sticky;top:0}.logo{color:#2563eb;font-size:26px;font-weight:800;text-decoration:none}.nav-links{gap:35px;display:flex}.nav-links a{color:#374151;font-weight:500;text-decoration:none}.nav-links a:hover{color:#2563eb}.nav-actions{align-items:center;gap:20px;display:flex}.login-link{color:#374151;font-weight:600;text-decoration:none}.register-btn{color:#fff;background:#2563eb;border-radius:7px;padding:11px 20px;font-weight:600;text-decoration:none}.register-btn:hover{background:#1d4ed8}.home-page{background:#f8fafc}input,select,textarea{font:inherit}input:not([type=checkbox]):not([type=radio]),select,textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;min-height:44px;padding:11px 13px;transition:border-color .2s,box-shadow .2s,background .2s}select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,#0000 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:38px}input:not([type=checkbox]):not([type=radio]):hover,select:hover,textarea:hover{border-color:#94a3b8}input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f}input:not([type=checkbox]):not([type=radio]):disabled,select:disabled,textarea:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc}button,.primary-btn,.secondary-btn,.register-btn{transition:transform .2s,box-shadow .2s,background .2s}button:hover:not(:disabled),.primary-btn:hover,.secondary-btn:hover,.register-btn:hover{transform:translateY(-1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #2563eb47}@media (width<=720px){.navbar{flex-wrap:wrap;gap:14px;height:auto;min-height:70px;padding:14px 20px}.nav-links,.nav-actions{gap:14px}.hero-section{flex-direction:column;align-items:stretch;padding:56px 20px}.hero-content h1{font-size:42px}}.hero-section{background:#eff6ff;justify-content:space-between;align-items:center;gap:60px;min-height:520px;padding:80px 8%;display:flex}.hero-content{max-width:650px}.hero-label,.section-label{letter-spacing:2px;color:#2563eb;margin-bottom:15px;font-size:13px;font-weight:700}.hero-content h1{color:#111827;margin:0 0 25px;font-size:56px;line-height:1.1}.hero-content h1 span{color:#2563eb}.hero-description{color:#4b5563;max-width:560px;font-size:18px;line-height:1.7}.hero-buttons{gap:15px;margin-top:30px;display:flex}.primary-btn,.secondary-btn{cursor:pointer;border-radius:7px;padding:13px 25px;font-size:16px;font-weight:600}.primary-btn{color:#fff;background:#2563eb;border:none}.primary-btn:hover{background:#1d4ed8}.secondary-btn{color:#2563eb;background:#fff;border:1px solid #2563eb}.hero-card{text-align:center;background:#fff;border-radius:15px;width:330px;padding:35px;box-shadow:0 10px 35px #00000014}.hero-card-icon{margin-bottom:15px;font-size:55px}.hero-card h3{margin-bottom:10px;font-size:24px}.hero-card p{color:#6b7280;line-height:1.6}.learning-stats{border-top:1px solid #e5e7eb;justify-content:space-between;margin-top:30px;padding-top:25px;display:flex}.learning-stats div{flex-direction:column;gap:5px;display:flex}.learning-stats strong{color:#2563eb;font-size:20px}.learning-stats span{color:#6b7280;font-size:12px}.popular-section{background:#fff;padding:80px 8%}.section-heading{text-align:center;max-width:650px;margin:0 auto 45px}.section-heading h2{color:#111827;margin:5px 0 15px;font-size:38px}.section-heading>p:last-child{color:#6b7280;font-size:17px}.course-grid{grid-template-columns:repeat(3,1fr);gap:25px;max-width:1150px;margin:auto;display:grid}.home-course-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px;transition:transform .2s,box-shadow .2s}.home-course-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px #00000014}.course-icon{margin-bottom:15px;font-size:40px}.home-course-card h3{margin-bottom:12px;font-size:22px}.home-course-card p{color:#6b7280;min-height:75px;line-height:1.6}.home-course-card a{color:#2563eb;margin-top:15px;font-weight:600;text-decoration:none;display:inline-block}.why-section{background:#f8fafc;padding:80px 8%}.features{grid-template-columns:repeat(3,1fr);gap:30px;max-width:1100px;margin:auto;display:grid}.features>div{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px}.features h3{margin-bottom:10px;font-size:20px}.features p{color:#6b7280;line-height:1.6}@media (width<=800px){.navbar{padding:0 20px}.nav-links{display:none}.hero-section{text-align:center;flex-direction:column;padding:60px 25px}.hero-content h1{font-size:42px}.hero-buttons{justify-content:center}.hero-card{width:auto;max-width:350px}.course-grid,.features{grid-template-columns:1fr}}.courses-page{background:#f8fafc;min-height:calc(100vh - 70px)}.courses-header{text-align:center;background:#eff6ff;padding:70px 20px 50px}.courses-header h1{color:#111827;margin:10px 0 15px;font-size:44px}.courses-header>p:last-child{color:#6b7280;max-width:600px;margin:auto;font-size:17px;line-height:1.6}.courses-container{max-width:1200px;margin:auto;padding:60px 30px}.courses-container .course-grid{grid-template-columns:repeat(3,1fr);gap:25px;display:grid}.course-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;transition:transform .2s,box-shadow .2s;overflow:hidden}.course-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px #00000014}.course-card-icon{background:#dbeafe;justify-content:center;align-items:center;height:130px;font-size:50px;display:flex}.course-info{padding:25px}.course-level{color:#2563eb;background:#eff6ff;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-block}.course-info h2{color:#111827;margin:15px 0 10px;font-size:22px}.course-info p{color:#6b7280;min-height:75px;line-height:1.6}.course-meta{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-top:25px;padding-top:20px;display:flex}.course-meta span{color:#6b7280;font-size:14px}.course-meta button{color:#fff;background:#2563eb;border:none;border-radius:6px;padding:9px 14px;font-weight:600}.course-meta button:hover{background:#1d4ed8}@media (width<=900px){.courses-container .course-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.courses-container .course-grid{grid-template-columns:1fr}.courses-header h1{font-size:36px}}.enroll-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:13px 25px;font-size:16px;font-weight:600;text-decoration:none;display:inline-block}.course-details-page{background:#f8fafc;min-height:calc(100vh - 70px)}.course-details-header{background:#eff6ff;padding:80px 8%}.course-details-content{max-width:850px;margin:auto}.course-details-content h1{color:#111827;margin:20px 0;font-size:48px}.course-details-content>p{color:#4b5563;max-width:700px;font-size:18px;line-height:1.7}.course-details-meta{gap:30px;margin:25px 0 30px;display:flex}.course-details-meta span{color:#6b7280;font-weight:600}.course-details-body{max-width:1000px;margin:auto;padding:70px 30px}.course-details-body h2{color:#111827;margin-bottom:30px;font-size:32px}.topics-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.topic-card{color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;font-weight:500}.back-courses{color:#2563eb;margin-top:35px;font-weight:600;text-decoration:none;display:inline-block}.back-courses:hover{text-decoration:underline}.course-not-found{text-align:center;padding:100px 20px}.course-not-found h1{color:#111827;margin-bottom:20px}.course-not-found a{color:#2563eb;font-weight:600;text-decoration:none}@media (width<=700px){.course-details-header{padding:60px 25px}.course-details-content h1{font-size:38px}.course-details-meta{flex-direction:column;gap:10px}.topics-grid{grid-template-columns:1fr}}.auth-page{background:#f8fafc;justify-content:center;align-items:center;min-height:calc(100vh - 70px);padding:60px 20px;display:flex}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;width:100%;max-width:450px;padding:40px;box-shadow:0 10px 35px #00000014}.auth-card h1{color:#111827;margin:0 0 10px;font-size:36px}.auth-card>p{color:#6b7280;margin-bottom:30px;line-height:1.6}.form-group{margin-bottom:20px}.form-group label{color:#374151;margin-bottom:8px;font-weight:600;display:block}.form-group input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:12px 14px;font-size:16px}.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.auth-card button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;width:100%;padding:13px 20px;font-size:16px;font-weight:600}.auth-card button:hover{background:#1d4ed8}.course-search{max-width:600px;margin:0 auto 40px}.course-search input{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:15px 18px;font-size:16px}.course-search input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.view-course-btn{color:#fff;background:#2563eb;border-radius:6px;padding:9px 14px;font-weight:600;text-decoration:none;display:inline-block}.view-course-btn:hover{background:#1d4ed8}.no-courses{text-align:center;padding:60px 20px}.no-courses h2{color:#111827;margin-bottom:10px}.no-courses p{color:#6b7280}.dashboard-page{background:#f8fafc;min-height:calc(100vh - 70px)}.dashboard-header{background:#eff6ff;padding:60px 8%}.dashboard-header h1{color:#111827;margin:10px 0;font-size:40px}.dashboard-header>p{color:#6b7280;font-size:17px}.student-user-info{flex-wrap:wrap;align-items:center;gap:15px;margin-top:25px;display:flex}.student-user-info span{color:#374151;background:#fff;border-radius:6px;padding:8px 14px;font-size:14px}.student-user-info button{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:6px;padding:9px 16px;font-weight:600}.student-user-info button:hover{background:#b91c1c}.dashboard-cards{grid-template-columns:repeat(3,1fr);gap:25px;max-width:1150px;margin:auto;padding:50px 30px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:28px}.dashboard-card h3{color:#111827;margin-top:0;font-size:21px}.dashboard-card p{color:#6b7280;line-height:1.6}.dashboard-card span{color:#2563eb;margin-top:15px;font-weight:600;display:inline-block}.dashboard-card-link{text-decoration:none;transition:transform .2s,box-shadow .2s}.dashboard-card-link:hover{transform:translateY(-4px);box-shadow:0 10px 25px #00000014}@media (width<=900px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.dashboard-cards{grid-template-columns:1fr}}.profile-page{background:#f8fafc;min-height:calc(100vh - 70px)}.profile-header{background:#eff6ff;padding:55px 8%}.profile-header h1{color:#111827;margin:10px 0;font-size:38px}.profile-header p{color:#6b7280}.profile-container{max-width:750px;margin:50px auto;padding:0 25px}.profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:35px}.profile-avatar{background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin-bottom:20px;font-size:38px;display:flex}.profile-card h2{color:#111827;margin-bottom:30px}.profile-details{border-top:1px solid #e5e7eb}.profile-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;gap:20px;padding:18px 0;display:flex}.profile-row span{color:#6b7280}.profile-row strong{color:#111827}.profile-actions{gap:15px;margin-top:30px;display:flex}.profile-back-btn{color:#fff;background:#2563eb;border-radius:7px;padding:11px 18px;font-weight:600;text-decoration:none}.profile-logout-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:7px;padding:11px 18px;font-weight:600}.course-details-container{max-width:800px;margin:50px auto;padding:0 25px}.course-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px}.course-detail-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;padding:16px 0;display:flex}.enroll-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;width:100%;margin-top:25px;padding:14px;font-size:16px;font-weight:600}.enroll-btn:hover{background:#1d4ed8}.empty-courses{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:50px 30px}.course-progress-container{max-width:550px;margin-top:22px}.course-progress-info{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.course-progress-info span{color:#374151;font-size:15px;font-weight:600}.course-progress-info strong{color:#111827;font-size:17px;font-weight:700}.course-progress-track{background-color:#e5e7eb;border-radius:20px;width:100%;height:14px;overflow:hidden}.course-progress-fill{border-radius:20px;height:100%;transition:width .4s,background-color .4s}.progress-not-started{background-color:#d1d5db}.progress-light-yellow{background-color:#fde68a}.progress-yellow{background-color:#facc15}.progress-light-green{background-color:#86efac}.progress-green{background-color:#22c55e}.course-progress-count{color:#6b7280;margin-top:8px;margin-bottom:0;font-size:14px}.course-completed-message{color:#15803d;margin-top:8px;font-size:15px;font-weight:700}.lesson-btn{text-align:left;color:#374151;cursor:pointer;background-color:#fff;border:1px solid #e5e7eb;border-left:4px solid #0000;border-radius:6px;width:100%;margin-top:5px;padding:10px 12px;transition:background-color .2s,color .2s,border-color .2s}.lesson-btn:hover{background-color:#f9fafb}.lesson-btn.active{color:#1d4ed8;background-color:#dbeafe;border-left-color:#2563eb;font-weight:600}.lesson-btn.lesson-completed{color:#166534;background-color:#dcfce7;border-left-color:#22c55e}.lesson-btn.active.lesson-completed{color:#166534;background-color:#bbf7d0;border-left-color:#16a34a;font-weight:700}.mark-complete-button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:6px;padding:10px 18px;font-weight:600}.mark-complete-button:hover{background-color:#1d4ed8}.mark-complete-button:disabled{opacity:.6;cursor:not-allowed}.lesson-completed-button{color:#166534;cursor:default;background-color:#dcfce7;border:1px solid #86efac;border-radius:6px;padding:10px 18px;font-weight:700}.lesson-navigation{justify-content:space-between;gap:15px;margin-top:30px;display:flex}.lesson-navigation button{color:#374151;cursor:pointer;background-color:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 16px;font-weight:600}.lesson-navigation button:hover:not(:disabled){background-color:#f3f4f6}.lesson-navigation button:disabled{opacity:.45;cursor:not-allowed}.dashboard-progress-card{min-height:220px}.dashboard-progress-content{margin-top:18px}.dashboard-overall-progress{border-bottom:1px solid #e5e7eb;margin-bottom:18px;padding-bottom:18px}.dashboard-progress-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:8px;display:flex}.dashboard-progress-title span{color:#374151;font-size:14px;font-weight:600}.dashboard-progress-title strong{color:#111827;font-size:15px}.dashboard-course-progress-list{flex-direction:column;gap:20px;display:flex}.dashboard-course-progress-item{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px}.dashboard-progress-footer{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.dashboard-progress-footer span{color:#6b7280}.dashboard-progress-footer a{color:#2563eb;white-space:nowrap;font-weight:600;text-decoration:none}.dashboard-progress-footer a:hover{text-decoration:underline}.progress-loading{color:#6b7280;margin-top:15px;font-size:14px}.progress-browse-link{color:#2563eb;margin-top:8px;font-weight:600;text-decoration:none;display:inline-block}.progress-browse-link:hover{text-decoration:underline}@media (width<=700px){.dashboard-progress-footer{flex-direction:column;align-items:flex-start}}.assignments-page,.assignment-details-page{padding:40px 50px}.assignments-header{margin-bottom:30px}.assignments-header button,.assignment-details-page>button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;margin-bottom:20px;padding:9px 14px}.assignment-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.assignment-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:22px}.assignment-card-header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.assignment-course-name{color:#2563eb;margin-bottom:5px;font-size:13px;font-weight:700}.assignment-description{color:#4b5563;margin-top:15px;line-height:1.6}.assignment-status{border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700}.assignment-status.pending{color:#92400e;background-color:#fef3c7}.assignment-status.submitted{color:#166534;background-color:#dcfce7}.assignment-meta,.assignment-details-meta{color:#6b7280;flex-wrap:wrap;gap:20px;margin-top:18px;font-size:14px;display:flex}.assignment-open-link{color:#2563eb;margin-top:20px;font-weight:700;text-decoration:none;display:inline-block}.assignment-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-width:900px;margin:0 auto;padding:30px}.assignment-question-section{background-color:#f9fafb;border-radius:8px;margin-top:30px;padding:20px}.assignment-question-section p{line-height:1.8}.assignment-submission-form{flex-direction:column;gap:12px;margin-top:30px;display:flex}.assignment-submission-form label{color:#374151;font-weight:700}.assignment-submission-form textarea{box-sizing:border-box;resize:vertical;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:14px;font-family:inherit;font-size:15px;line-height:1.6}.assignment-submission-form button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:7px;width:fit-content;padding:11px 20px;font-weight:700}.assignment-submission-form button:disabled{opacity:.6;cursor:not-allowed}.submitted-assignment{background-color:#f0fdf4;border:1px solid #86efac;border-radius:8px;margin-top:30px;padding:20px}.submitted-assignment-header{justify-content:space-between;align-items:center;gap:15px;display:flex}.submitted-answer{background-color:#fff;border-radius:7px;margin-top:15px;padding:15px}.submitted-answer p{white-space:pre-wrap;line-height:1.7}.assignment-score{color:#166534;margin-top:15px;font-weight:700}.assignment-feedback{background:#fff;border-radius:7px;margin-top:18px;padding:15px}.form-success{color:#166534;background-color:#dcfce7;border-radius:6px;margin-top:20px;padding:10px 12px;font-weight:600}@media (width<=700px){.assignments-page,.assignment-details-page{padding:25px 20px}.assignment-card-header,.submitted-assignment-header{flex-direction:column}.assignment-details-card{padding:20px}}
