*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f5f5f5;color:#333;line-height:1.6}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background:#2c3e50;color:#fff;padding:1rem 0;box-shadow:0 2px 5px #0000001a}.header .container{display:flex;justify-content:space-between;align-items:center}.logo a{color:#fff;text-decoration:none;font-size:1.5rem;font-weight:700}.nav{display:flex;gap:1.5rem;align-items:center}.nav a,.nav button{color:#fff;text-decoration:none;background:none;border:none;cursor:pointer;padding:.5rem 1rem;transition:background .3s}.nav a:hover,.nav button:hover{background:#ffffff1a;border-radius:4px}main{padding:2rem 0;min-height:calc(100vh - 60px)}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:background .3s;text-decoration:none;display:inline-block}.btn-primary{background:#3498db;color:#fff}.btn-primary:hover{background:#2980b9}.btn-secondary{background:#95a5a6;color:#fff}.btn-secondary:hover{background:#7f8c8d}.btn-outline{color:#fff;border:1px solid rgba(255,255,255,.8);background:transparent}.btn-outline:hover{background:#ffffff1f}.home-header{background:linear-gradient(135deg,#3b82f6,#6d28d9);color:#fff}.home-nav{display:flex;align-items:center;justify-content:space-between;height:80px}.home-links{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.home-hero{background:linear-gradient(180deg,#eef2ff,#fff);padding:5rem 0 3rem}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:center}.hero-copy .eyebrow{display:inline-block;margin-bottom:1rem;color:#6366f1;font-weight:700;text-transform:uppercase;letter-spacing:.12em}.hero-copy h1{font-size:clamp(2.5rem,4vw,4rem);line-height:1.05;margin-bottom:1.5rem;color:#111827}.hero-copy .hero-text{max-width:560px;margin-bottom:2rem;color:#4b5563;font-size:1.05rem}.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}.hero-button{min-width:160px}.hero-summary{display:flex;gap:1.5rem;flex-wrap:wrap}.summary-item{background:#fff;border-radius:16px;padding:1rem 1.25rem;box-shadow:0 10px 30px #0f172a0d}.summary-value{display:block;font-size:1.5rem;font-weight:700;color:#111827}.summary-label{color:#6b7280}.hero-card{display:flex;justify-content:flex-end}.progress-card{width:100%;max-width:420px;background:#fff;border-radius:24px;padding:2rem;box-shadow:0 30px 80px #0f172a1f}.progress-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.75rem}.progress-label{color:#6b7280;font-weight:600;margin-bottom:.35rem}.progress-card h2{margin:0;font-size:1.5rem;color:#111827}.progress-badge{background:#eef2ff;color:#4338ca;padding:.75rem 1rem;border-radius:999px;font-weight:700}.progress-row{display:flex;justify-content:space-between;color:#6b7280;margin-bottom:.75rem}.progress-bar{background:#e5e7eb;border-radius:999px;height:14px;overflow:hidden;margin-bottom:1.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#2563eb);border-radius:999px}.progress-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.detail-label{display:block;color:#6b7280;margin-bottom:.25rem}.home-stats{padding:3rem 0 1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.stat-card-light{background:#fff;padding:2rem;border-radius:20px;box-shadow:0 12px 40px #0f172a14;text-align:center}.stat-card-light h3{margin-bottom:.5rem;font-size:2rem;color:#111827}.stat-card-light p{color:#6b7280}.home-features,.home-journey,.home-cta-banner{padding:3rem 0}.section-heading h2{font-size:2rem;margin-bottom:.5rem;color:#111827}.section-heading p{color:#6b7280}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-top:2rem}.feature-card{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 50px #0f172a14}.feature-card h3{margin-bottom:.75rem;color:#111827}.feature-card p{color:#6b7280;line-height:1.75}.journey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem;margin-top:2rem}.journey-step{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 50px #0f172a14;text-align:center}.step-number{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#6366f1;color:#fff;font-weight:700;margin-bottom:1rem}.journey-step h4{margin-bottom:.75rem;color:#111827}.journey-step p{color:#6b7280}.home-cta-banner{background:linear-gradient(135deg,#4338ca,#2563eb)}.cta-card{background:#ffffff1f;border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:2rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;color:#fff}.cta-card h2{margin:0;font-size:clamp(1.75rem,2vw,2.5rem)}.cta-card p{margin:.5rem 0 0;color:#e0e7ff}.home-footer{background:#0f172a;color:#cbd5e1;padding:3rem 0}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:2rem}.home-footer h3,.home-footer h4{color:#fff;margin-bottom:1rem}.home-footer p{margin-bottom:.75rem;color:#cbd5e1}@media (max-width: 1024px){.hero-grid{grid-template-columns:1fr}.hero-card{justify-content:stretch}}@media (max-width: 768px){.home-nav{flex-direction:column;align-items:flex-start;gap:1rem}.hero-copy h1{font-size:2.5rem}.hero-summary{flex-direction:column}.cta-card{flex-direction:column;align-items:flex-start}}.login-form,.register-form,.profile-form{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;max-width:400px;margin:2rem auto}.login-form h2,.register-form h2{margin-bottom:1.5rem;color:#2c3e50}.login-form input,.register-form input,.register-form select,.profile-form input{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.login-form button,.register-form button,.profile-form button{width:100%;padding:.75rem;background:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:background .3s}.login-form button:hover,.register-form button:hover,.profile-form button:hover{background:#2980b9}.error{background:#e74c3c;color:#fff;padding:1rem;border-radius:4px;margin-bottom:1rem}.message{background:#27ae60;color:#fff;padding:1rem;border-radius:4px;margin-bottom:1rem}.forgot-password-link{text-align:center;margin-top:1rem}.forgot-password-link a{color:#3498db;text-decoration:none}.forgot-password-link a:hover{text-decoration:underline}.dashboard{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 10px #0000001a}.dashboard h1{margin-bottom:1rem;color:#2c3e50}.instructor-dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.instructor-course-card{display:grid;gap:.75rem}.resource-summary{display:flex;flex-wrap:wrap;gap:.5rem}.resource-summary span{background:#ecf5ff;color:#1f4f82;border-radius:999px;padding:.35rem .75rem;font-size:.9rem}.courses-section{margin-top:2rem}.courses-list,.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-top:1.5rem}.course-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 5px #0000001a;transition:transform .3s}.course-card:hover{transform:translateY(-5px)}.course-card h3{margin-bottom:.5rem;color:#2c3e50}.course-card .instructor{font-size:.9rem;color:#7f8c8d;margin-bottom:1rem}.course-card .description{font-size:.95rem;margin-bottom:1rem;color:#555}.course-card .price{font-size:1.5rem;font-weight:700;color:#27ae60;margin-bottom:1rem}.course-card button,.course-card a{display:block;text-align:center;margin-top:1rem}progress{width:100%;margin:1rem 0}.statistics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:8px;text-align:center}.stat-card h3{margin-bottom:.5rem}.stat-card p{font-size:2rem;font-weight:700}@media (max-width: 768px){.header .container{flex-direction:column;gap:1rem}.nav{flex-wrap:wrap}.courses-list,.courses-grid{grid-template-columns:1fr}}.admin-actions{margin-top:2rem}.admin-actions h2{margin-bottom:1rem;color:#2c3e50}.users-table{margin-top:2rem}.users-table table{width:100%;border-collapse:collapse;margin-top:1rem}.users-table th,.users-table td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.users-table th{background:#f8f9fa;font-weight:700}.users-table button{margin-right:.5rem;padding:.25rem .5rem;border:none;border-radius:4px;cursor:pointer}.users-table button:first-child{background:#3498db;color:#fff}.users-table button:last-child{background:#e74c3c;color:#fff}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:8px;width:90%;max-width:500px;box-shadow:0 4px 20px #0000004d}.modal-content h3{margin-bottom:1.5rem;color:#2c3e50}.modal-content form input,.modal-content form select,.modal-content form textarea{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}.modal-content form textarea{min-height:110px;resize:vertical}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.modal-actions button{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.modal-actions button[type=submit]{background:#27ae60;color:#fff}.modal-actions button[type=button]{background:#95a5a6;color:#fff}.course-modal-content{max-width:840px;max-height:90vh;overflow-y:auto}.course-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.resource-builder,.module-builder,.assessment-builder{margin-top:1rem}.module-card,.lesson-card,.assessment-card{border:1px solid #dbe3eb;border-radius:8px;padding:1rem;background:#f8fbfe;margin-bottom:1rem}.lesson-card{background:#fff;margin-top:1rem}.assessment-card{background:#f7fafc}.module-actions{margin-bottom:1rem}.resource-builder-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.resource-empty-state{margin-bottom:1rem;color:#5f6c7b}.resource-item-card{border:1px solid #dbe3eb;border-radius:8px;padding:1rem;margin-bottom:1rem;background:#f8fbfe}.resource-item-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.resource-remove-btn{background:transparent;color:#c0392b;border:none;cursor:pointer;font-weight:600}.course-detail-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem}.course-overview{margin:1rem 0;color:#555}.course-resource-sections{display:grid;gap:1.5rem}.resource-group{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #00000014}.resource-group-list{display:grid;gap:1rem;margin-top:1rem}.resource-display-card{border:1px solid #e1e8ef;border-radius:8px;padding:1rem}.resource-display-card h4{margin-bottom:.5rem;color:#2c3e50}.resource-display-card h5{margin-top:1rem;margin-bottom:.75rem;color:#34495e}.resource-links{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.assessment-list{margin-top:1rem}.assessment-display-card{border-top:1px solid #e5ebf1;padding-top:1rem;margin-top:1rem}.edit-btn{background:#3498db;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background .3s}.edit-btn:hover{background:#2980b9}.about-content{display:grid;gap:2rem}.profile-section{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;display:grid;grid-template-columns:200px 1fr;gap:2rem;align-items:start}.profile-picture-container{text-align:center}.profile-picture{width:150px;height:150px;border-radius:50%;object-fit:cover;border:4px solid #3498db;box-shadow:0 4px 8px #0003}.profile-picture-placeholder{width:150px;height:150px;border-radius:50%;background:#ecf0f1;display:flex;align-items:center;justify-content:center;border:2px dashed #bdc3c7;color:#7f8c8d;font-weight:700}.file-upload{margin-top:1rem}.upload-btn{background:#27ae60;color:#fff;padding:.5rem 1rem;border-radius:4px;cursor:pointer;display:inline-block;font-size:.9rem;transition:background .3s}.upload-btn:hover{background:#229954}.profile-info h2{color:#2c3e50;margin-bottom:.5rem}.profile-info .email{color:#7f8c8d;margin-bottom:1rem;font-style:italic}.profile-info .bio{margin-bottom:1.5rem;line-height:1.6}.skills-section,.experience-section{margin-bottom:1.5rem}.skills-section h3,.experience-section h3{color:#34495e;margin-bottom:.5rem;font-size:1.1rem}.skills-list{display:flex;flex-wrap:wrap;gap:.5rem}.skill-tag{background:#3498db;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:500}.edit-form{max-width:500px}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:700;color:#2c3e50}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}.form-group textarea{resize:vertical;min-height:100px}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.form-actions button{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:background .3s}.form-actions button:first-child{background:#27ae60;color:#fff}.form-actions button:first-child:hover{background:#229954}.form-actions .cancel-btn{background:#95a5a6;color:#fff}.form-actions .cancel-btn:hover{background:#7f8c8d}.additional-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.info-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #0000001a}.info-card h3{color:#2c3e50;margin-bottom:1rem;font-size:1.2rem}.info-card p{line-height:1.6;margin-bottom:1rem}.info-card ul{padding-left:1.5rem}.info-card li{margin-bottom:.5rem;line-height:1.6}@media (max-width: 768px){.profile-section{grid-template-columns:1fr;text-align:center}.about-header{flex-direction:column;gap:1rem;text-align:center}.additional-info{grid-template-columns:1fr}.form-actions{flex-direction:column}.course-form-grid{grid-template-columns:1fr}.resource-builder-header,.resource-item-top,.instructor-dashboard-header{flex-direction:column;align-items:stretch}}
