.home-page{background:#f8fafc;overflow-x:hidden}section{padding:90px 8%}.section-title{text-align:center;color:#0f172a;margin-bottom:20px;font-size:40px;font-weight:700}.section-subtitle{text-align:center;color:#64748b;margin-bottom:60px;font-size:18px}@media (width<=768px){.section-title{font-size:30px}section{padding:70px 25px}}.navbar{z-index:1000;background:#fff;justify-content:space-between;align-items:center;padding:18px 8%;display:flex;position:sticky;top:0;box-shadow:0 3px 15px #0000000d}.logo{color:#2563eb;font-size:28px;font-weight:800}.navbar ul{gap:35px;list-style:none;display:flex}.navbar a{color:#334155;font-weight:600;text-decoration:none;transition:all .3s}.navbar a:hover{color:#2563eb}.nav-buttons{gap:15px;display:flex}.login-btn{border:1px solid #2563eb;border-radius:8px;padding:10px 20px}.register-btn{background:#2563eb;border-radius:8px;padding:10px 20px;color:#fff!important}.register-btn:hover{background:#1d4ed8}@media (width<=900px){.navbar ul{display:none}}.hero{background-color:#0000;background-image:linear-gradient(#030712d1,#0f172ae0),url(/assets/hero-bg-DLf1qqlW.jpg);background-position:50%;background-repeat:repeat,repeat;background-size:cover;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;align-items:center;min-height:100vh;display:flex;position:relative;overflow:hidden}.hero-overlay{background:radial-gradient(circle at 100% 0,#2563eb40,#0000 45%);position:absolute;inset:0}.shape{filter:blur(5px);border-radius:50%;animation:12s ease-in-out infinite floatShape;position:absolute}.shape1{background:#2563eb2e;width:280px;height:280px;top:-60px;right:-80px}.shape2{background:#3b82f624;width:180px;height:180px;animation-delay:2s;bottom:80px;left:-70px}.shape3{background:#60a5fa2e;width:120px;height:120px;animation-delay:4s;top:55%;right:15%}.hero-container{z-index:2;grid-template-columns:1fr 1fr;align-items:center;gap:70px;width:min(1320px,92%);margin:auto;display:grid;position:relative}.badge{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;background:#ffffff1a;border:1px solid #ffffff26;border-radius:40px;padding:12px 20px;font-weight:600;display:inline-block}.hero-left h1{color:#fff;margin:25px 0;font-size:4rem;font-weight:800;line-height:1.08}.hero-left h1 span{color:#60a5fa}.hero-left p{color:#d1d5db;max-width:620px;font-size:18px;line-height:1.8}.hero-buttons{gap:20px;margin-top:40px;display:flex}.primary-btn{color:#fff;background:#2563eb;border-radius:50px;align-items:center;gap:12px;padding:18px 36px;font-weight:700;text-decoration:none;transition:all .35s;display:flex;box-shadow:0 15px 35px #2563eb59}.primary-btn:hover{background:#1d4ed8;transform:translateY(-6px)}.secondary-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;background:#ffffff0d;border:2px solid #fff6;border-radius:50px;align-items:center;gap:12px;padding:18px 34px;transition:all .35s;display:flex}.secondary-btn:hover{color:#111827;background:#fff}.hero-right{justify-content:center;display:flex}.hero-right img{border-radius:18px;width:100%;max-width:700px;animation:6s ease-in-out infinite float;box-shadow:0 35px 60px #00000073}.hero-stats{gap:60px;margin-top:65px;display:flex}.hero-stats h2{color:#fff;margin-bottom:5px;font-size:40px}.hero-stats span{color:#cbd5e1}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-18px)}to{transform:translateY(0)}}@keyframes floatShape{0%{transform:translateY(0)translate(0)}50%{transform:translateY(-30px)translate(15px)}to{transform:translateY(0)translate(0)}}@media (width<=992px){.hero-container{text-align:center;grid-template-columns:1fr}.hero-left p{margin:auto}.hero-buttons{flex-wrap:wrap;justify-content:center}.hero-stats{justify-content:center}.hero-left h1{font-size:3rem}}.features{background:#fff}.feature-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;display:grid}.feature-card{text-align:center;background:#fff;border-radius:18px;padding:35px;transition:all .35s;box-shadow:0 12px 30px #0000000f}.feature-card:hover{transform:translateY(-10px);box-shadow:0 20px 45px #2563eb1f}.icon{color:#fff;background:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:75px;height:75px;margin:auto auto 25px;font-size:30px;display:flex}.feature-card h3{color:#0f172a;margin-bottom:15px;font-size:24px}.feature-card p{color:#64748b;font-size:16px;line-height:1.7}.showcase{background:linear-gradient(#fff,#f8fbff);padding:110px 0}.section-heading{text-align:center;max-width:760px;margin:auto}.section-tag{color:#2563eb;letter-spacing:1px;background:#dbeafe;border-radius:40px;margin-bottom:20px;padding:10px 22px;font-size:13px;font-weight:700;display:inline-block}.section-heading h2{color:#0f172a;margin-bottom:20px;font-size:46px;font-weight:800}.section-heading p{color:#64748b;font-size:18px;line-height:1.8}.showcase-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:40px;margin-top:70px;display:grid}.showcase-card{background:#fff;border-radius:22px;transition:all .4s;overflow:hidden;box-shadow:0 20px 50px #00000014}.showcase-card:hover{box-shadow:0 35px 70px #2563eb2e}.browser{background:#eef4ff}.browser-top{background:#f1f5f9;align-items:center;gap:8px;height:42px;padding-left:16px;display:flex}.browser-top span{border-radius:50%;width:12px;height:12px}.browser-top span:first-child{background:#ef4444}.browser-top span:nth-child(2){background:#f59e0b}.browser-top span:nth-child(3){background:#22c55e}.browser img{object-fit:cover;width:100%;height:270px;transition:all .6s}.showcase-card:hover img{transform:scale(1.05)}.showcase-content{padding:30px}.icon{color:#fff;background:#2563eb;border-radius:16px;justify-content:center;align-items:center;width:62px;height:62px;margin-bottom:22px;font-size:24px;display:flex}.showcase-content h3{color:#0f172a;margin-bottom:15px;font-size:28px}.showcase-content p{color:#64748b;line-height:1.9}@media (width<=768px){.showcase{padding:80px 0}.section-heading h2{font-size:34px}.showcase-grid{grid-template-columns:1fr}.browser img{height:220px}}.testimonials{background:#f8fafc}.testimonial-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:30px;margin-top:50px;display:grid}.testimonial-card{background:#fff;border-radius:18px;padding:35px;transition:all .35s;box-shadow:0 12px 35px #00000012}.testimonial-card:hover{transform:translateY(-8px)}.quote{color:#f59e0b;margin-bottom:20px;font-size:28px}.testimonial-card p{color:#475569;margin-bottom:25px;font-size:16px;line-height:1.8}.testimonial-card h4{color:#0f172a;margin-bottom:5px}.testimonial-card span{color:#64748b;font-size:14px}.faq{background:#fff}.faq-list{flex-direction:column;gap:25px;max-width:900px;margin:50px auto auto;display:flex}.faq-item{background:#f8fafc;border-radius:16px;padding:28px}.faq-item h3{color:#0f172a;margin-bottom:12px}.faq-item p{color:#64748b;line-height:1.8}.contact{background:#eff6ff}.contact-grid{grid-template-columns:1fr 1fr;gap:60px;margin-top:50px;display:grid}.contact-info{flex-direction:column;justify-content:center;gap:25px;display:flex}.contact-info div{color:#334155;align-items:center;gap:15px;font-size:18px;display:flex}.contact-info svg{color:#2563eb;font-size:24px}.contact form{flex-direction:column;gap:20px;display:flex}.contact input{text-align:left;border:none;border-radius:12px;outline:none;width:100%;padding:10px;font-size:15px}.contact textarea{border:none;border-radius:12px;outline:none;padding:10px;font-size:15px}.contact button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:12px;padding:16px;font-size:16px;font-weight:700;transition:all .3s}.contact button:hover{background:#1d4ed8}@media (width<=900px){.contact-grid{grid-template-columns:1fr}}.cta{text-align:center;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);padding:100px 20px}.cta-overlay{max-width:850px;margin:auto}.cta h2{margin-bottom:20px;font-size:42px;font-weight:800}.cta p{opacity:.95;margin-bottom:40px;font-size:18px;line-height:1.8}.cta-buttons{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.btn-primary,.btn-secondary{border-radius:10px;padding:16px 36px;font-weight:700;text-decoration:none;transition:all .3s}.btn-primary{color:#2563eb;background:#fff}.btn-primary:hover{transform:translateY(-3px)}.btn-secondary{color:#fff;border:2px solid #fff}.btn-secondary:hover{color:#2563eb;background:#fff}@media (width<=768px){.cta{padding:70px 20px}.cta h2{font-size:30px}.cta p{font-size:16px}.cta-buttons{flex-direction:column;align-items:center}.btn-primary,.btn-secondary{width:250px}}.footer{color:#fff;text-align:center;background:#0f172a;padding:60px 20px}.footer h2{margin-bottom:15px;font-size:34px}.footer p{opacity:.8;margin:8px 0}.back-top{color:#fff;cursor:pointer;z-index:999;background:#2563eb;border:none;border-radius:50%;width:55px;height:55px;font-size:20px;transition:all .3s;position:fixed;bottom:30px;right:30px;box-shadow:0 12px 25px #00000040}.back-top:hover{background:#1d4ed8;transform:translateY(-5px)}.admin-login-page{background:linear-gradient(135deg,#eff6ff,#dbeafe);justify-content:center;align-items:center;min-height:100vh;display:flex}.admin-login-page .login-card{background:#fff;border-radius:16px;width:100%;max-width:420px;padding:2rem;box-shadow:0 10px 25px #00000014}.admin-login-page .login-card h2{text-align:center;color:#1e3a8a;margin-bottom:1.5rem;font-size:1.7rem}.admin-login-page .login-card .form-group{margin-bottom:1rem}.admin-login-page .login-card .form-group label{color:#374151;margin-bottom:.4rem;font-weight:600;display:block}.admin-login-page .login-card .form-group input{border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:.8rem 1rem;font-size:1rem}.admin-login-page .login-card .form-group input:focus{border-color:#2563eb}.admin-login-page .login-card button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;width:100%;margin-top:.5rem;padding:.9rem;font-size:1rem;font-weight:600}.admin-login-page .login-card button:hover{background:#1d4ed8}.admin-login-page .login-card .error-text{color:#dc2626;text-align:center;margin-top:.8rem;font-size:.95rem}.register-school-page{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:30px 15px;display:flex}.register-school-page .register-card{background:#fff;border-radius:18px;width:100%;max-width:850px;padding:35px;box-shadow:0 10px 35px #00000014}.register-school-page .register-card .card-header{text-align:center;margin-bottom:30px}.register-school-page .register-card .card-header h2{color:#1e293b;margin-bottom:8px;font-size:2rem;font-weight:700}.register-school-page .register-card .card-header p{color:#64748b;font-size:.95rem}.register-school-page .register-card form .form-grid{grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:25px;display:grid}.register-school-page .register-card form .form-grid input,.register-school-page .register-card form .form-grid textarea{background:#f8fafc;border:1px solid #dbe2ea;border-radius:12px;width:100%;padding:14px 15px;font-size:.95rem;transition:all .2s}.register-school-page .register-card form .form-grid input:focus,.register-school-page .register-card form .form-grid textarea:focus{background:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 4px #2563eb1a}.register-school-page .register-card form .form-grid input::placeholder,.register-school-page .register-card form .form-grid textarea::placeholder{color:#94a3b8}.register-school-page .register-card form .form-grid textarea{resize:vertical;grid-column:span 2;min-height:120px}.register-school-page .register-card form button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:12px;width:100%;padding:15px;font-size:1rem;font-weight:600;transition:all .2s}.register-school-page .register-card form button:hover{background:#1d4ed8}.register-school-page .register-card form button:disabled{opacity:.7;cursor:not-allowed}@media (width<=768px){.register-school-page{padding:20px 12px}.register-school-page .register-card{padding:25px 18px}.register-school-page .register-card .card-header h2{font-size:1.6rem}.register-school-page .register-card form .form-grid{grid-template-columns:1fr}.register-school-page .register-card form .form-grid textarea{grid-column:span 1}}.super-dashboard{background:#f5f7fb;min-height:100vh;padding:30px}.dashboard-header{margin-bottom:30px}.dashboard-header h1{color:#1e293b;margin:0}.dashboard-header p{color:#64748b;margin-top:6px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-bottom:35px;display:grid}.stat-card{text-align:center;background:#fff;border-radius:12px;padding:25px;box-shadow:0 4px 12px #0000000f}.stat-card h2{color:#2563eb;margin:0;font-size:34px}.stat-card p{color:#64748b;margin-top:10px;font-weight:600}.stat-card.active h2{color:#16a34a}.stat-card.pending h2{color:#f59e0b}.stat-card.suspended h2{color:#dc2626}.quick-actions,.recent-schools{background:#fff;border-radius:12px;margin-bottom:30px;padding:25px;box-shadow:0 4px 12px #0000000f}.action-grid{flex-wrap:wrap;gap:15px;margin-top:20px;display:flex}.action-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:12px 22px;font-weight:600;text-decoration:none}.action-btn:hover{background:#1d4ed8}.action-btn:disabled{cursor:not-allowed;background:#94a3b8}.recent-schools table{border-collapse:collapse;width:100%;margin-top:20px}.recent-schools table th,.recent-schools table td{text-align:left;border-bottom:1px solid #e2e8f0;padding:14px}.recent-schools table th{background:#f8fafc}.manage-schools-page{background:#f5f7fb;min-height:100vh;padding:24px}.manage-schools-page .page-header{margin-bottom:24px}.manage-schools-page .page-header h2{color:#111827;margin-bottom:6px;font-size:28px;font-weight:700}.manage-schools-page .page-header p{color:#6b7280;font-size:15px}.manage-schools-page .loading-box,.manage-schools-page .empty-box{text-align:center;color:#6b7280;background:#fff;border-radius:18px;padding:40px;font-size:15px;box-shadow:0 4px 15px #0000000a}.manage-schools-page .schools-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;display:grid}.manage-schools-page .school-card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 4px 20px #0000000d}.manage-schools-page .school-card .school-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.manage-schools-page .school-card .school-top h3{color:#111827;font-size:20px;font-weight:700}.manage-schools-page .school-card .school-top .status{text-transform:capitalize;border-radius:30px;padding:6px 12px;font-size:13px;font-weight:600}.manage-schools-page .school-card .school-top .status.pending{color:#92400e;background:#fef3c7}.manage-schools-page .school-card .school-top .status.approved{color:#166534;background:#dcfce7}.manage-schools-page .school-card .school-top .status.disabled{color:#991b1b;background:#fee2e2}.manage-schools-page .school-card .school-info{flex-direction:column;gap:10px;margin-bottom:22px;display:flex}.manage-schools-page .school-card .school-info p{color:#374151;font-size:14px;line-height:1.5}.manage-schools-page .school-card .school-info p strong{color:#111827}.manage-schools-page .school-card .actions{gap:12px;display:flex}.manage-schools-page .school-card .actions button{cursor:pointer;border:none;border-radius:12px;flex:1;padding:12px;font-size:14px;font-weight:600;transition:all .2s}.manage-schools-page .school-card .actions .approve-btn{color:#fff;background:#2563eb}.manage-schools-page .school-card .actions .approve-btn:hover{background:#1d4ed8}.manage-schools-page .school-card .actions .disable-btn{color:#fff;background:#dc2626}.manage-schools-page .school-card .actions .disable-btn:hover{background:#b91c1c}@media (width<=768px){.manage-schools-page{padding:16px}.manage-schools-page .school-card{padding:18px}}.dashboard-page{flex-direction:column;gap:25px;display:flex}.welcome-card{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:16px;padding:30px}.welcome-card h2{margin-bottom:10px;font-size:28px}.welcome-card p{opacity:.95;font-size:15px}.actions-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;display:grid}.action-card{background:#fff;border-radius:14px;padding:22px;text-decoration:none;transition:all .3s;box-shadow:0 6px 14px #0000000f}.action-card h3{color:#111827;margin-bottom:12px;font-size:18px}.action-card span{color:#2563eb;font-weight:600}.action-card:hover{transform:translateY(-4px);box-shadow:0 12px 22px #00000014}@media (width<=768px){.welcome-card{padding:20px}.welcome-card h2{font-size:22px}.action-card{padding:18px}}.sessions-page{padding:2rem}.sessions-page h2{color:#1e3a8a;margin-bottom:1.5rem}.sessions-page .session-card{background:#fff;border-radius:14px;max-width:700px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 8px 20px #0000000f}.sessions-page .form-row{flex-wrap:wrap;gap:1rem;display:flex}.sessions-page input{border:1px solid #d1d5db;border-radius:10px;outline:none;flex:1;min-width:220px;padding:.85rem 1rem}.sessions-page input:focus{border-color:#2563eb}.sessions-page button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:.9rem 1.2rem;font-weight:600}.sessions-page button:hover{background:#1d4ed8}.sessions-page .session-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #0000000f}.sessions-page table{border-collapse:collapse;width:100%}.sessions-page th,.sessions-page td{text-align:left;border-bottom:1px solid #e5e7eb;padding:1rem}.sessions-page th{color:#1e3a8a;background:#eff6ff}.sessions-page tr:hover{background:#f9fafb}.classes-page{padding:2rem}.classes-page h2{color:#1e3a8a;margin-bottom:1.5rem}.classes-page .class-card{background:#fff;border-radius:14px;max-width:750px;margin-bottom:2rem;padding:1.6rem;box-shadow:0 8px 20px #0000000f}.classes-page .form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1rem;display:grid}.classes-page input,.classes-page select{border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:.85rem 1rem}.classes-page input:focus,.classes-page select:focus{border-color:#2563eb}.classes-page button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:.9rem 1.2rem;font-weight:600}.classes-page button:hover{background:#1d4ed8}.classes-page .class-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #0000000f}.classes-page table{border-collapse:collapse;width:100%}.classes-page th,.classes-page td{text-align:left;border-bottom:1px solid #e5e7eb;padding:1rem}.classes-page th{color:#1e3a8a;background:#eff6ff}.classes-page tr:hover{background:#f9fafb}.subjects-page{padding:2rem}.subjects-page h2{color:#1e3a8a;margin-bottom:1.5rem}.subjects-page .subject-card{background:#fff;border-radius:14px;max-width:700px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 8px 20px #0000000f}.subjects-page .form-row{flex-wrap:wrap;gap:1rem;display:flex}.subjects-page input{border:1px solid #d1d5db;border-radius:10px;outline:none;flex:1;min-width:220px;padding:.85rem 1rem}.subjects-page input:focus{border-color:#2563eb}.subjects-page button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:.9rem 1.2rem;font-weight:600}.subjects-page button:hover{background:#1d4ed8}.subjects-page .subject-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #0000000f}.subjects-page table{border-collapse:collapse;width:100%}.subjects-page th,.subjects-page td{text-align:left;border-bottom:1px solid #e5e7eb;padding:1rem}.subjects-page th{color:#1e3a8a;background:#eff6ff}.subjects-page tr:hover{background:#f9fafb}.students-page{padding:2rem}.students-page h2{color:#1e3a8a;margin-bottom:1.5rem}.students-page .student-card{background:#fff;border-radius:14px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 8px 20px #0000000f}.students-page .form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1rem;display:grid}.students-page input,.students-page select{border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:.8rem 1rem}.students-page input:focus,.students-page select:focus{border-color:#2563eb}.students-page button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:.85rem 1.2rem;font-weight:600}.students-page button:hover{background:#1d4ed8}.students-page .student-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #0000000f}.students-page table{border-collapse:collapse;width:100%}.students-page th,.students-page td{text-align:left;border-bottom:1px solid #e5e7eb;padding:1rem}.students-page th{color:#1e3a8a;background:#eff6ff}.students-page tr:hover{background:#f9fafb}.students-page .delete-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:6px;padding:.4rem .7rem;font-size:.8rem}.students-page .delete-btn:hover{background:#dc2626}.students-page .student-passport{object-fit:cover;border:2px solid #0d6efd;border-radius:50%;width:45px;height:45px}.assign-page{background:#f8fafc;min-height:100vh;padding:2rem}.page-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.count-badge{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:.4rem .9rem;font-weight:700}.assign-card{background:#fff;border-radius:16px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 10px 24px #0000000d}.assign-card h3{margin-bottom:1rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.form-grid input,.form-grid select{border:1px solid #e2e8f0;border-radius:8px;outline:none;padding:.6rem}.form-grid input:focus,.form-grid select:focus{border-color:#2563eb}.assign-card button{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:8px;padding:.7rem 1.2rem;font-weight:600}.assign-card button:hover{background:#15803d}.teacher-list{background:#fff;border-radius:16px;padding:1.2rem;box-shadow:0 10px 24px #0000000d}.teacher-list table{border-collapse:collapse;width:100%}.teacher-list th,.teacher-list td{text-align:left;border-bottom:1px solid #e2e8f0;padding:.7rem}.teacher-list th{background:#f1f5f9}.teacher-list tr:hover{background:#f9fafb}@media (width<=768px){.assign-page{padding:1rem}.page-header{flex-direction:column;align-items:flex-start;gap:.5rem}}.report-card{color:#222;box-sizing:border-box;background:#fff;border-radius:8px;width:270mm;min-height:297mm;margin:30px auto;padding:18mm;font-family:Arial,Helvetica,sans-serif;box-shadow:0 0 20px #0000001f}.report-header{border-bottom:3px solid #0d6efd;align-items:center;gap:20px;margin-bottom:20px;padding-bottom:15px;display:flex}.school-logo{background:#fff;border:2px solid #0d6efd;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;display:flex;overflow:hidden}.school-info h1{text-transform:uppercase;color:#093a83;margin:0;font-size:28px;font-weight:700}.school-info p{text-transform:uppercase;margin:4px 0;font-size:14px;font-weight:700}.school-info h3{color:#d32f2f;letter-spacing:1px;margin-top:12px}.student-details{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:25px;display:grid}.student-details div{background:#f5f7fb;border-left:5px solid #0d6efd;border-radius:6px;padding:10px}.student-details strong{color:#0d47a1;margin-bottom:5px;display:block}.class-summary{width:55%;margin-top:25px}.stats-table{border-collapse:collapse;width:100%}.stats-table td{border:1px solid #dcdcdc;padding:8px 10px}.stats-table td:first-child{width:70%;font-weight:700}.result-table{border-collapse:collapse;width:100%;margin-top:20px;margin-bottom:25px}.result-table th{color:#fff;background:#0d6efd;padding:5px;font-size:12px}.result-table td{text-align:center;border:1px solid #ddd;padding:5px;font-size:12px}.result-table tbody tr:nth-child(2n){background:#f8f9fa}.result-table tbody tr:hover{background:#eef4ff}.performance-summary{grid-template-columns:repeat(4,1fr);gap:15px;margin:30px 0;display:grid}.summary-card{text-align:center;background:#f7fbff;border:2px solid #0d6efd;border-radius:8px;padding:15px}.summary-card h4{color:#0d47a1;margin:0;font-size:15px}.summary-card p{margin-top:10px;font-size:24px;font-weight:700}.class-summary{margin-top:25px}.class-summary h3{color:#0d47a1;margin-bottom:10px}.class-summary table{border-collapse:collapse;width:100%}.class-summary td{border:1px solid #ddd;padding:10px}.class-summary tr:nth-child(2n){background:#fafafa}.attendance{margin-top:30px}.attendance h3{color:#0d47a1}.attendance-grid{grid-template-columns:repeat(3,1fr);gap:15px;margin-top:12px;display:grid}.attendance-grid div{text-align:center;background:#f5f7fb;border-radius:8px;padding:12px}.attendance-grid strong{color:#0d47a1;display:block}.attendance-grid span{margin-top:10px;font-size:22px;font-weight:700;display:block}.remarks{background:#fafafa;border-left:6px solid #0d6efd;border-radius:8px;margin-top:30px;padding:18px}.remarks h3{color:#0d47a1;margin-top:0}.remarks p{margin-bottom:18px;line-height:1.7}.signatures{justify-content:space-between;margin-top:50px;display:flex}.signatures>div{text-align:center;width:220px}.signature-line{border-bottom:2px solid #000;margin-bottom:8px}@page{size:A4 portrait;margin:12mm}@media print{body{background:#fff}.report-card{width:100%;box-shadow:none;border-radius:0;margin:0;padding:0}.download-report{display:none}}.download-report{color:#fff;cursor:pointer;background:#0d6efd;border:none;border-radius:6px;margin-top:30px;padding:12px 20px;font-size:16px}.download-report:hover{background:#084fc7}.report-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.school-logo{width:110px}.school-logo img{object-fit:contain;width:100px;height:100px}.school-info{text-align:center;flex:1}.student-photo{text-align:right;width:120px}.student-photo img{object-fit:cover;border:2px solid #222;border-radius:5px;width:100px;height:120px}.photo-placeholder{color:#666;border:2px dashed #999;justify-content:center;align-items:center;width:100px;height:120px;font-size:12px;display:flex}.student-details-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0;display:grid}.student-details-grid div{border:1px solid #ddd;padding:6px 10px}.remarks{margin-top:30px}.remark-box{margin-bottom:25px}.remark-line{border-bottom:1px solid #000;height:35px;margin-top:10px}.results-page{background:#f8fafc;min-height:100vh;padding:2rem}.page-header{margin-bottom:1.5rem}.page-header h2{margin:0}.page-header p{color:#64748b;margin-top:.4rem}.filter-box{flex-wrap:wrap;gap:.7rem;margin-bottom:1.5rem;display:flex}.filter-box select{border:1px solid #e2e8f0;border-radius:8px;padding:.5rem}.filter-box button{cursor:pointer;border:none;border-radius:8px;padding:.5rem .9rem;font-weight:600}.filter-box button:nth-child(3){color:#fff;background:#2563eb}.filter-box button:nth-child(4){color:#fff;background:#16a34a}.filter-box button:nth-child(5){color:#fff;background:#7c3aed}.summary-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.summary-card{text-align:center;background:#fff;border-radius:14px;padding:1.2rem;box-shadow:0 10px 24px #0000000d}.summary-card h3{color:#0f172a;margin:0;font-size:1.6rem}.summary-card p{color:#64748b;margin-top:.4rem}.table-wrap{background:#fff;border-radius:16px;padding:1rem;box-shadow:0 10px 24px #0000000d}.table-wrap table{border-collapse:collapse;width:100%}.table-wrap th,.table-wrap td{text-align:left;border-bottom:1px solid #e2e8f0;padding:.7rem}.table-wrap th{background:#f1f5f9}.table-wrap tr:hover{background:#f9fafb}.view-btn{cursor:pointer;color:#fff;background:#16a34a;border:none;border-radius:8px;padding:.5rem .9rem;font-weight:600}.top-1{background:#ecfdf5;font-weight:700}.top-2{background:#f0fdf4}.top-3{background:#f7fee7}.empty-box{text-align:center;color:#64748b;padding:2rem}@media (width<=768px){.results-page{padding:1rem}.filter-box{flex-direction:column}}.settings-page{max-width:100%}.settings-page h2{color:#0f172a;margin-bottom:20px;font-size:30px}.settings-card{background:#fff;border-radius:18px;grid-template-columns:2fr 1fr;gap:40px;padding:35px;display:grid;box-shadow:0 8px 25px #00000014}.settings-form{grid-template-columns:1fr 1fr;gap:20px;display:grid}.settings-group{flex-direction:column;display:flex}.settings-group label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600}.settings-group input{border:1px solid #d1d5db;border-radius:10px;width:70%;padding:13px 15px;font-size:15px;transition:all .25s}.settings-group input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.logo-section{flex-direction:column;justify-content:flex-start;align-items:center;display:flex}.logo-preview{object-fit:cover;background:#f9fafb;border:2px dashed #d1d5db;border-radius:12px;width:170px;height:170px;margin-bottom:20px}.logo-section input{width:100%}.save-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;grid-column:1/-1;height:50px;margin-top:20px;font-size:16px;font-weight:700;transition:all .3s}.save-btn:disabled{cursor:not-allowed;background:#94a3b8}@media (width<=900px){.settings-card,.settings-form{grid-template-columns:1fr}.logo-section{order:-1}.logo-preview{width:140px;height:140px}}.teacher-dashboard{background:#f8fafc;min-height:100vh;padding:2rem}.teacher-hero{color:#fff;background:linear-gradient(135deg,#1d4ed8,#2563eb);border-radius:18px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:2rem;display:flex}.teacher-hero h2{margin:0;font-size:1.8rem}.teacher-hero p{opacity:.95;margin-top:.5rem}.term-badge{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff2e;border-radius:999px;padding:.7rem 1rem;font-weight:700}.teacher-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.info-card,.action-card{background:#fff;border-radius:16px;padding:1.3rem;text-decoration:none;box-shadow:0 10px 24px #0000000d}.info-card h3{color:#0f172a;margin:0;font-size:1.8rem}.info-card p{color:#64748b;margin-top:.4rem}.action-card{color:#fff;background:#16a34a;justify-content:center;align-items:center;font-weight:700;transition:all .2s;display:flex}.action-card:hover{background:#15803d;transform:translateY(-2px)}.student-box{background:#fff;border-radius:16px;padding:1.4rem;box-shadow:0 10px 24px #0000000d}.box-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.box-head h3{margin:0}.box-head span{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:.35rem .8rem;font-size:.85rem;font-weight:700}.student-box ul{margin:0;padding:0;list-style:none}.student-box li{border-bottom:1px solid #e2e8f0;align-items:center;gap:.6rem;padding:.8rem 0;display:flex}.student-box li:last-child{border-bottom:none}.student-box li span{color:#64748b;min-width:24px}@media (width<=768px){.teacher-dashboard{padding:1rem}.teacher-hero{flex-direction:column;align-items:flex-start}}.select-term-page{background:#f8fafc;justify-content:center;align-items:center;min-height:calc(100vh - 80px);padding:2rem;display:flex}.select-term-page .term-card{text-align:center;background:#fff;border-radius:18px;width:100%;max-width:500px;padding:2rem;box-shadow:0 10px 25px #00000014}.select-term-page h2{color:#1e3a8a;margin-bottom:.5rem}.select-term-page p{color:#64748b;margin-bottom:1.5rem}.select-term-page .term-grid{gap:1rem;display:grid}.select-term-page button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:12px;padding:1rem;font-size:1rem;font-weight:600;transition:all .2s}.select-term-page button:hover{background:#1d4ed8;transform:translateY(-2px)}.select-term-page .saved-term{color:#059669;margin-top:1.2rem;font-size:.95rem;font-weight:600}.enter-scores-page{background:#f8fafc;min-height:100vh;padding:2rem}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.page-header h2{color:#0f172a;margin:0;font-size:30px;font-weight:700}.page-header p{color:#64748b;margin-top:6px;font-size:15px}.term-badge{color:#fff;white-space:nowrap;background:#2563eb;border-radius:40px;padding:12px 22px;font-weight:700}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.subject-select{background:#fff;border:1px solid #d1d5db;border-radius:10px;width:320px;max-width:100%;padding:13px 15px;font-size:15px}.student-count{color:#1e293b;background:#fff;border:1px solid #dbe4ee;border-radius:10px;padding:13px 18px;font-weight:600}.empty-box{text-align:center;color:#64748b;background:#fff;border:2px dashed #cbd5e1;border-radius:14px;padding:50px;font-size:16px}.table-wrap{-webkit-overflow-scrolling:touch;scrollbar-width:thin;background:#fff;border-radius:15px;overflow:auto;box-shadow:0 8px 25px #0000000d}table{border-collapse:collapse;width:100%;min-width:760px}thead th{color:#acb7c4;white-space:nowrap;z-index:2;background:#1e3a8a;padding:14px 10px;font-size:14px;position:sticky;top:0}tbody td{text-align:center;border-bottom:1px solid #eef2f7;padding:10px}tbody tr:nth-child(2n){background:#fafafa}tbody tr:hover{background:#eef5ff}th:first-child{z-index:5;background:#1e3a8a;position:sticky;left:0}td:first-child{z-index:4;white-space:normal;word-break:break-word;text-align:left;background:#fff;min-width:180px;max-width:180px;font-weight:600;position:sticky;left:0}table input{text-align:center;border:1px solid #cbd5e1;border-radius:8px;width:60px;height:40px;font-size:15px;font-weight:600;transition:all .25s}table input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.error-input{background:#fee2e2;border-color:#ef4444}.error-text,small{color:#dc2626;margin-top:4px;font-size:11px;display:block}.pass{color:#059669;font-weight:700}.fail{color:#dc2626;font-weight:700}.action-bar{justify-content:flex-end;margin-top:20px;display:flex}.save-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:10px;padding:14px 28px;font-size:15px;font-weight:700;transition:all .3s}.save-btn:hover{background:#15803d}.save-btn:disabled{opacity:.7;cursor:not-allowed}@media (width<=992px){.enter-scores-page{padding:18px}.page-header{flex-direction:column;align-items:flex-start}.toolbar{flex-direction:column;align-items:stretch}.subject-select,.student-count{width:100%}}@media (width<=768px){.enter-scores-page{padding:12px}.page-header h2{font-size:24px}.page-header p{font-size:14px}.term-badge{align-self:flex-start;padding:10px 16px;font-size:13px}table{min-width:700px}thead th{padding:10px 6px;font-size:12px}tbody td{padding:8px 5px;font-size:13px}td:first-child{min-width:150px;max-width:150px;font-size:13px}table input{width:50px;height:36px;font-size:14px}.action-bar{justify-content:center}.save-btn{width:100%;font-size:16px}}@media (width<=480px){.page-header h2{font-size:21px}.page-header p{font-size:13px}table{min-width:640px}td:first-child{min-width:135px;max-width:135px}table input{width:46px;height:34px;font-size:13px}.save-btn{padding:15px}}.teacher-register{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.register-card{background:#fff;border-radius:12px;width:100%;max-width:450px;padding:35px;box-shadow:0 8px 25px #00000014}.register-card h2{color:#1e3a8a;text-align:center;margin:0 0 10px;font-size:28px;font-weight:700}.register-card p{color:#666;text-align:center;margin-bottom:30px;line-height:1.6}.register-card input{border:1px solid #d8d8d8;border-radius:8px;width:100%;margin-bottom:18px;padding:14px 15px;font-size:15px;transition:all .3s}.register-card input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.register-card button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;font-weight:600;transition:all .3s}.register-card button:hover:not(:disabled){background:#1d4ed8}.register-card button:disabled{cursor:not-allowed;background:#9ca3af}.teacher-info{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:18px}.teacher-info p{color:#444;margin:8px 0;font-size:15px}.teacher-info strong{color:#1f2937;width:120px;display:inline-block}@media (width<=600px){.teacher-register{padding:20px}.register-card{padding:25px 20px}.register-card h2{font-size:24px}}*{box-sizing:border-box;margin:0;padding:0}.admin-layout{background:#f5f7fb;min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;width:250px;padding:25px 20px}.sidebar .logo{color:#38bdf8;margin-bottom:30px;font-size:24px;font-weight:700}.sidebar nav{flex-direction:column;gap:12px;display:flex}.sidebar nav a{color:#d1d5db;border-radius:8px;padding:12px 14px;text-decoration:none;transition:all .3s}.sidebar nav a:hover{color:#fff;background:#1f2937}.main-area{flex-direction:column;flex:1;display:flex}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:20px 30px}.topbar h1{color:#111827;font-size:24px}.content{padding:30px}@media (width<=768px){.admin-layout{flex-direction:column}.sidebar{width:100%}.sidebar nav{flex-flow:wrap}.topbar,.content{padding:15px}}.teacher-layout{background:#f8fafc;min-height:100vh;display:flex}.teacher-sidebar{color:#fff;background:#0f172a;width:240px;padding:24px 18px}.teacher-sidebar .teacher-logo{color:#22c55e;margin-bottom:28px;font-size:24px;font-weight:700}.teacher-sidebar nav{flex-direction:column;gap:12px;display:flex}.teacher-sidebar nav a{color:#cbd5e1;border-radius:10px;padding:12px 14px;text-decoration:none;transition:all .3s}.teacher-sidebar nav a:hover{color:#fff;background:#1e293b}.teacher-main{flex-direction:column;flex:1;display:flex}.teacher-topbar{background:#fff;border-bottom:1px solid #e2e8f0;padding:20px 28px}.teacher-topbar h1{color:#0f172a;font-size:24px}.teacher-content{padding:28px}@media (width<=768px){.teacher-layout{flex-direction:column}.teacher-sidebar{width:100%}.teacher-sidebar nav{flex-flow:wrap}.teacher-topbar,.teacher-content{padding:16px}}
