*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--navy: #0A1F44;--navy-light: #0D2654;--gold: #C9A84C;--gold-light: #E8C870;--white: #ffffff;--gray-50: #f9fafb;--gray-100: #f3f4f6;--gray-200: #e5e7eb;--gray-400: #9ca3af;--gray-600: #4b5563;--gray-800: #1f2937;--green: #16a34a;--red: #dc2626;--font: "Inter", sans-serif}body{font-family:var(--font);background:var(--gray-50);color:var(--gray-800);min-height:100vh}a{text-decoration:none;color:inherit}button{cursor:pointer;font-family:var(--font)}.app-shell{display:flex;flex-direction:column;min-height:100vh}.topbar{background:var(--navy);padding:0 2rem;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;border-bottom:2px solid var(--gold)}.topbar-logo{font-family:Bebas Neue,sans-serif;font-size:1.4rem;color:var(--gold);letter-spacing:2px}.topbar-logo span{color:var(--white)}.topbar-nav{display:flex;align-items:center;gap:1rem}.topbar-nav a,.topbar-nav button{color:var(--gray-200);font-size:.875rem;background:none;border:none;padding:.25rem .5rem;border-radius:4px;transition:color .2s}.topbar-nav a:hover,.topbar-nav button:hover{color:var(--gold)}.main-content{flex:1;padding:2rem;max-width:1000px;margin:0 auto;width:100%}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:6px;font-size:.9rem;font-weight:600;border:none;transition:all .2s}.btn-primary{background:var(--gold);color:var(--navy)}.btn-primary:hover{background:var(--gold-light)}.btn-secondary{background:var(--navy);color:var(--white);border:1px solid var(--gold)}.btn-secondary:hover{background:var(--navy-light)}.btn-ghost{background:transparent;color:var(--gray-600);border:1px solid var(--gray-200)}.btn-ghost:hover{background:var(--gray-100)}.btn-danger{background:var(--red);color:var(--white)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-lg{padding:.875rem 2rem;font-size:1rem}.btn-sm{padding:.375rem .75rem;font-size:.8rem}.card{background:var(--white);border-radius:10px;border:1px solid var(--gray-200);padding:1.5rem;box-shadow:0 1px 3px #0000000f}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--navy);padding:1rem}.auth-card{background:var(--white);border-radius:12px;padding:2.5rem;width:100%;max-width:420px;box-shadow:0 20px 60px #0000004d}.auth-logo{text-align:center;margin-bottom:1.5rem}.auth-logo h1{font-family:Bebas Neue,sans-serif;font-size:2rem;color:var(--navy);letter-spacing:3px}.auth-logo p{color:var(--gray-600);font-size:.875rem;margin-top:.25rem}.auth-card h2{font-size:1.25rem;margin-bottom:1.5rem;color:var(--gray-800)}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.375rem;color:var(--gray-600)}.form-group input{width:100%;padding:.625rem .875rem;border:1px solid var(--gray-200);border-radius:6px;font-size:.9rem;font-family:var(--font);outline:none;transition:border-color .2s}.form-group input:focus{border-color:var(--navy)}.auth-switch{text-align:center;margin-top:1.25rem;font-size:.875rem;color:var(--gray-600)}.auth-switch button{background:none;border:none;color:var(--navy);font-weight:600;padding:0}.auth-switch button:hover{text-decoration:underline}.error-msg{background:#fef2f2;color:var(--red);padding:.75rem 1rem;border-radius:6px;font-size:.875rem;margin-bottom:1rem;border:1px solid #fecaca}.success-msg{background:#f0fdf4;color:var(--green);padding:.75rem 1rem;border-radius:6px;font-size:.875rem;margin-bottom:1rem;border:1px solid #bbf7d0}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{font-size:1.75rem;font-weight:700;color:var(--navy)}.dashboard-header p{color:var(--gray-600);margin-top:.25rem}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.course-card{background:var(--white);border-radius:10px;border:1px solid var(--gray-200);overflow:hidden;transition:box-shadow .2s,transform .2s}.course-card:hover{box-shadow:0 8px 24px #0000001a;transform:translateY(-2px)}.course-card-header{background:var(--navy);padding:1.25rem;position:relative}.course-card-header h3{color:var(--white);font-size:1rem;font-weight:700}.course-card-header .course-tag{display:inline-block;background:var(--gold);color:var(--navy);font-size:.7rem;font-weight:700;padding:.2rem .5rem;border-radius:3px;margin-bottom:.5rem;letter-spacing:.5px}.course-card-body{padding:1.25rem}.course-card-body p{font-size:.875rem;color:var(--gray-600);margin-bottom:1rem;line-height:1.5}.progress-bar-wrap{margin-bottom:.5rem}.progress-bar-label{display:flex;justify-content:space-between;font-size:.75rem;color:var(--gray-600);margin-bottom:.375rem}.progress-bar{height:6px;background:var(--gray-200);border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:var(--gold);border-radius:3px;transition:width .4s ease}.course-card-footer{padding:1rem 1.25rem;border-top:1px solid var(--gray-100);display:flex;justify-content:space-between;align-items:center}.course-meta{font-size:.75rem;color:var(--gray-400)}.badge-locked{font-size:.75rem;color:var(--gray-400);display:flex;align-items:center;gap:.25rem}.course-layout{display:grid;grid-template-columns:260px 1fr;gap:1.5rem;align-items:start}.course-sidebar{background:var(--white);border-radius:10px;border:1px solid var(--gray-200);overflow:hidden;position:sticky;top:80px}.sidebar-header{background:var(--navy);padding:1rem 1.25rem;color:var(--white)}.sidebar-header h3{font-size:.875rem;font-weight:700;letter-spacing:.5px}.sidebar-header p{font-size:.75rem;color:var(--gray-400);margin-top:.25rem}.sidebar-chapters{padding:.5rem 0}.chapter-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;font-size:.8rem;cursor:pointer;transition:background .15s;border-left:3px solid transparent}.chapter-item:hover:not(.locked){background:var(--gray-50)}.chapter-item.active{background:#fef9ec;border-left-color:var(--gold);color:var(--navy);font-weight:600}.chapter-item.completed .chapter-icon{color:var(--green)}.chapter-item.locked{opacity:.45;cursor:not-allowed}.chapter-icon{font-size:1rem;flex-shrink:0}.chapter-title{line-height:1.3}.sidebar-progress{padding:1rem 1.25rem;border-top:1px solid var(--gray-100)}.sidebar-progress .progress-bar-label{font-size:.75rem}.chapter-content{background:var(--white);border-radius:10px;border:1px solid var(--gray-200);padding:2rem}.chapter-breadcrumb{font-size:.75rem;color:var(--gray-400);margin-bottom:1rem}.chapter-breadcrumb span{color:var(--navy);font-weight:500}.chapter-content h1{font-size:1.6rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}.chapter-content .chapter-meta{font-size:.8rem;color:var(--gray-400);margin-bottom:1.5rem;display:flex;gap:1rem}.content-body{line-height:1.75;color:var(--gray-800)}.content-body h2{font-size:1.2rem;font-weight:700;color:var(--navy);margin:1.75rem 0 .75rem;padding-bottom:.375rem;border-bottom:2px solid var(--gold)}.content-body h3{font-size:1rem;font-weight:600;color:var(--navy);margin:1.25rem 0 .5rem}.content-body p{margin-bottom:1rem}.content-body ul,.content-body ol{margin:.75rem 0 1rem 1.5rem}.content-body li{margin-bottom:.375rem}.content-body strong{color:var(--navy)}.callout{border-left:4px solid var(--gold);background:#fef9ec;padding:1rem 1.25rem;border-radius:0 6px 6px 0;margin:1.25rem 0;font-size:.9rem}.callout.danger{border-color:var(--red);background:#fef2f2}.callout.info{border-color:#3b82f6;background:#eff6ff}.callout-title{font-weight:700;margin-bottom:.375rem;color:var(--navy)}.chapter-nav{display:flex;justify-content:space-between;align-items:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--gray-200)}.quiz-section{margin-top:2rem;padding-top:2rem;border-top:3px solid var(--navy)}.quiz-header{margin-bottom:1.5rem}.quiz-header h2{font-size:1.2rem;font-weight:700;color:var(--navy)}.quiz-header p{font-size:.875rem;color:var(--gray-600);margin-top:.25rem}.quiz-question{margin-bottom:1.5rem}.quiz-question p{font-weight:600;margin-bottom:.75rem;color:var(--gray-800)}.quiz-options{display:flex;flex-direction:column;gap:.5rem}.quiz-option{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:2px solid var(--gray-200);border-radius:8px;cursor:pointer;transition:all .15s;font-size:.9rem;background:var(--white);text-align:left}.quiz-option:hover:not(:disabled){border-color:var(--navy);background:var(--gray-50)}.quiz-option.selected{border-color:var(--navy);background:#f0f4ff}.quiz-option.correct{border-color:var(--green);background:#f0fdf4;color:var(--green)}.quiz-option.incorrect{border-color:var(--red);background:#fef2f2;color:var(--red)}.quiz-option:disabled{cursor:not-allowed}.quiz-result{padding:1.25rem;border-radius:8px;margin-top:1rem;text-align:center}.quiz-result.pass{background:#f0fdf4;border:2px solid var(--green);color:var(--green)}.quiz-result.fail{background:#fef2f2;border:2px solid var(--red);color:var(--red)}.quiz-result h3{font-size:1.1rem;font-weight:700;margin-bottom:.25rem}.quiz-result p{font-size:.875rem}.exam-wrapper{max-width:700px;margin:0 auto}.exam-header{text-align:center;margin-bottom:2rem}.exam-header h1{font-size:1.75rem;font-weight:700;color:var(--navy)}.exam-header p{color:var(--gray-600);margin-top:.5rem}.exam-progress{display:flex;justify-content:center;gap:.375rem;margin:1rem 0;flex-wrap:wrap}.exam-dot{width:10px;height:10px;border-radius:50%;background:var(--gray-200)}.exam-dot.answered{background:var(--navy)}.exam-dot.current{background:var(--gold)}.exam-score{text-align:center;padding:2rem}.exam-score .score-circle{width:120px;height:120px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto 1rem;font-weight:700}.exam-score .score-circle.pass{background:#f0fdf4;border:4px solid var(--green);color:var(--green)}.exam-score .score-circle.fail{background:#fef2f2;border:4px solid var(--red);color:var(--red)}.exam-score .score-number{font-size:2rem;line-height:1}.exam-score .score-label{font-size:.75rem}.cert-wrapper{text-align:center;padding:2rem 0}.cert-wrapper h1{font-size:1.5rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}.cert-wrapper p{color:var(--gray-600);margin-bottom:2rem}@media (max-width: 768px){.course-layout{grid-template-columns:1fr}.course-sidebar{position:static}.main-content{padding:1rem}}
