html{scroll-behavior:smooth}.landing-container{min-height:100vh;background:#ffffff}.landing-nav{position:fixed;top:0;left:0;right:0;background:rgba(255,255,255,.98);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 4px 30px #00000014;z-index:1000;padding:18px 0;transition:all .3s cubic-bezier(.4,0,.2,1);border-bottom:1px solid rgba(102,126,234,.1)}.nav-container{width:100%;max-width:1400px;margin:0 auto;padding:0 40px;display:flex;justify-content:space-between;align-items:center}.nav-logo{display:flex;align-items:center;gap:12px;font-size:1.5rem;font-weight:900;text-decoration:none;flex-shrink:0;min-width:220px;transition:transform .3s ease}.nav-logo:hover{transform:scale(1.05)}.nav-logo-icon{font-size:2rem;filter:drop-shadow(0 2px 4px rgba(102,126,234,.3));animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.nav-logo-text{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.5px}.nav-links{display:flex;align-items:center;gap:32px;justify-content:center;flex-grow:1}.nav-link{font-size:.95rem;font-weight:600;color:#4b5563;text-decoration:none;padding:8px 0;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:nowrap}.nav-link:before{content:"";position:absolute;bottom:0;left:50%;width:0;height:3px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:2px;transition:all .3s cubic-bezier(.4,0,.2,1);transform:translate(-50%)}.nav-link:hover{color:#667eea;transform:translateY(-2px)}.nav-link:hover:before{width:100%}.nav-buttons{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-shrink:0;min-width:320px}.nav-btn{padding:10px 20px;border-radius:12px;font-size:.9rem;font-weight:700;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:nowrap;border:2px solid transparent;position:relative;overflow:hidden}.nav-btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:rgba(255,255,255,.3);transform:translate(-50%,-50%);transition:width .6s,height .6s}.nav-btn:hover:before{width:300px;height:300px}.nav-btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 6px 20px #667eea66;position:relative}.nav-btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 30px #667eea80}.nav-btn-primary:active{transform:translateY(-1px)}.nav-btn-secondary{background:rgba(102,126,234,.1);color:#667eea;border-color:#667eea}.nav-btn-secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.nav-btn-outline{background:white;color:#667eea;border-color:#667eea}.nav-btn-outline:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.landing-hero{padding:180px 20px 120px;text-align:center;color:#fff;background:linear-gradient(135deg,#7c3aed 0%,#8b5cf6 50%,#a78bfa 100%);position:relative;overflow:hidden;min-height:90vh;display:flex;align-items:center}.hero-background-blobs{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:0}.blob{position:absolute;filter:blur(100px);opacity:.2;border-radius:50%;animation:blob-float 25s infinite alternate ease-in-out}.blob-1{width:600px;height:600px;background:#6366f1;top:-200px;left:-200px}.blob-2{width:700px;height:700px;background:#a855f7;bottom:-300px;right:-300px;animation-delay:-8s}.blob-3{width:500px;height:500px;background:#3b82f6;top:50%;right:-100px;animation-delay:-15s}@keyframes blob-float{0%,to{transform:translate(0) scale(1)}50%{transform:translate(50px,-50px) scale(1.1)}}.hero-badge{display:inline-block;padding:10px 24px;background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1.5px solid rgba(255,255,255,.2);border-radius:100px;font-size:.75rem;font-weight:700;color:#fffffff2;margin-bottom:32px;text-transform:uppercase;letter-spacing:2px}.hero-content{max-width:1400px;width:100%;margin:0 auto;position:relative;z-index:2}.hero-title{font-size:clamp(2.5rem,5.5vw,4.5rem);font-weight:900;margin-bottom:28px;line-height:1.15;letter-spacing:-2px;text-shadow:0 4px 20px rgba(0,0,0,.2);color:#fff}.gradient-text{background:linear-gradient(135deg,#fde047 0%,#facc15 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:inline-block;font-weight:900}.hero-subtitle{font-size:clamp(1.1rem,2vw,1.3rem);margin-bottom:50px;color:#ffffffe6;max-width:900px;margin-left:auto;margin-right:auto;line-height:1.7;font-weight:400}.hero-cta{display:flex;flex-direction:column;gap:16px;align-items:center;margin-bottom:80px;max-width:1400px;margin-left:auto;margin-right:auto;padding:0 20px}.btn-large{padding:20px 48px!important;font-size:1.1rem!important;font-weight:700!important;border-radius:16px!important;text-decoration:none!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:1400px!important;position:relative!important;overflow:hidden!important;background:white!important;color:#667eea!important;box-shadow:0 10px 30px #00000026!important;border:none!important}.btn-large:hover{transform:translateY(-3px)!important;box-shadow:0 15px 40px #0003!important;background:rgba(255,255,255,.95)!important;color:#667eea!important}.hero-stats{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;margin-top:20px;max-width:1200px;margin-left:auto;margin-right:auto}.stat-item{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:40px 32px;width:260px;background:rgba(255,255,255,.98);border-radius:28px;border:1px solid rgba(255,255,255,.3);box-shadow:0 10px 40px #00000026;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.stat-item:hover{transform:translateY(-12px);box-shadow:0 20px 60px #00000040}.stat-icon{width:80px;height:80px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);color:#fff;border-radius:22px;margin-bottom:8px;box-shadow:0 10px 30px #8b5cf666;transition:transform .3s}.stat-item:hover .stat-icon{transform:scale(1.1)}.stat-number{font-size:2rem;font-weight:900;color:#1f2937;margin:0;letter-spacing:-1px}.stat-label{font-size:.9rem;color:#6b7280;text-transform:uppercase;letter-spacing:1.5px;font-weight:700}.about-section{padding:100px 20px;background:#f8f9fa}.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-top:50px}.about-card{background:white;padding:40px 30px;border-radius:20px;text-align:center;transition:all .3s ease;box-shadow:0 4px 15px #00000014;border:1px solid #e9ecef}.about-card:hover{transform:translateY(-10px);box-shadow:0 12px 40px #667eea26}.about-icon{font-size:3.5rem;margin-bottom:20px;display:block}.about-card h3{font-size:1.5rem;margin-bottom:15px;color:#333;font-weight:600}.about-card p{font-size:1rem;color:#666;line-height:1.6}.section-container{max-width:1200px;margin:0 auto;padding:0 20px}.section-title{font-size:2.8rem;font-weight:700;text-align:center;margin-bottom:15px;color:#333}.section-subtitle{font-size:1.2rem;text-align:center;color:#666;margin-bottom:50px;max-width:700px;margin-left:auto;margin-right:auto}.features-section{padding:100px 20px;background:#f8f9fa}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-top:50px}.feature-card{background:white;padding:40px 30px;border-radius:20px;text-align:center;transition:all .3s ease;box-shadow:0 4px 15px #00000014;border:1px solid #e9ecef}.feature-card:hover{transform:translateY(-10px);box-shadow:0 12px 40px #667eea26}.feature-icon{font-size:3.5rem;margin-bottom:20px;display:block}.feature-card h3{font-size:1.5rem;margin-bottom:15px;color:#333;font-weight:600}.feature-card p{font-size:1rem;color:#666;line-height:1.6}.how-it-works-section{padding:100px 20px;background:white}.steps-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px;margin-top:50px;position:relative}.step-item{text-align:center;position:relative}.step-number{width:70px;height:70px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin:0 auto 20px;box-shadow:0 4px 15px #667eea4d}.step-item h3{font-size:1.4rem;margin-bottom:15px;color:#333;font-weight:600}.step-item p{font-size:1rem;color:#666;line-height:1.6}.info-section{padding:100px 20px}.student-section{background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%)}.admin-section{background:linear-gradient(135deg,#e0c3fc 0%,#8ec5fc 100%)}.feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:25px;margin-top:50px}.feature-item{background:white;padding:25px;border-radius:15px;display:flex;align-items:flex-start;gap:20px;box-shadow:0 4px 15px #00000014;transition:transform .3s ease}.feature-item:hover{transform:translate(5px)}.feature-emoji{font-size:2.5rem;flex-shrink:0}.feature-item h4{font-size:1.2rem;margin-bottom:8px;color:#333;font-weight:600}.feature-item p{font-size:.95rem;color:#666;line-height:1.5;margin:0}.section-cta{text-align:center;margin-top:50px}.benefits-section{padding:100px 20px;background:#f8f9fa}.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-top:50px}.benefit-card{background:white;padding:35px;border-radius:20px;text-align:center;transition:all .3s ease;box-shadow:0 4px 15px #00000014;border-top:4px solid #667eea}.benefit-card:hover{transform:translateY(-8px);box-shadow:0 12px 40px #667eea33}.benefit-icon{font-size:3rem;margin-bottom:20px;display:block}.benefit-card h3{font-size:1.4rem;margin-bottom:15px;color:#333;font-weight:600}.benefit-card p{font-size:1rem;color:#666;line-height:1.6}.cta-section{padding:100px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;text-align:center}.cta-title{font-size:2.8rem;font-weight:700;margin-bottom:20px;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.cta-subtitle{font-size:1.3rem;margin-bottom:40px;opacity:.95}.cta-buttons{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}.landing-footer{background:#1a1a1a;color:#fff;padding:60px 20px 30px}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px;margin-bottom:40px}.footer-section h3{font-size:1.5rem;margin-bottom:15px;color:#fff}.footer-section h4{font-size:1.2rem;margin-bottom:15px;color:#fff}.footer-section p{color:#ccc;line-height:1.6}.footer-section ul{list-style:none;padding:0}.footer-section ul li{margin-bottom:10px}.footer-section ul li a{color:#ccc;text-decoration:none;transition:color .3s ease}.footer-section ul li a:hover{color:#667eea}.contact-info{display:flex;flex-direction:column;gap:15px}.contact-item{display:flex;align-items:flex-start;gap:12px;color:#ccc;line-height:1.6;margin:0}.contact-icon{font-size:1.2rem;flex-shrink:0;margin-top:2px}.contact-item a{color:#ccc;text-decoration:none;transition:color .3s ease}.contact-item a:hover{color:#667eea}.footer-bottom{text-align:center;padding-top:30px;border-top:1px solid #333;color:#999}@media (max-width: 768px){.nav-container{gap:12px}.nav-links{display:none}.landing-nav{padding:12px 0}.nav-container{flex-direction:column;gap:15px}.nav-logo{font-size:1.1rem}.nav-logo-icon{font-size:1.5rem}.nav-buttons{width:100%;justify-content:center;gap:8px}.nav-btn{padding:8px 16px;font-size:.85rem;flex:1;min-width:100px;text-align:center}.landing-hero{padding:180px 20px 80px}.hero-title{font-size:2.2rem}.hero-subtitle{font-size:1.1rem}.hero-stats{gap:30px}.stat-number,.section-title{font-size:2rem}.section-subtitle{font-size:1rem}.features-grid,.benefits-grid,.steps-container,.feature-list{grid-template-columns:1fr}.cta-title{font-size:2rem}.cta-subtitle{font-size:1.1rem}.footer-content{grid-template-columns:1fr}}@media (max-width: 480px){.nav-buttons{flex-direction:column;width:100%}.nav-btn{width:100%}}.auth-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px}.auth-card{background:white;border-radius:12px;padding:40px;box-shadow:0 10px 40px #0000001a;width:100%;max-width:450px}.auth-card h2{color:#333;margin-bottom:10px;text-align:center;font-size:28px}.info-text{text-align:center;color:#666;margin-bottom:20px;font-size:14px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}.password-input-wrapper{position:relative;width:100%}.password-input-wrapper input{padding-right:45px}.password-toggle-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#666;font-size:18px;padding:5px;display:flex;align-items:center;justify-content:center;transition:color .2s}.password-toggle-btn:hover{color:#667eea}.password-toggle-btn:focus{outline:none}.form-hint{display:block;margin-top:5px;color:#888;font-size:12px}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:10px}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.error-message{background:#fee;color:#c33;padding:12px;border-radius:6px;margin-bottom:15px;font-size:14px;border-left:4px solid #c33}.auth-link{text-align:center;margin-top:20px;color:#666;font-size:14px}.auth-link a{color:#667eea;text-decoration:none;font-weight:500}.auth-link a:hover{text-decoration:underline}.student-dashboard{min-height:100vh;display:flex;background:white}.sidebar-header{padding:24px 14px 16px 0;border-bottom:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.logo img{height:52px;width:auto;display:block;margin-left:0}.sidebar-student-name{font-size:1rem;font-weight:600;color:#111827;margin-left:28px;margin-bottom:8px}.main-header{background:white;padding:25px 40px;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 5px #0000000d;width:100%}.dashboard-content{padding:18px 24px;width:100%;box-sizing:border-box}.scoreboard-section{display:flex;flex-direction:column;gap:18px;width:100%;box-sizing:border-box}.recommended-section{display:flex;gap:14px;width:100%;box-sizing:border-box}.recommended-section>.recommended-card,.recommended-section>.side-card{flex:1}.recommended-card{background:white;padding:10px 14px;border-radius:12px;box-shadow:0 2px 10px #0000000d;border:1px solid #e0e0e0;overflow-y:visible}.recommended-card h2{margin:0 0 10px;font-size:1.1rem;color:#333}.recommended-content h3{margin:0 0 8px;font-size:1.2rem;color:#333}.recommended-body-scroll{max-height:70px;overflow-y:auto;padding-right:4px;margin-bottom:8px}.recommended-content p{margin:0 0 10px;color:#555;font-size:.9rem}.recommended-info{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:15px;font-size:.9rem;color:#666}.recommended-info span{display:inline-flex;align-items:center;gap:4px}.side-card{background:white;padding:10px 14px;border-radius:12px;box-shadow:0 2px 10px #0000000d;border:1px solid #e0e0e0}.side-card h3{margin:0 0 10px;font-size:1.1rem;color:#333}.mini-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.mini-title{font-weight:600;color:#333;font-size:.95rem}.mini-meta{display:flex;gap:8px;font-size:.85rem;color:#777}.no-tests{color:#777;font-size:.9rem}.recent-completed-item{display:flex;align-items:center;justify-content:space-between;gap:8px}.recent-completed-info{display:flex;flex-direction:column;gap:4px}.btn-mini-retake{padding:3px 8px;margin-left:0;border-radius:999px;border:none;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.btn-mini-retake:hover{opacity:.95}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px dashed #e5e7eb;border-radius:12px;padding:14px 12px;background:#f9fafb;min-height:90px;box-sizing:border-box}.empty-icon{width:42px;height:42px;border-radius:999px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;font-size:1.5rem;background:rgba(102,126,234,.08);color:#667eea}.empty-icon.recommend{background:rgba(244,114,182,.12);color:#db2777}.empty-icon.upcoming{background:rgba(56,189,248,.12);color:#0ea5e9}.empty-icon.completed{background:rgba(16,185,129,.12);color:#059669}.empty-title{font-size:.95rem;font-weight:600;color:#111827;margin-bottom:4px}.empty-text{font-size:.85rem;color:#6b7280;margin-bottom:10px}.empty-cta{padding:6px 14px;border-radius:999px;border:none;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;font-size:.8rem;font-weight:500;cursor:pointer;box-shadow:0 3px 10px #667eea4d;transition:all .2s ease}.empty-cta:hover{transform:translateY(-1px);box-shadow:0 5px 16px #667eea66}.my-score-card{background:white;padding:18px 20px;border-radius:12px;box-shadow:0 2px 10px #0000000d;border:1px solid #e0e0e0;width:100%;box-sizing:border-box}.my-score-card h2{margin-top:0;margin-bottom:14px;color:#333;font-size:1.25rem;font-weight:600}.score-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:12px}.stat-item{text-align:center;padding:12px 10px;background:#f8f9fa;border-radius:12px;border:1px solid #e0e0e0;transition:transform .3s,background .3s,box-shadow .3s}.stat-item:hover{transform:translateY(-5px);background:white;box-shadow:0 4px 12px #667eea26}.stat-value{font-size:1.4rem;font-weight:700;color:#667eea;margin-bottom:4px}.stat-label{color:#666;font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.last-ai-report-card{margin-top:16px;background:#ffffff;border-radius:12px;border:1px solid #e0e0e0;box-shadow:0 2px 10px #0000000d;padding:14px 16px}.last-ai-report-card h2{margin:0 0 10px;font-size:1.1rem;color:#333;font-weight:600}.last-ai-meta{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.last-ai-title{font-size:.95rem;font-weight:600;color:#111827}.last-ai-sub{display:flex;gap:10px;font-size:.85rem;color:#6b7280}.last-ai-percentage{font-weight:600;color:#16a34a}.last-ai-text{font-size:.9rem;color:#374151;background:#f9fafb;border-radius:8px;padding:8px 10px;max-height:140px;overflow-y:auto;margin-bottom:8px}.btn-view-report{padding:6px 12px;border-radius:999px;border:none;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;font-size:.8rem;font-weight:500;cursor:pointer}.btn-view-report:hover{opacity:.95}.test-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:1000}.test-confirm-modal{background:#ffffff;border-radius:12px;padding:20px 22px;max-width:420px;width:90%;box-shadow:0 10px 30px #00000040}.test-confirm-modal h3{margin:0 0 10px;font-size:1.1rem;color:#111827}.test-confirm-modal p{margin:0 0 16px;font-size:.9rem;color:#4b5563}.test-confirm-actions{display:flex;justify-content:flex-end;gap:10px}.btn-confirm{padding:6px 14px;border-radius:999px;border:none;font-size:.85rem;font-weight:500;cursor:pointer}.btn-confirm.primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.btn-confirm.secondary{background:#e5e7eb;color:#374151}.scoreboard-table{background:white;padding:35px;border-radius:16px;box-shadow:0 4px 20px #00000014;width:100%;box-sizing:border-box}.scoreboard-table h2{margin-top:0;color:#333;margin-bottom:25px;font-size:1.5rem;font-weight:600}.scoreboard-table tr.highlight{background:linear-gradient(90deg,#e3f2fd 0%,#f0f4ff 100%);font-weight:600;border-left:4px solid #667eea}.scoreboard-table tr.highlight td{color:#667eea}.tests-section h2{margin-top:0;color:#333;margin-bottom:25px;font-size:1.5rem;font-weight:600}.tests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:25px}.test-card{border:2px solid #f0f0f0;border-radius:12px;padding:25px;transition:all .3s;background:white;position:relative;overflow:hidden}.test-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);transform:scaleY(0);transition:transform .3s}.test-card:hover{box-shadow:0 8px 24px #667eea26;border-color:#667eea;transform:translateY(-5px)}.test-card:hover:before{transform:scaleY(1)}.test-card h3{margin-top:0;margin-bottom:12px;color:#333;font-size:1.2rem;font-weight:600}.test-card p{color:#666;margin:12px 0;line-height:1.6;font-size:.95rem}.test-info{display:flex;justify-content:space-between;margin:20px 0;padding:12px;background:#f8f9fa;border-radius:8px;font-size:.9rem;color:#666}.test-info span{display:flex;align-items:center;gap:6px}.btn-take-test{width:100%;padding:14px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.btn-take-test:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.test-status{display:inline-block;padding:5px 10px;background:#f0f0f0;border-radius:4px;font-size:.9rem;color:#666}.status-cell-with-attempts{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.status-attempts-text{font-size:.8rem;color:#6b7280}.no-tests,.no-data{text-align:center;color:#999;padding:60px 40px;font-size:1.1rem;background:#f8f9fa;border-radius:12px;border:2px dashed #e0e0e0}.history-section{background:white;padding:35px;border-radius:16px;box-shadow:0 4px 20px #00000014;width:100%;box-sizing:border-box}.history-section h2{margin-top:0;color:#333;margin-bottom:25px;font-size:1.5rem;font-weight:600}.history-table{overflow-x:auto;border-radius:12px;box-shadow:0 2px 8px #0000000d}.history-table table{width:100%;border-collapse:collapse;min-width:800px}.history-table th{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:16px;text-align:left;font-weight:600;color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.history-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#555;font-size:.95rem}.history-table tbody tr{transition:all .2s}.history-row{transition:background-color .2s}.history-row:hover{background:#f8f9fa;transform:scale(1.01);box-shadow:0 2px 8px #0000000d}.history-row td{vertical-align:middle}.btn-view-analysis{padding:8px 16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .3s;box-shadow:0 2px 8px #667eea4d}.btn-view-analysis:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66;background:linear-gradient(135deg,#764ba2 0%,#667eea 100%)}.activity-rank-badge-enhanced{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:50%;font-weight:700;font-size:1.1rem;flex-shrink:0}.activity-details-enhanced{flex:1}.activity-title-enhanced{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-weight:700;color:#333;font-size:1.05rem}.activity-type-badge-enhanced{padding:4px 10px;border-radius:999px;background:#e0e7ff;color:#4338ca;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.activity-meta-enhanced{display:flex;justify-content:space-between;font-size:.9rem;color:#666}.activity-date-enhanced{font-size:.8rem;color:#999}.btn-back-hover{padding:8px 12px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d;display:flex;align-items:center;gap:8px;overflow:hidden;white-space:nowrap;min-width:40px}.btn-back-hover .btn-arrow{display:inline-block;font-size:1.2rem;transition:all .3s ease}.btn-back-hover .btn-text{display:none;transition:all .3s ease}.btn-back-hover:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66;padding-right:20px}.btn-back-hover:hover .btn-text{display:inline-block}.admin-dashboard{min-height:100vh;display:flex;background:white}.dashboard-sidebar{width:280px;background:white;border-right:1px solid #e0e0e0;display:flex;flex-direction:column;height:100vh;position:fixed;left:0;top:0;box-shadow:2px 0 10px #0000000d}.sidebar-header{padding:24px 14px 16px 0;border-bottom:none;display:flex;align-items:center;justify-content:flex-start}.logo{display:flex;align-items:center;justify-content:flex-start;padding:0}.logo img{height:52px;width:auto;display:block}.sidebar-header h2{margin:0;font-size:1.3rem;color:#333;font-weight:600}.sidebar-nav{flex:1;padding:20px 0;overflow-y:auto}.student-dashboard-sidebar{padding:0 20px}.student-dashboard-title{font-size:1.1rem;font-weight:600;color:#333;margin:0 0 20px;padding-bottom:10px;border-bottom:2px solid #667eea}.student-stats-cards{display:flex;flex-direction:column;gap:12px;margin-bottom:25px}.student-stat-card{background:linear-gradient(135deg,#f8f9ff 0%,#ffffff 100%);border:1px solid #e0e0f0;border-radius:12px;padding:15px;display:flex;align-items:center;gap:12px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.student-stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea26;border-color:#667eea}.student-stat-card .stat-icon{font-size:1.8rem;width:45px;height:45px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:10px;flex-shrink:0}.student-stat-card .stat-content{flex:1}.student-stat-card .stat-value{font-size:1.4rem;font-weight:700;color:#333;line-height:1.2;margin-bottom:4px}.student-stat-card .stat-label{font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.student-performance-summary{background:white;border:1px solid #e0e0e0;border-radius:12px;padding:15px;margin-top:10px}.student-performance-summary h4{margin:0 0 15px;font-size:.95rem;color:#333;font-weight:600}.performance-bar{display:flex;flex-direction:column;gap:8px}.performance-label{display:flex;justify-content:space-between;font-size:.9rem;color:#555;font-weight:500}.performance-progress{width:100%;height:10px;background:#e0e0e0;border-radius:5px;overflow:hidden}.performance-fill{height:100%;background:linear-gradient(90deg,#667eea 0%,#764ba2 100%);border-radius:5px;transition:width .3s ease}.nav-item{width:100%;padding:15px 20px;background:none;border:none;display:flex;align-items:center;gap:12px;cursor:pointer;font-size:1rem;color:#666;transition:all .3s;text-align:left;border-left:3px solid transparent}.nav-item:hover{background:#f8f9fa;color:#667eea}.nav-item.active{background:#e3ecff;color:#667eea;border-left-color:#667eea;border-left-width:4px;font-weight:600}.nav-icon{font-size:1.3rem;width:24px;text-align:center}.sidebar-footer{padding:20px;border-top:1px solid #e0e0e0}.user-info{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding:12px;background:#f8f9fa;border-radius:8px}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.1rem}.user-details{flex:1}.user-name{font-weight:600;color:#333;font-size:.95rem}.user-role{font-size:.85rem;color:#888}.btn-logout-sidebar{width:100%;padding:12px;background:white;border:2px solid #dc3545;color:#dc3545;border-radius:8px;cursor:pointer;font-weight:500;display:flex;align-items:center;justify-content:space-between;transition:all .3s}.btn-logout-sidebar:hover{background:#dc3545;color:#fff}.dashboard-main{flex:1;margin-left:280px;min-height:100vh;width:calc(100vw - 280px);background:white}.main-header{background:white;padding:25px 40px;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 5px #0000000d;width:100%;display:flex;justify-content:space-between;align-items:center}.main-header h1{margin:0;font-size:2rem;color:#333;font-weight:700}.btn-back-to-students{padding:10px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.btn-back-to-students:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-back-to-students-top{position:absolute;top:20px;right:20px;padding:8px 12px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d;display:flex;align-items:center;gap:8px;z-index:10;overflow:hidden;white-space:nowrap;min-width:40px}.btn-back-to-students-top .btn-arrow{display:inline-block;font-size:1.2rem;transition:all .3s ease}.btn-back-to-students-top .btn-text{display:none;transition:all .3s ease}.btn-back-to-students-top:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66;padding-right:20px}.btn-back-to-students-top:hover .btn-text{display:inline-block}.dashboard-content{padding:30px 40px;width:100%;box-sizing:border-box}.students-section{background:white;padding:0 25px 35px;border-radius:16px;box-shadow:0 4px 20px #00000014;width:100%;box-sizing:border-box}.students-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:0;flex-wrap:wrap}.students-section .students-header-row{margin-bottom:20px}.students-header-row h2{margin-left:-10px;margin-right:auto;margin-bottom:0}.students-actions-wrapper{width:100%;margin-bottom:10px;margin-top:-35px;display:flex;flex-direction:column;align-items:flex-end}.students-section .students-actions-wrapper{margin-top:0}.students-section h2{margin:0 0 0 -10px;color:#333;font-size:1.5rem;font-weight:600}.students-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-end;margin-top:-5px}.students-filters{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-bottom:10px}.students-filters-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.students-filters.date-filters{margin-bottom:10px}.students-search-input{padding:8px 12px;border-radius:8px;border:1px solid #e0e0e0;min-width:200px;font-size:.9rem}.students-filter-select{padding:8px 12px;border-radius:8px;border:1px solid #e0e0e0;background:#f8f9fa;font-size:.9rem}.students-filter-input{padding:10px 15px;border-radius:8px;border:1px solid #e0e0e0;background:white;font-size:.9rem;width:150px}.students-filter-input:focus{border-color:#667eea;outline:none}.students-filter-input::placeholder{color:#999}.students-export-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:10px;margin-bottom:20px}.btn-export,.btn-export-secondary{padding:8px 14px;border-radius:8px;border:none;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease}.btn-export{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 3px 10px #667eea4d}.btn-export:hover{transform:translateY(-1px);box-shadow:0 5px 16px #667eea66}.btn-export-secondary{background:#f8f9fa;color:#555;border:1px solid #e0e0e0}.btn-export-secondary:hover{background:#e9ecef}.students-table{overflow-x:auto;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-top:0}.students-table table{width:100%;border-collapse:collapse;min-width:700px}.students-table th{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:16px;text-align:left;font-weight:600;color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.students-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#555;font-size:.95rem}.students-table tbody tr{transition:all .2s}.students-table tbody tr:hover{background:#f8f9fa;transform:scale(1.01);box-shadow:0 2px 8px #0000000d}.parents-form{margin-top:10px;display:flex;flex-direction:column;gap:8px}.parents-form-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.parents-input{padding:10px 12px;border-radius:8px;border:1px solid #e0e0e0;min-width:220px;font-size:.95rem}.parents-message{font-size:.9rem}.parents-message-error{color:#dc3545}.parents-message-success{color:#28a745}.btn-view-scoreboard{padding:10px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.btn-view-scoreboard:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.student-scoreboard-section{display:flex;flex-direction:column;gap:15px;width:100%;box-sizing:border-box;position:relative}.student-info-card{background:white;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #e0e0e0;width:100%;box-sizing:border-box;margin-bottom:20px;position:relative}.student-info-card h2{margin-top:0;margin-bottom:15px;color:#333;font-size:1.2rem;font-weight:600}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:10px}.info-item{padding:12px 15px;background:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0;transition:transform .3s,background .3s,box-shadow .3s;color:#555;font-size:.85rem}.info-item:hover{transform:translateY(-2px);background:white;box-shadow:0 2px 8px #667eea1a}.info-item strong{color:#333;margin-right:8px;font-weight:600;font-size:.9rem}.scoreboard-table{background:white;padding:15px 35px 35px;border-radius:16px;box-shadow:0 4px 20px #00000014;width:100%;box-sizing:border-box}.scoreboard-header-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;margin-top:-5px;flex-wrap:wrap;gap:15px}.scoreboard-header-actions h2{margin:0;color:#333;font-size:1.5rem;font-weight:600}.scoreboard-export-buttons{display:flex;gap:10px;flex-wrap:wrap}.scoreboard-table table{width:100%;border-collapse:collapse;border-radius:8px;overflow:hidden}.scoreboard-table th{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:16px;text-align:left;font-weight:600;color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.scoreboard-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#555;font-size:.95rem}.scoreboard-table tbody tr{transition:all .2s}.scoreboard-table tbody tr:hover{background:#f8f9fa;transform:scale(1.01);box-shadow:0 2px 8px #0000000d}.no-data{text-align:center;color:#999;padding:60px 40px;font-size:1.1rem;background:#f8f9fa;border-radius:12px;border:2px dashed #e0e0e0}.tests-section{background:white;padding:35px;border-radius:16px;box-shadow:0 4px 20px #00000014;width:100%;box-sizing:border-box}.tests-header-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;flex-wrap:wrap;gap:15px}.tests-header-actions h2{margin:0;color:#333;font-size:1.5rem;font-weight:600}.tests-export-buttons{display:flex;gap:10px;flex-wrap:wrap}.tests-table{overflow-x:auto;border-radius:12px;box-shadow:0 2px 8px #0000000d}.tests-table table{width:100%;border-collapse:collapse;min-width:800px}.tests-table th{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:16px;text-align:left;font-weight:600;color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.tests-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#555;font-size:.95rem}.tests-table tbody tr{transition:all .2s}.tests-table tbody tr:hover{background:#f8f9fa;transform:scale(1.01);box-shadow:0 2px 8px #0000000d}.test-type-badge{display:inline-block;padding:5px 12px;border-radius:6px;font-size:.85rem;font-weight:600;text-transform:uppercase}.test-type-badge.daily{background:#e3f2fd;color:#1976d2}.test-type-badge.weekly{background:#f3e5f5;color:#7b1fa2}.status-badge{display:inline-block;padding:5px 12px;border-radius:6px;font-size:.85rem;font-weight:600;text-transform:capitalize}.status-badge.available{background:#d4edda;color:#155724}.status-badge.completed{background:#d1ecf1;color:#0c5460}.date-link{background:none;border:none;color:#667eea;cursor:pointer;font-weight:600;text-decoration:underline;padding:0;font-size:.95rem;transition:color .3s}.date-link:hover{color:#764ba2}.btn-view-questions{padding:8px 16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .3s;box-shadow:0 2px 8px #667eea4d}.btn-view-questions:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.test-questions-view{width:100%}.test-questions-header-section{margin-bottom:30px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}.btn-back-to-tests{padding:10px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.btn-back-to-tests:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}font-weight: 500; margin-bottom: 20px; transition: all .3s; } .btn-back-to-tests:hover{background:#e9ecef}.test-questions-header-section h2{margin:0;color:#333;font-size:1.8rem}.test-info-bar{display:flex;gap:30px;padding:15px 20px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.questions-list{display:flex;flex-direction:column;gap:25px;margin-bottom:30px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:30px;background:white;border-radius:12px;box-shadow:0 2px 8px #0000000d}.pagination-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s;box-shadow:0 2px 8px #667eea4d}.pagination-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#555;font-weight:500;font-size:.95rem}.analysis-content{background:#f8f9fa;padding:25px;border-radius:8px;border-left:4px solid #667eea;margin-top:20px}.analysis-text{color:#333;line-height:1.8;font-size:1rem;white-space:pre-wrap}.no-analysis{text-align:center;padding:40px;color:#666;background:#f8f9fa;border-radius:8px;margin-top:20px}.test-result-container{min-height:100vh;background:#f5f5f5;padding:20px;width:100%;max-width:1400px;margin:0 auto;box-sizing:border-box}.test-type{margin:5px 0;color:#666;font-size:.9rem}.student-info-text{margin:5px 0 0;color:#667eea;font-size:.95rem;font-weight:500}.questions-review{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-top:0}.dashboard-stats-section{position:relative;width:100%;box-sizing:border-box;padding-top:50px}.student-dashboard-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:10px;padding:15px 25px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 20px #667eea4d;color:#fff}.student-header-info{display:flex;align-items:center;gap:12px}.student-avatar{width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;border:2px solid rgba(255,255,255,.3)}.student-header-details h2{margin:0 0 3px;font-size:1.2rem;font-weight:700;color:#fff}.student-roll{margin:0 0 2px;font-size:.75rem;opacity:.9}.student-branch{margin:0;font-size:.7rem;opacity:.8}.student-overall-score{text-align:right}.overall-score-label{font-size:.7rem;opacity:.9;margin-bottom:5px}.overall-score-value{font-size:1.8rem;font-weight:700;margin-bottom:5px}.overall-score-progress{width:120px;height:5px;background:rgba(255,255,255,.2);border-radius:3px;overflow:hidden}.overall-score-bar{height:100%;background:white;border-radius:4px;transition:width .5s ease}.stats-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stats-cards-grid-enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:white;padding:25px;border-radius:12px;box-shadow:0 2px 10px #00000014;display:flex;align-items:center;gap:15px;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 15px #0000001f}.stat-card-enhanced{background:white;padding:25px;border-radius:16px;box-shadow:0 4px 15px #0000001a;display:flex;align-items:center;gap:18px;transition:all .3s ease;border:2px solid transparent;position:relative;overflow:hidden}.stat-card-enhanced:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.stat-card-enhanced:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.stat-card-enhanced:hover:before{transform:scaleX(1)}.stat-card-enhanced.stat-primary{border-left:4px solid #667eea}.stat-card-enhanced.stat-success{border-left:4px solid #28a745}.stat-card-enhanced.stat-warning{border-left:4px solid #ffc107}.stat-card-enhanced.stat-info{border-left:4px solid #17a2b8}.stat-card-enhanced.stat-danger{border-left:4px solid #dc3545}.stat-card-enhanced.stat-secondary{border-left:4px solid #6c757d}.stat-icon-wrapper{width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:16px;flex-shrink:0}.stat-card-enhanced.stat-primary .stat-icon-wrapper{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.stat-card-enhanced.stat-success .stat-icon-wrapper{background:linear-gradient(135deg,#28a745 0%,#20c997 100%)}.stat-card-enhanced.stat-warning .stat-icon-wrapper{background:linear-gradient(135deg,#ffc107 0%,#ff9800 100%)}.stat-card-enhanced.stat-info .stat-icon-wrapper{background:linear-gradient(135deg,#17a2b8 0%,#138496 100%)}.stat-card-enhanced.stat-danger .stat-icon-wrapper{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%)}.stat-card-enhanced.stat-secondary .stat-icon-wrapper{background:linear-gradient(135deg,#6c757d 0%,#5a6268 100%)}.stat-icon{font-size:2.2rem;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.stats-cards-grid .stat-card .stat-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.stat-content{flex:1}.stat-label{font-size:.85rem;color:#666;margin-bottom:8px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:2rem;font-weight:700;color:#333;margin-bottom:5px;line-height:1.2}.stat-subtitle{font-size:.75rem;color:#999;font-style:italic}.charts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px;margin-bottom:30px}.charts-row-enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:25px;margin-bottom:30px}.chart-card{background:white;padding:25px;border-radius:12px;box-shadow:0 2px 10px #00000014}.chart-card-enhanced{background:white;padding:30px;border-radius:16px;box-shadow:0 4px 20px #0000001a;border:1px solid #f0f0f0;transition:all .3s ease}.chart-card-enhanced:hover{box-shadow:0 6px 30px #00000026;transform:translateY(-2px)}.chart-card.full-width{grid-column:1 / -1}.chart-header{margin-bottom:25px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.chart-header h3{margin:0 0 5px;color:#333;font-size:1.4rem;font-weight:700}.chart-subtitle{font-size:.85rem;color:#999;font-style:italic}.chart-card h3{margin:0 0 20px;color:#333;font-size:1.2rem;font-weight:600}.top-students-list{display:flex;flex-direction:column;gap:12px}.top-student-item{display:flex;align-items:center;gap:15px;padding:15px;background:#f8f9fa;border-radius:8px;transition:background .2s}.top-student-item:hover{background:#e9ecef}.student-rank{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:50%;font-weight:600;font-size:.9rem}.student-info{flex:1}.student-roll{font-weight:600;color:#333;margin-bottom:5px}.student-stats{display:flex;gap:15px;font-size:.85rem;color:#666}.recent-activity-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto}.recent-activity-list-enhanced{display:flex;flex-direction:column;gap:15px;max-height:500px;overflow-y:auto;padding:5px}.activity-item{padding:15px;background:#f8f9fa;border-radius:8px;border-left:3px solid #667eea;transition:background .2s}.activity-item:hover{background:#e9ecef}.activity-item-enhanced{display:flex;align-items:center;gap:20px;padding:20px;background:linear-gradient(135deg,#f8f9ff 0%,#ffffff 100%);border-radius:12px;border:1px solid #e0e0f0;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.activity-item-enhanced:hover{transform:translate(5px);box-shadow:0 4px 15px #667eea33;border-color:#667eea}.activity-number{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:50%;font-weight:700;font-size:1.1rem;flex-shrink:0}.activity-content{flex:1}.activity-title-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}.activity-student{font-weight:700;color:#333;font-size:1.1rem}.activity-badge{padding:4px 12px;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.activity-details{display:flex;gap:15px;font-size:.9rem;color:#666}.activity-test{color:#666;font-size:.9rem;margin-bottom:5px}.activity-score{font-weight:600;color:#667eea;margin-bottom:3px}.activity-score-enhanced{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.score-value{font-size:1.8rem;font-weight:700}.score-detail{font-size:.85rem;opacity:.7}.activity-date{font-size:.8rem;color:#999}.no-data-enhanced{text-align:center;padding:60px 20px;color:#999;font-size:1.1rem;font-style:italic}.upload-test-container{min-height:100vh;background:linear-gradient(135deg,#f5f7fa 0%,#f0f4ff 100%);padding:30px 40px}.upload-test-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px;padding-bottom:24px;border-bottom:3px solid transparent;background:linear-gradient(white,white) padding-box,linear-gradient(135deg,#667eea 0%,#764ba2 100%) border-box;border-image:linear-gradient(135deg,#667eea 0%,#764ba2 100%) 1}.upload-test-header h1{margin:0;font-size:2.2rem;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800;letter-spacing:-.5px}.upload-steps{display:flex;justify-content:center;gap:50px;margin-bottom:45px;padding:30px 20px;background:white;border-radius:16px;box-shadow:0 4px 16px #00000014}.step{display:flex;flex-direction:column;align-items:center;gap:12px;position:relative}.step:after{content:"";position:absolute;top:24px;left:100%;width:50px;height:3px;background:linear-gradient(90deg,#e5e7eb 0%,#f3f4f6 100%);border-radius:2px}.step:last-child:after{display:none}.step.active .step-number{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 6px 20px #667eea66;transform:scale(1.1)}.step.completed .step-number{background:linear-gradient(135deg,#28a745 0%,#20c997 100%);color:#fff;box-shadow:0 4px 16px #28a7454d}.step.completed:after{background:linear-gradient(90deg,#28a745 0%,#20c997 100%)}.step-number{width:48px;height:48px;border-radius:50%;background:#e5e7eb;color:#9ca3af;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;transition:all .3s ease;border:3px solid transparent}.step.active .step-number{border-color:#ffffff4d}.step-label{font-size:.95rem;color:#6b7280;font-weight:500;letter-spacing:.3px}.step.active .step-label{color:#667eea;font-weight:700}.step.completed .step-label{color:#28a745;font-weight:600}.upload-content{max-width:900px;margin:0 auto}.test-details-form,.file-upload-form{background:#ffffff;padding:48px;border-radius:20px;box-shadow:0 10px 40px #667eea1f,0 2px 8px #0000000f;border:1px solid rgba(102,126,234,.1)}.form-section h2{margin-top:0;margin-bottom:30px;color:#1f2937;font-size:1.6rem;font-weight:700;display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:3px solid #f3f4f6;position:relative}.form-section h2:after{content:"";position:absolute;bottom:-3px;left:0;width:80px;height:3px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:2px}.form-group{margin-bottom:24px}.form-group label{display:block;margin-bottom:10px;color:#1f2937;font-weight:600;font-size:.95rem;letter-spacing:.3px}.input-with-icon{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:1.1rem;color:#667eea;pointer-events:none;z-index:1}.input-with-icon input,.input-with-icon select,.input-with-icon textarea{width:100%;padding:14px 16px 14px 44px!important;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffff;box-shadow:0 1px 3px #0000000d}.input-with-icon textarea{resize:vertical;min-height:90px;padding-top:14px}.input-with-icon:has(textarea) .input-icon{top:22px;transform:none}.input-with-icon input[type=date],.input-with-icon input[type=time]{padding-left:44px!important}.input-with-icon input[type=number]{padding-right:16px}.time-input-group{position:relative;width:100%}.time-input-wrapper{display:flex;align-items:center;gap:6px;padding:8px 10px;border:2px solid #e5e7eb;border-radius:12px;background:#ffffff;box-shadow:0 1px 3px #0000000d;transition:all .3s ease;width:100%;max-width:100%;box-sizing:border-box;flex-wrap:nowrap}.time-input-wrapper:focus-within{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a,0 2px 8px #667eea26;transform:translateY(-1px)}.time-icon{font-size:1rem;color:#667eea;flex-shrink:0;margin-right:6px}.time-select{border:none;background:transparent;font-size:1.05rem;color:#1f2937;font-weight:500;cursor:pointer;outline:none;padding:8px 12px;line-height:1.35;min-width:0;box-sizing:border-box;text-align:center;flex:1}.time-select:focus{outline:none}.hour-select,.minute-select{min-width:88px;flex-shrink:0}.period-select{min-width:88px;font-weight:600;flex-shrink:0}.time-separator{font-size:1.05rem;font-weight:600;color:#667eea;margin:0 2px}.input-with-icon input:focus,.input-with-icon select:focus,.input-with-icon textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a,0 2px 8px #667eea26;transform:translateY(-1px)}.input-with-icon input:hover:not(:focus),.input-with-icon select:hover:not(:focus),.input-with-icon textarea:hover:not(:focus){border-color:#c7d2fe}.form-group input,.form-group select,.form-group textarea{width:100%;padding:14px 16px;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffff;box-shadow:0 1px 3px #0000000d}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a,0 2px 8px #667eea26;transform:translateY(-1px)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}.file-format-info{background:linear-gradient(135deg,#f5f7ff 0%,#f0f4ff 100%);padding:26px;border-radius:14px;margin-bottom:30px;box-shadow:0 4px 12px #667eea14;border:1px solid rgba(102,126,234,.2);border-left:5px solid #667eea}.file-format-info h3{margin-top:0;color:#1f2937;font-size:1.15rem;font-weight:700;margin-bottom:12px}.file-format-info p{color:#4b5563;margin:12px 0;line-height:1.6}.file-format-info ul{margin:18px 0;padding-left:24px}.file-format-info li{color:#374151;margin:10px 0;line-height:1.7;position:relative}.file-format-info li::marker{color:#667eea;font-weight:700}.file-upload-area{margin-top:10px}.file-upload-label{display:block;padding:50px 40px;border:3px dashed #c7d2fe;border-radius:16px;text-align:center;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#fafbff 0%,#f5f7fa 100%);position:relative;overflow:hidden}.file-upload-label:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,rgba(102,126,234,.05) 0%,rgba(118,75,162,.05) 100%);opacity:0;transition:opacity .3s ease}.file-upload-label:hover{border-color:#667eea;background:#ffffff;box-shadow:0 8px 24px #667eea26;transform:translateY(-2px)}.file-upload-label:hover:before{opacity:1}.file-icon{font-size:3.5rem;display:block;margin-bottom:14px;filter:drop-shadow(0 4px 8px rgba(102,126,234,.2))}.file-name{display:block;font-weight:700;color:#1f2937;margin:12px 0;font-size:1.15rem;position:relative;z-index:1}.file-size{display:block;color:#6b7280;font-size:.95rem;font-weight:500;margin-top:8px}.file-hint{display:block;color:#9ca3af;font-size:.9rem;margin-top:14px;font-weight:500;letter-spacing:.2px}.test-summary{background:linear-gradient(135deg,#f5f7fa 0%,#f0f4ff 100%);padding:30px;border-radius:16px;margin-top:30px;border:2px solid #e5e7eb;box-shadow:0 4px 16px #0000000f}.test-summary h3{margin-top:0;color:#1f2937;font-size:1.3rem;margin-bottom:20px;font-weight:700;display:flex;align-items:center;gap:10px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.summary-item{padding:16px 18px;background:white;border-radius:12px;color:#4b5563;border:1px solid #e5e7eb;transition:all .2s ease;box-shadow:0 2px 6px #0000000a}.summary-item:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea26;border-color:#c7d2fe}.summary-item strong{color:#1f2937;margin-right:8px;font-weight:600}.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:16px 36px;border-radius:12px;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 6px 20px #667eea59;position:relative;overflow:hidden}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.btn-primary:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 10px 30px #667eea73}.btn-primary:hover:not(:disabled):before{left:100%}.btn-primary:active:not(:disabled){transform:translateY(-1px)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:white;color:#667eea;border:2px solid #667eea;padding:16px 36px;border-radius:12px;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #667eea26}.btn-secondary:hover{background:linear-gradient(135deg,#f5f7ff 0%,#f0f4ff 100%);border-color:#764ba2;transform:translateY(-2px);box-shadow:0 6px 16px #667eea40}.btn-secondary:active{transform:translateY(0)}.btn-large{width:100%;margin-top:20px}.form-actions{display:flex;gap:15px;margin-top:30px}.form-actions .btn-primary,.form-actions .btn-secondary{flex:1}.error-message{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);color:#991b1b;padding:18px 20px;border-radius:12px;margin:24px 0;border-left:5px solid #dc2626;box-shadow:0 4px 12px #dc262626;font-weight:500;display:flex;align-items:center;gap:12px}.error-message:before{content:"⚠️";font-size:1.3rem}.success-message{background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);color:#166534;padding:18px 20px;border-radius:12px;margin:24px 0;border-left:5px solid #16a34a;box-shadow:0 4px 12px #16a34a26;font-weight:500;display:flex;align-items:center;gap:12px}.success-message:before{content:"✓";font-size:1.3rem;font-weight:700}.success-screen{text-align:center;padding:60px 40px;background:white;border-radius:16px;box-shadow:0 4px 20px #00000014;max-width:600px;margin:0 auto}.success-icon{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#28a745 0%,#20c997 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:3rem;margin:0 auto 30px;box-shadow:0 4px 20px #28a7454d}.success-screen h2{color:#28a745;font-size:2rem;margin-bottom:15px;font-weight:700}.success-screen p{color:#666;font-size:1.1rem;margin-bottom:40px;line-height:1.6}.btn-back-to-dashboard{padding:14px 30px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.btn-back-to-dashboard:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.sections-container{margin-top:30px;padding-top:30px;border-top:2px solid #e0e0e0}.sections-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.sections-header h3{margin:0;color:#333;font-size:1.3rem;font-weight:600}.sections-description{color:#666;font-size:.9rem;margin-bottom:20px;line-height:1.5}.btn-add-section{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.btn-add-section:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.plus-icon{font-size:1.2rem;font-weight:700}.sections-total-summary{margin-bottom:20px}.total-marks-indicator{padding:15px 20px;border-radius:10px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-weight:600;font-size:1rem}.total-marks-indicator.valid{background:#d4edda;border:2px solid #28a745;color:#155724}.total-marks-indicator.invalid{background:#f8d7da;border:2px solid #dc3545;color:#721c24}.total-label,.max-score-label{font-weight:600}.total-value,.max-score-value{font-size:1.2rem;font-weight:700}.mismatch-warning{color:#dc3545;font-size:.9rem;margin-left:auto;font-weight:500}.match-success{color:#28a745;font-size:.9rem;margin-left:auto;font-weight:500}.sections-list{display:flex;flex-direction:column;gap:20px;margin-top:20px}.section-card{background:linear-gradient(135deg,#fafbff 0%,#f5f7fa 100%);padding:28px;border-radius:14px;border:2px solid #e5e7eb;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.section-card:hover{border-color:#667eea;box-shadow:0 8px 24px #667eea26;transform:translateY(-2px)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h4{margin:0;color:#667eea;font-size:1.2rem;font-weight:600}.btn-remove-section{padding:8px 16px;background:#dc3545;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-remove-section:hover{background:#c82333;transform:translateY(-1px)}.section-form-row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:15px}.readonly-input{background:#e9ecef;color:#6c757d;cursor:not-allowed;font-weight:600}.section-info{padding:12px;background:white;border-radius:8px;color:#555;font-size:.9rem;border-left:4px solid #667eea}@media (max-width: 992px){.section-form-row{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.section-form-row{grid-template-columns:1fr}.sections-header{flex-direction:column;align-items:flex-start;gap:15px}}.test-questions-container{min-height:100vh;background:white;padding:30px 40px}.test-questions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e0e0e0}.test-questions-header h1{margin:0;font-size:2rem;color:#333;font-weight:700}.test-info-bar{display:flex;gap:30px;padding:15px 20px;background:#f8f9fa;border-radius:8px;margin-bottom:30px;border-left:4px solid #667eea}.test-info-bar span{color:#555;font-size:.95rem}.test-info-bar strong{color:#333;margin-right:8px}.section-group-admin{margin-bottom:40px}.section-group-admin:last-child{margin-bottom:0}.section-header-admin{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:15px 25px;border-radius:10px;margin-bottom:25px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.section-header-admin h3{margin:0;font-size:1.3rem;font-weight:700}.section-info-admin{display:flex;align-items:center;gap:10px;font-size:.95rem;opacity:.95}.section-info-admin span{color:#fff}.question-card{background:white;border:2px solid #e0e0e0;border-radius:12px;padding:25px;transition:all .3s}.question-card:hover{box-shadow:0 4px 12px #667eea26;border-color:#667eea}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #e0e0e0}.correct-answer{font-size:.9rem;color:#28a745;font-weight:600;background:#d4edda;padding:5px 12px;border-radius:6px}.question-text{font-size:1.1rem;color:#333;margin-bottom:20px;line-height:1.6;font-weight:500}.options-list{display:flex;flex-direction:column;gap:12px}.option{display:flex;align-items:center;gap:12px;padding:15px;background:#f8f9fa;border-radius:8px;border:2px solid transparent;transition:all .3s}.option.correct{background:#d4edda;border-color:#28a745}.option-label{font-weight:600;color:#667eea;min-width:30px}.option-text{flex:1;color:#555;font-size:1rem}.correct-badge{color:#28a745;font-weight:600;font-size:.9rem;background:white;padding:4px 10px;border-radius:6px;border:1px solid #28a745}.error-message{background:#fee;color:#c33;padding:20px;border-radius:8px;margin:20px 0;border-left:4px solid #c33;font-size:1rem}.take-test-container{min-height:100vh;background:#f5f5f5;padding:20px}.test-header{background:white;padding:20px 30px;border-radius:12px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000001a}.test-title-section h1{margin:0 0 5px;font-size:1.8rem;color:#333}.test-timer-section{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.timer{font-size:1.5rem;font-weight:700;color:#28a745;padding:10px 20px;background:#d4edda;border-radius:8px;border:2px solid #28a745}.timer.warning{color:#dc3545;background:#f8d7da;border-color:#dc3545;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.progress-info{color:#666;font-size:.9rem}.test-content{display:flex;gap:20px}.questions-sidebar{width:250px;background:white;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000001a;height:fit-content;position:sticky;top:20px}.questions-sidebar h3{margin:0 0 15px;color:#333;font-size:1.1rem}.section-group{margin-bottom:25px}.section-group:last-child{margin-bottom:15px}.section-header{margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #e0e0e0}.section-header h4{margin:0 0 5px;color:#667eea;font-size:1rem;font-weight:600}.section-info{font-size:.85rem;color:#666}.question-numbers{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:20px}.question-number-btn{width:40px;height:40px;border:2px solid #e0e0e0;background:white;border-radius:8px;cursor:pointer;font-weight:600;color:#666;transition:all .3s}.question-number-btn:hover{border-color:#667eea;color:#667eea}.question-number-btn.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-color:#667eea}.question-number-btn.answered{background:#d4edda;border-color:#28a745;color:#28a745}.question-number-btn.answered.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.sidebar-footer{border-top:1px solid #e0e0e0;padding-top:15px}.sidebar-footer p{margin:0 0 15px;color:#666;font-size:.9rem}.btn-submit{width:100%;padding:12px;background:linear-gradient(135deg,#28a745 0%,#20c997 100%);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 2px 8px #28a7454d}.btn-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #28a74566}.btn-submit:disabled{opacity:.6;cursor:not-allowed}.question-content{flex:1;background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a}.question-card{margin-bottom:30px}.section-badge{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:12px 20px;border-radius:8px;margin-bottom:20px;display:flex;flex-direction:column;gap:5px}.section-badge .section-name{font-weight:700;font-size:1.1rem}.section-badge .section-marks{font-size:.9rem;opacity:.95}.question-header{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e0e0e0}.question-number{font-size:1.2rem;font-weight:700;color:#667eea}.question-total{color:#666;font-size:.9rem}.question-text{font-size:1.3rem;color:#333;margin-bottom:25px;line-height:1.6;font-weight:500}.options-list{display:flex;flex-direction:column;gap:15px}.option{display:flex;align-items:center;gap:15px;padding:18px 20px;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:10px;cursor:pointer;transition:all .3s}.option:hover{background:#e9ecef;border-color:#667eea}.option.selected{background:#e7f3ff;border-color:#667eea;box-shadow:0 2px 8px #667eea33}.option-label{font-weight:700;color:#667eea;min-width:30px;font-size:1.1rem}.option-text{flex:1;color:#333;font-size:1.1rem}.question-navigation{display:flex;justify-content:space-between;padding-top:20px;border-top:1px solid #e0e0e0}.btn-nav{padding:12px 30px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 2px 8px #667eea4d}.btn-nav:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-nav:disabled{opacity:.5;cursor:not-allowed}.question-number-btn.disabled{opacity:.5;cursor:not-allowed!important;pointer-events:none}.option.disabled{pointer-events:none}.submitting-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.submitting-content{background:white;padding:40px 50px;border-radius:16px;text-align:center;box-shadow:0 10px 40px #0000004d;max-width:400px}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.submitting-content p{margin:10px 0;color:#333;font-size:1.1rem;font-weight:600}.submitting-note{font-size:.9rem!important;color:#666!important;font-weight:400!important;margin-top:15px!important}.test-result-container{min-height:100vh;background:#f5f5f5;padding:20px}.result-header{background:white;padding:20px 30px;border-radius:12px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000001a}.result-title-section h1{margin:0 0 5px;font-size:1.8rem;color:#333}.test-type{margin:0;color:#666;font-size:.9rem}.btn-back{padding:10px 20px;background:#f8f9fa;color:#333;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;font-weight:500;transition:all .3s}.btn-back:hover{background:#e9ecef}.result-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.summary-card{background:white;padding:20px;border-radius:12px;text-align:center;box-shadow:0 2px 8px #0000001a}.summary-label{font-size:.9rem;color:#666;margin-bottom:10px}.summary-value{font-size:1.8rem;font-weight:700}.summary-value.score{color:#667eea}.summary-value.percentage{color:#28a745}.summary-value.duration{color:#17a2b8}.summary-value.time{color:#ffc107}.summary-value.date{color:#6c757d;font-size:1rem}.questions-review{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a}.questions-review h2{margin:0 0 25px;color:#333;font-size:1.5rem}.questions-list{display:flex;flex-direction:column;gap:25px}.question-review-card{border:2px solid #e0e0e0;border-radius:12px;padding:25px;transition:all .3s}.question-review-card.correct{border-color:#28a745;background:#f8fff9}.question-review-card.incorrect{border-color:#dc3545;background:#fff8f8}.question-review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #e0e0e0}.question-number{font-size:1.1rem;font-weight:600;color:#667eea}.answer-status{font-size:.9rem;font-weight:600;padding:5px 12px;border-radius:6px}.correct-badge{background:#d4edda;color:#155724;border:1px solid #28a745}.incorrect-badge{background:#f8d7da;color:#721c24;border:1px solid #dc3545}.question-text{font-size:1.2rem;color:#333;margin-bottom:20px;line-height:1.6;font-weight:500}.options-review{display:flex;flex-direction:column;gap:12px}.option-review{display:flex;align-items:center;gap:12px;padding:15px;background:#f8f9fa;border-radius:8px;border:2px solid transparent;transition:all .3s;position:relative}.option-review.correct-answer{background:#d4edda;border-color:#28a745}.option-review.student-answer{background:#fff3cd;border-color:#ffc107}.option-review.correct-answer.student-answer{background:#d4edda;border-color:#28a745}.option-label{font-weight:600;color:#667eea;min-width:30px;font-size:1.1rem}.option-text{flex:1;color:#333;font-size:1rem}.correct-mark{color:#28a745;font-weight:600;font-size:.9rem;background:white;padding:4px 10px;border-radius:6px;border:1px solid #28a745;margin-left:auto}.student-mark{color:#ffc107;font-weight:600;font-size:.9rem;background:white;padding:4px 10px;border-radius:6px;border:1px solid #ffc107;margin-left:auto}.not-answered{margin-top:15px;padding:10px;background:#f8d7da;color:#721c24;border-radius:6px;text-align:center;font-weight:500}.loading{text-align:center;padding:50px;font-size:1.2rem;color:#666}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:8px;margin-bottom:20px}.history-row:hover{background-color:#f8f9fa}.ai-analysis-section{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:30px}.ai-analysis-section h2{margin:0 0 20px;color:#667eea;font-size:1.5rem;border-bottom:2px solid #667eea;padding-bottom:10px}.analysis-content{background:#f8f9fa;padding:25px;border-radius:8px;border-left:4px solid #667eea}.analysis-text{color:#333;line-height:1.8;font-size:1rem}.analysis-text strong{color:#667eea;font-weight:600}.analysis-text h3,.analysis-text h4{color:#333;margin-top:20px;margin-bottom:10px}.analysis-text ul,.analysis-text ol{margin-left:20px;margin-top:10px}.analysis-text li{margin-bottom:8px}.test-analysis-view{width:100%}.analysis-header{margin-bottom:30px}.btn-back-to-scoreboard{padding:10px 20px;background:#f8f9fa;color:#333;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;font-weight:500;margin-bottom:20px;transition:all .3s}.btn-back-to-scoreboard:hover{background:#e9ecef}.analysis-header h2{margin:0 0 15px;color:#333;font-size:1.8rem}.test-analysis-info{display:flex;gap:30px;padding:15px 20px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.test-analysis-info span{color:#555;font-size:.95rem}.test-analysis-info strong{color:#333;margin-right:8px}.no-analysis{text-align:center;padding:40px;color:#666;background:#f8f9fa;border-radius:8px}.btn-view-analysis{padding:8px 16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .3s;box-shadow:0 2px 6px #667eea4d}.btn-view-analysis:hover{transform:translateY(-2px);box-shadow:0 4px 10px #667eea66}.App{min-height:100vh;width:100%;margin:0;padding:0}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;overflow-x:hidden}#root{width:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:white;min-height:100vh;margin:0;padding:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
