@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap";html,body{-webkit-text-size-adjust:100%;width:100%;max-width:100%;margin:0;padding:0;overflow-x:hidden!important}#root{width:100%;max-width:100%;min-height:100vh;overflow-x:hidden!important}img,video,canvas,svg{max-width:100%;height:auto}.admin-mobile-bar{z-index:120;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;width:100%;padding:10px 14px;display:none;position:sticky;top:0;box-shadow:0 1px 3px #0000000a}.admin-hamburger-btn{cursor:pointer;color:#0f172a;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:38px;padding:6px 10px;font-size:18px;transition:all .15s;display:inline-flex}.admin-hamburger-btn:active{background:#e2e8f0}.admin-mobile-title{text-align:center;flex-direction:column;display:flex}.admin-mobile-title strong{color:#0f172a;letter-spacing:.5px;font-size:12.5px}.admin-mobile-title span{color:#64748b;font-size:10.5px;font-weight:600}.admin-mobile-logout-btn{color:#e11d48;cursor:pointer;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:6px 10px;font-size:15px;display:inline-flex}.admin-sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:130;cursor:pointer;background:#0f172a80;animation:.2s ease-out fadeInModal;position:fixed;inset:0}.student-mobile-bar{z-index:120;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;width:100%;padding:10px 14px;display:none;position:sticky;top:0;box-shadow:0 1px 3px #0000000a}.student-hamburger-btn{cursor:pointer;color:#0f172a;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:38px;padding:6px 10px;font-size:18px;display:inline-flex}.student-mobile-title{text-align:center;flex-direction:column;display:flex}.student-mobile-title strong{color:#0f172a;letter-spacing:.4px;font-size:12.5px}.student-mobile-title span{color:#64748b;font-size:10.5px;font-weight:600}.student-mobile-logout-btn{color:#e11d48;cursor:pointer;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:6px 10px;font-size:15px;display:inline-flex}.student-sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:130;cursor:pointer;background:#0f172a80;animation:.2s ease-out fadeInModal;position:fixed;inset:0}@keyframes fadeInModal{0%{opacity:0}to{opacity:1}}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172a8c;justify-content:center;align-items:center;padding:16px 12px;display:flex;position:fixed;inset:0}.modal-container{background:#fff;border-radius:18px;width:100%;max-width:580px;animation:.2s ease-out modalPopIn;overflow:hidden;box-shadow:0 20px 40px #0000002e}.form-row-2,.form-row-grid,.form-row-grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-row-3,.form-row-grid-3{grid-template-columns:1fr 1fr 1fr;gap:16px;display:grid}.allotment-table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;margin-top:14px;overflow-x:auto}.allotment-schedule-table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.allotment-schedule-table th{color:#475569;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 14px;font-size:11.5px;font-weight:700}.allotment-schedule-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:12px 14px}@media (width<=1024px){.overview-stats-grid{grid-template-columns:repeat(2,1fr)!important}.section-att-metrics-grid{grid-template-columns:repeat(3,1fr)!important}}@media (width<=768px){.admin-layout,.portal,.student-portal,.teacher-layout{flex-direction:column!important;width:100%!important}.admin-mobile-bar,.student-mobile-bar{display:flex!important}.admin-sidebar,.sidebar,.teacher-sidebar{z-index:140!important;-webkit-overflow-scrolling:touch!important;background-color:#fff!important;width:280px!important;max-width:85vw!important;height:100vh!important;min-height:100vh!important;transition:transform .25s cubic-bezier(.4,0,.2,1)!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;overflow-y:auto!important;transform:translate(-100%)!important;box-shadow:6px 0 28px #00000038!important}.admin-sidebar.open,.sidebar.open,.teacher-sidebar.open{transform:translate(0)!important}.admin-main,.main-area,.teacher-main-wrapper,.teacher-main{width:100%!important;min-width:0!important;padding:0!important}.admin-content-area,.content,.student-content,.dashboard-content,.teacher-content{width:100%!important;max-width:100%!important;padding:14px 12px 36px!important;overflow-x:hidden!important}.admin-top-header{flex-wrap:wrap!important;gap:8px!important;padding:10px 12px!important;font-size:11.5px!important}.teacher-header{flex-wrap:wrap!important;gap:8px!important;padding:10px 12px!important}.teacher-header .header-breadcrumbs{font-size:12px!important}.teacher-header .header-breadcrumbs span{display:none!important}.teacher-header .header-controls{flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important}.teacher-class-select,.date-input{width:100%!important}.topbar.admin-header{flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:10px 12px!important}.topbar.admin-header .header-breadcrumbs{font-size:12px!important}.student-header-banner,.teachers-header-banner,.exam-header-banner,.payment-header-banner,.section-attendance-heading-bar,.student-section-header,.dashboard-header-card{flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:16px 14px!important}.registry-controls-right,.teacher-controls-right,.header-actions-group{flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important}.search-input-wrapper,.registry-search-input,.registry-select-dropdown,.btn-new-admission,.btn-export-csv{width:100%!important}.welcome-card{flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:18px 14px!important}.welcome-actions{flex-direction:column!important;gap:8px!important;width:100%!important}.welcome-actions button{justify-content:center!important;width:100%!important;min-height:42px!important}.table-controls-card{flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:14px 12px!important}.filter-group{-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;width:100%!important;padding-bottom:4px!important;overflow-x:auto!important}.filter-group .filter-btn{white-space:nowrap!important;flex-shrink:0!important}.bulk-actions{flex-wrap:wrap!important;gap:8px!important;width:100%!important}.bulk-actions button{text-align:center!important;flex:calc(50% - 4px)!important;justify-content:center!important;min-height:38px!important}.bulk-actions .btn-save-attendance{flex:100%!important}.section-filter-pills-row{-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;width:100%!important;padding-bottom:6px!important;overflow-x:auto!important}.section-tab-pill{white-space:nowrap!important;flex-shrink:0!important}.muster-header{flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:14px 16px!important}.muster-header .search-box{width:100%!important}.attendance-register-toolbar{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.attendance-filter-tabs{-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;width:100%!important;overflow-x:auto!important}.attendance-bulk-actions{flex-wrap:wrap!important;gap:8px!important;width:100%!important}.attendance-bulk-actions button{flex:calc(50% - 4px)!important;justify-content:center!important;min-height:38px!important}.students-registry-card,.muster-card,.exam-table-container,.payment-table-container,.student-table-container,.roster-card,.allotment-table-wrapper{-webkit-overflow-scrolling:touch!important;border-radius:12px!important;width:100%!important;margin-bottom:20px!important;overflow-x:auto!important}.student-table{min-width:800px!important}.muster-table{min-width:650px!important}.exam-registry-table{min-width:700px!important}.payment-registry-table{min-width:750px!important}.student-data-table,.roster-table{min-width:650px!important}.overview-stats-grid,.stats-grid,.stats-row,.metrics-grid,.teachers-directory-grid,.seating-plan-grid,.payment-kpi-grid,.wing-collection-strip,.section-att-metrics-grid{grid-template-columns:1fr!important;gap:12px!important}.attendance-summary-pills-row{grid-template-columns:1fr 1fr!important;gap:10px!important}.pagination-bar,.pagination-controls,.student-pagination{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important}.modal-overlay,.student-modal-overlay,.modal-backdrop{align-items:center!important;padding:10px 8px!important}.modal-content-card,.student-modal-box,.modal-container{border-radius:14px!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:94vh!important;display:flex!important}.modal-header-row,.modal-header,.student-modal-header{flex-wrap:wrap!important;gap:8px!important;padding:12px 14px!important}.modal-tab-nav{-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;flex-wrap:nowrap!important;gap:4px!important;padding:4px 8px 0!important;overflow-x:auto!important}.modal-tab-btn{white-space:nowrap!important;flex-shrink:0!important;padding:8px 10px!important;font-size:11.5px!important}.modal-form-body{-webkit-overflow-scrolling:touch!important;max-height:calc(90vh - 120px)!important;padding:14px 12px!important;overflow-y:auto!important}.form-row-grid-2,.form-row-grid-3,.form-row-2,.form-row-3,.form-row-grid,.dossier-preview-grid,.dossier-details-grid{grid-template-columns:1fr!important;gap:10px!important}.modal-footer-row,.modal-footer{flex-direction:column-reverse!important;gap:8px!important;width:100%!important;padding:12px 14px!important}.modal-footer-row button,.modal-footer button,.btn-modal-save,.btn-modal-cancel,.btn-modal-delete{justify-content:center!important;width:100%!important;min-height:42px!important}.hall-ticket-grid{grid-template-columns:1fr!important;gap:12px!important}.candidate-photo-box{height:120px!important}.hall-ticket-table-wrapper{-webkit-overflow-scrolling:touch!important;width:100%!important;overflow-x:auto!important}.hall-ticket-table-wrapper table{min-width:480px!important}.receipt-info-grid{grid-template-columns:1fr!important;gap:8px!important}}@media (width<=480px){.lesson-grid{grid-template-columns:1fr!important;gap:10px!important}}@media (width<=380px){.attendance-summary-pills-row{grid-template-columns:1fr!important}.admin-content-area,.content,.student-content,.dashboard-content,.teacher-content{padding:10px 8px 32px!important}.bulk-actions button{flex:100%!important}.form-field-group input,.form-field-group select,.form-input{font-size:14px!important}}@media (width>=769px){html,body,#root{height:100%!important;max-height:100%!important;overflow:hidden!important}.admin-layout,.portal,.student-portal,.teacher-layout{flex-direction:row!important;width:100%!important;max-width:100%!important;height:100vh!important;max-height:100vh!important;display:flex!important;position:relative!important;overflow:hidden!important}.admin-sidebar,.sidebar,.teacher-sidebar{z-index:50!important;background-color:#fff!important;flex-shrink:0!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:100vh!important;max-height:100vh!important;position:sticky!important;top:0!important;bottom:0!important;left:0!important;overflow:hidden auto!important;transform:none!important}.admin-main-wrapper,.admin-main-container,.student-main-wrapper,.portal-main,.teacher-main-wrapper{scroll-behavior:smooth!important;flex-direction:column!important;flex:1!important;min-width:0!important;height:100vh!important;max-height:100vh!important;display:flex!important;overflow:hidden auto!important}.admin-top-header,.admin-header-bar,.topbar,.admin-header,.teacher-header{z-index:40!important;flex-shrink:0!important;position:sticky!important;top:0!important}}*{box-sizing:border-box}body{color:#0b1f3a;background:#f8fafc;margin:0;font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.login-page{background:#f8fafc;flex-direction:column;width:100%;max-width:425px;min-height:100vh;margin:0 auto;padding:22px 18px 24px;display:flex}.login-header{text-align:center;margin-bottom:28px}.university-logo{background:#dce6f8;border-radius:50%;justify-content:center;align-items:center;width:84px;height:84px;margin:0 auto 16px;display:flex;position:relative}.shield{color:#ffb21a;background:#1c385f;border:2px solid #dce6f8;border-radius:50%;justify-content:center;align-items:center;width:78px;height:78px;font-size:39px;display:flex}.verified{color:#063f42;background:#69f0dc;border:2px solid #f8f9ff;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;font-size:16px;display:flex;position:absolute;bottom:-4px;right:-4px}.university-name{color:#6d7890;letter-spacing:1.5px;margin:0 0 8px;font-size:13px}.login-header h1{color:#071a33;margin:0;font-size:25px}.login-card{background:#fff;border-radius:14px;width:100%;padding:28px 26px 25px;box-shadow:0 3px 5px #10223f24}.login-card form>label{margin-bottom:7px;font-size:14px;font-weight:600;display:block}.input-box{background:#eef3ff;border-radius:9px;align-items:center;gap:12px;height:52px;margin-bottom:20px;padding:0 14px;display:flex}.input-icon{color:#61758e;flex-shrink:0;font-size:21px}.input-box input{color:#102748;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:16px}.input-box input::placeholder{color:#738198;opacity:1}.eye-button{color:#64758d;cursor:pointer;background:0 0;border:none;padding:0;font-size:22px}.form-options{justify-content:space-between;align-items:center;gap:8px;margin:0 0 22px;font-size:14px;display:flex}.remember-option{cursor:pointer;white-space:nowrap;align-items:center;gap:8px;display:flex}.remember-option input{accent-color:#1c385f;width:21px;height:21px;margin:0}.form-options a{color:#0b1f3a;white-space:nowrap;font-weight:600;text-decoration:none}.sign-in-button{color:#fff;cursor:pointer;background:#1c385f;border:none;border-radius:9px;width:100%;height:52px;font-size:15px;font-weight:600}.sign-in-button span{vertical-align:-1px;margin-left:3px;font-size:21px}.sign-in-button:hover{background:#142c4d}.divider{color:#6c7890;letter-spacing:1px;white-space:nowrap;align-items:center;gap:12px;margin:15px 0;font-size:13px;display:flex}.divider:before,.divider:after{content:"";background:#e1e5ee;flex:1;height:1px}.google-button{color:#3c4043;cursor:pointer;background:#fff;border:1px solid #dadce0;border-radius:8px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;font-family:Arial,sans-serif;font-size:14px;font-weight:500;transition:background .2s;display:flex}.google-button:hover{background:#f8faff;border-color:#d2e3fc}.google-icon{color:#4285f4;text-shadow:none;-webkit-text-fill-color:transparent;background:conic-gradient(from -45deg,#4285f4 0deg 90deg,#34a853 90deg 180deg,#fbbc05 180deg 270deg,#ea4335 270deg 360deg);-webkit-background-clip:text;background-clip:text;font-size:22px;font-weight:700}.login-footer{color:#a4aec0;justify-content:center;align-items:center;gap:10px;margin-top:auto;padding-top:38px;font-size:14px;display:flex}.login-footer a{color:#74819a;text-decoration:underline}@media (width<=480px){.login-page{max-width:100%;padding:16px 12px}.login-card{border-radius:12px;padding:22px 16px}.login-header{margin-bottom:20px}.university-logo{width:72px;height:72px;margin-bottom:12px}.shield{width:66px;height:66px;font-size:32px}.login-header h1{font-size:21px}.university-name{letter-spacing:1px;font-size:11.5px}.login-portal-tagline{font-size:11.5px}.form-options{flex-wrap:wrap;gap:8px;font-size:12px}.input-box{height:48px;margin-bottom:16px}.sign-in-button{height:48px;font-size:14px}.demo-btn-group{gap:6px}.demo-pill-btn{flex:calc(50% - 6px);padding:6px 8px;font-size:11px}}@media (width<=360px){.login-page{padding:12px 8px}.login-card{padding:18px 12px}.demo-pill-btn{flex:100%}.form-options{flex-direction:column;align-items:flex-start;gap:8px}}.connection-test{text-align:center;margin-top:14px}.test-backend-button{color:#1c385f;cursor:pointer;background:#fff;border:1px solid #d5ddeb;border-radius:7px;padding:9px 14px;font-size:12px}.test-backend-button:hover{background:#eef3ff}.connection-test p{color:#187344;margin-top:8px;font-size:12px}.auth-card-heading{margin-bottom:20px}.auth-card-heading h2{color:#071a33;margin:0 0 6px;font-size:19px}.auth-card-heading p{color:#64758d;margin:0;font-size:13px;line-height:1.45}.auth-card-heading strong{color:#1c385f}.input-box-disabled{opacity:.65}.inline-otp-button{color:#fff;cursor:pointer;white-space:nowrap;background:#1c385f;border:none;border-radius:6px;flex-shrink:0;padding:7px 11px;font-size:12px;font-weight:600;transition:background .2s}.inline-otp-button:hover:not(:disabled){background:#142c4d}.inline-otp-button:disabled{cursor:not-allowed;background:#9aa8bc}.auth-status-message{text-align:center;margin-top:12px;font-size:13px;line-height:1.4}.status-success{color:#087c54}.status-error{color:#d32f2f}.back-to-login-row{text-align:center;margin-top:18px}.back-to-login-link{color:#1c385f;font-size:13px;font-weight:600;text-decoration:none}.back-to-login-link:hover{text-decoration:underline}.school-code-badge{color:#1d4ed8;letter-spacing:.3px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;margin-bottom:8px;padding:4px 12px;font-size:11px;font-weight:800;display:inline-block}.login-portal-tagline{color:#64748b;margin:6px 0 0;font-size:12.5px;font-weight:500}.auth-page-container{box-sizing:border-box;background-color:#f8fafc;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:20px;font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.auth-header{text-align:center;margin-bottom:24px}.auth-logo-badge{color:#fff;background-color:#1c385f;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 12px;font-size:24px;display:flex;box-shadow:0 4px 6px -1px #0000001a}.auth-subtitle{letter-spacing:1.5px;color:#64748b;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:700}.auth-title{color:#0f172a;margin:0;font-size:22px;font-weight:800}.auth-card{box-sizing:border-box;background-color:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:420px;padding:36px 32px;box-shadow:0 10px 25px -5px #0000000d,0 8px 10px -6px #00000003}.card-heading{color:#0f172a;margin:0 0 8px;font-size:20px;font-weight:700}.card-description{color:#64748b;margin:0 0 24px;font-size:14px;line-height:1.5}.form-group{margin-bottom:18px}.form-label{color:#334155;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.input-wrapper{background-color:#eff6ff;border:1px solid #dbeafe;border-radius:8px;align-items:center;display:flex;overflow:hidden}.input-icon{justify-content:center;align-items:center;padding:10px 12px;font-size:16px;display:flex}.form-input{color:#0f172a;box-sizing:border-box;background-color:#0000;border:none;outline:none;width:100%;padding:12px 14px;font-size:14px}.standard-input{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 14px;font-size:14px}.standard-input:focus{border-color:#1c385f}.otp-box-input{letter-spacing:10px;text-align:center;box-sizing:border-box;color:#0f172a;background-color:#f8fafc;border:2px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:12px;font-size:28px;font-weight:700}.otp-box-input:focus{border-color:#1c385f}.timer-wrapper{text-align:center;margin:12px 0 18px;font-size:13px}.timer-active{color:#2563eb;font-weight:600}.timer-warning{color:#dc2626;font-weight:600}.timer-expired{color:#dc2626;font-weight:700}.btn-primary{color:#fff;cursor:pointer;background-color:#1c385f;border:none;border-radius:8px;width:100%;padding:13px;font-size:15px;font-weight:600;transition:opacity .15s,background-color .15s}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.resend-container{text-align:center;min-height:24px;margin-top:16px}.resend-button{color:#2563eb;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;font-weight:700;text-decoration:underline}.resend-button:disabled{color:#94a3b8;cursor:not-allowed}.resend-wait-text{color:#94a3b8;font-size:12px}.feedback-error{color:#dc2626;text-align:center;background-color:#fef2f2;border:1px solid #fee2e2;border-radius:6px;margin-bottom:14px;padding:8px 12px;font-size:13px}.feedback-success{color:#16a34a;text-align:center;background-color:#f0fdf4;border:1px solid #dcfce7;border-radius:6px;margin-bottom:14px;padding:8px 12px;font-size:13px}.footer-link-group{text-align:center;margin-top:24px}.back-to-login{color:#1c385f;font-size:13px;font-weight:600;text-decoration:none}.page-legal-footer{color:#64748b;align-items:center;gap:12px;margin-top:36px;font-size:12px;display:flex}.legal-item{color:#64748b;text-decoration:none}.password-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.password-field-input{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 42px 12px 14px;font-size:14px;transition:border-color .15s,box-shadow .15s}.password-field-input:focus{border-color:#1c385f;box-shadow:0 0 0 3px #1c385f1a}.password-toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:color .15s;display:flex;position:absolute;right:12px}.password-toggle-btn:hover{color:#1c385f}@media (width<=480px){.auth-page-container{padding:14px 10px}.auth-card{border-radius:14px;max-width:100%;padding:22px 16px}.auth-title{font-size:19px}.card-heading{font-size:17px}.card-description{margin-bottom:18px;font-size:13px}.otp-box-input{letter-spacing:6px;padding:10px 8px;font-size:22px}.page-legal-footer{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px;font-size:11px}}body{color:#1e293b;background-color:#f8fafc;font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,sans-serif}.admin-layout{background-color:#f8fafc;height:100vh;max-height:100vh;display:flex;overflow:hidden}.admin-sidebar{z-index:50;background:#fff;border-right:1px solid #e2e8f0;flex-direction:column;flex-shrink:0;justify-content:space-between;width:260px;min-width:260px;height:100vh;max-height:100vh;padding:24px 18px;display:flex;position:sticky;top:0;left:0;overflow:hidden auto}.admin-sidebar::-webkit-scrollbar{width:5px}.admin-sidebar::-webkit-scrollbar-track{background:0 0}.admin-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-sidebar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.sidebar-header{margin-bottom:24px}.sampoorna-live-pill,.sampoorna-pill-badge{color:#065f46;letter-spacing:.5px;background:#d1fae5;border-radius:20px;align-items:center;gap:8px;margin-bottom:24px;padding:7px 14px;font-size:11px;font-weight:800;display:inline-flex}.dot,.status-indicator-dot{background:#10b981;border-radius:50%;width:8px;height:8px}.console-nav-list,.sidebar-menu{flex-direction:column;gap:8px;display:flex}.console-nav-item,.sidebar-menu-item{color:#475569;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px 14px;font-size:13.5px;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.console-nav-item:hover,.sidebar-menu-item:hover{color:#0f172a;background:#f1f5f9}.console-nav-item.active,.sidebar-menu-item.active{color:#fff;background:#1d4ed8;box-shadow:0 4px 12px #1d4ed840}.sidebar-bottom-profile{background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;align-items:center;gap:10px;margin-top:auto;padding:12px 14px;display:flex}.profile-avatar-circle{color:#fff;background:#1d4ed8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:16px;display:flex}.profile-name-row{color:#0f172a;font-size:12px;font-weight:700}.admin-main-wrapper,.admin-main-container{scroll-behavior:smooth;flex-direction:column;flex:1;min-width:0;height:100vh;max-height:100vh;display:flex;overflow:hidden auto}.admin-main-wrapper::-webkit-scrollbar{width:8px}.admin-main-container::-webkit-scrollbar{width:8px}.admin-main-wrapper::-webkit-scrollbar-track{background:#f8fafc}.admin-main-container::-webkit-scrollbar-track{background:#f8fafc}.admin-main-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-main-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-main-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-main-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-top-header,.admin-header-bar{color:#475569;z-index:30;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;height:64px;padding:0 32px;font-size:12.5px;font-weight:600;display:flex;position:sticky;top:0}.admin-content-area,.admin-dashboard-content{flex:1;width:100%;max-width:1400px;padding:28px 32px 40px}.headmaster-hero-card,.governance-hero-banner{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:26px;padding:26px 30px;box-shadow:0 1px 3px #0000000a}.badge-row,.hero-tag-pills-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.badge-governance{color:#0369a1;letter-spacing:.5px;text-transform:uppercase;background:#e0f2fe;border-radius:6px;padding:5px 10px;font-size:10.5px;font-weight:800}.badge-sync{color:#15803d;background:#dcfce7;border-radius:99px;align-items:center;gap:6px;padding:5px 12px;font-size:11px;font-weight:700;display:inline-flex}.headmaster-hero-card h1,.governance-hero-banner h1{color:#0f172a;margin-bottom:8px;font-size:26px;font-weight:800}.headmaster-hero-card p,.governance-hero-banner p{color:#64748b;font-size:13.5px;line-height:1.5}.overview-stats-grid,.primary-metrics-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px;display:grid}.overview-stat-card,.admin-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;padding:22px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 1px 3px #0000000a}.overview-stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.card-label{color:#64748b;letter-spacing:.6px;text-transform:uppercase;font-size:11px;font-weight:800}.overview-number{color:#0f172a;margin:12px 0 8px;font-size:28px;font-weight:800;line-height:1.1}.sub-text{color:#64748b;font-size:12px}.text-green{color:#16a34a;font-weight:700}.text-red{color:#dc2626;font-weight:700}.text-teal{color:#0d9488;font-weight:700}.hero-banner{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:24px 30px;display:flex}.hero-banner h1{color:#0f172a;font-size:22px;font-weight:800}.btn-sync{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.btn-sync:hover{background:#e2e8f0}.muster-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.muster-header{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.muster-header h2{color:#0f172a;font-size:17px;font-weight:800}.search-box{border:1px solid #cbd5e1;border-radius:8px;outline:none;width:280px;padding:9px 16px;font-size:13px}.search-box:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.muster-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.muster-table th{color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 20px;font-weight:700}.muster-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:16px 20px}.muster-table tr:hover{background:#f8fafc}.pill-turnout{color:#1d4ed8;background:#eff6ff;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:700}.pill-synced{color:#047857;background:#ecfdf5;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:700}.btn-register{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:6px;padding:6px 14px;font-weight:600}.btn-register:hover{background:#1e40af}@media (width<=1100px){.overview-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.admin-layout{flex-direction:column;height:auto;max-height:none;overflow:visible}.admin-main-wrapper,.admin-main-container{height:auto;max-height:none;overflow:visible}.admin-sidebar{z-index:140;-webkit-overflow-scrolling:touch;background-color:#fff;width:280px;max-width:85vw;height:100vh;min-height:100vh;transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%);box-shadow:6px 0 28px #00000038}.admin-sidebar.open{transform:translate(0)}.overview-stats-grid{grid-template-columns:1fr}.admin-content-area{padding:14px 12px}}.student-header-banner{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px 28px;display:flex;box-shadow:0 1px 3px #00000008}.registry-title-left{align-items:center;gap:16px;display:flex}.registry-icon-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex}.registry-title-text h1{color:#0f172a;margin:0 0 4px;font-size:20px;font-weight:800}.registry-title-text p{color:#64748b;margin:0;font-size:13px}.registry-controls-right{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.search-input-wrapper{align-items:center;display:flex;position:relative}.search-input-icon{color:#94a3b8;pointer-events:none;font-size:14px;position:absolute;left:12px}.registry-search-input{background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:270px;padding:10px 14px 10px 34px;font-size:13px;transition:all .2s}.registry-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.registry-select-dropdown{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;padding:10px 14px;font-size:13px;font-weight:600;transition:all .2s}.registry-select-dropdown:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.btn-new-admission{color:#fff;cursor:pointer;white-space:nowrap;background:#135bec;border:none;border-radius:9px;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:700;transition:background .2s,transform .1s;display:inline-flex}.btn-new-admission:hover{background:#0d48be}.btn-new-admission:active{transform:scale(.98)}.stat-card-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.stat-icon-circle{border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;display:flex}.stat-icon-circle.blue{color:#1d4ed8;background:#eff6ff}.stat-icon-circle.green{color:#047857;background:#ecfdf5}.stat-icon-circle.purple{color:#6d28d9;background:#f5f3ff}.stat-icon-circle.emerald{color:#059669;background:#ecfdf5}.stat-number-green{color:#047857!important}.stat-number-emerald{color:#059669!important}.students-registry-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:30px;overflow:hidden;box-shadow:0 1px 3px #00000008}.student-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.student-table th{color:#64748b;text-transform:uppercase;letter-spacing:.6px;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11px;font-weight:700}.student-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:16px 18px}.student-table tr:hover{background:#fbfcfe}.roll-no-badge{color:#0f172a;font-weight:800}.adm-no-link{color:#135bec;cursor:pointer;font-weight:700;text-decoration:none}.adm-no-link:hover{text-decoration:underline}.subtext-dim{color:#64748b;margin-top:2px;font-size:11px;font-weight:500;display:block}.student-name-cell strong{color:#0f172a;font-size:13.5px;font-weight:700}.pill-division{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-block}.category-badge{border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-block}.category-badge.general{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0}.category-badge.obc{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.category-badge.sc{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.category-badge.oec{color:#047857;background:#ecfdf5;border:1px solid #bbf7d0}.attendance-rate-green{color:#047857;font-size:13.5px;font-weight:800}.btn-edit-link{color:#135bec;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:13px;font-weight:700}.btn-edit-link:hover{background:#eff6ff;text-decoration:underline}.registry-footer-bar{color:#64748b;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-size:12.5px;display:flex}.pagination-controls{align-items:center;gap:4px;display:flex}.page-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:12.5px;font-weight:600;transition:all .15s;display:flex}.page-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.page-btn.active{color:#fff;background:#135bec;border-color:#135bec;font-weight:700}.page-btn:disabled{opacity:.4;cursor:not-allowed}.btn-export-link{color:#135bec;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.btn-export-link:hover{text-decoration:underline}.platform-footer-card{color:#64748b;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-top:20px;padding:20px 0;font-size:12px;display:flex}.platform-footer-card strong{color:#1e293b}.operational-pill{color:#059669;align-items:center;gap:6px;font-weight:700;display:inline-flex}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-content-card{background:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:580px;max-height:90vh;animation:.2s ease-out modalPopIn;display:flex;overflow:hidden;box-shadow:0 20px 40px #0000002e}.modal-content-card.modal-lg{max-width:780px}.modal-content-card form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.modal-tab-nav{background:#f1f5f9;border-bottom:1px solid #e2e8f0;flex-shrink:0;gap:8px;padding:4px 16px 0;display:flex;overflow-x:auto}.modal-tab-btn{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:10px 16px;font-size:13px;font-weight:700;transition:all .15s;display:flex}.modal-tab-btn:hover{color:#0f172a}.modal-tab-btn.active{color:#135bec;background:#fff;border-bottom-color:#135bec;border-radius:8px 8px 0 0}.form-section-header{color:#1e293b;text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid #f1f5f9;align-items:center;gap:8px;margin:18px 0 12px;padding-bottom:6px;font-size:13px;font-weight:800;display:flex}.form-row-grid-3{grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.helper-text{color:#64748b;margin-top:2px;font-size:11px}.aadhaar-verified-pill{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:4px;align-items:center;gap:4px;margin-top:3px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-flex}.aadhaar-pending-pill{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:4px;align-items:center;gap:4px;margin-top:3px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-flex}.btn-dossier-link{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:700;transition:all .15s}.btn-dossier-link:hover{background:#dbeafe;border-color:#93c5fd}.dossier-preview-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.dossier-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.dossier-card h4{color:#1e293b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0;align-items:center;gap:8px;margin:0 0 12px;padding-bottom:8px;font-size:13px;font-weight:800;display:flex}.dossier-field-row{border-bottom:1px dashed #e2e8f0;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px;display:flex}.dossier-field-row:last-child{border-bottom:none}.dossier-field-row .label{color:#64748b;font-weight:600}.dossier-field-row .value{color:#0f172a;text-align:right;font-weight:700}.dossier-blood-pill{color:#b91c1c;background:#fee2e2;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:800}@media (width<=640px){.form-row-grid-2,.form-row-grid-3,.dossier-preview-grid{grid-template-columns:1fr}}@keyframes modalPopIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.modal-header-row{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 26px;display:flex}.modal-header-row h3{color:#0f172a;margin:0;font-size:18px;font-weight:800}.modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:4px;font-size:20px;line-height:1}.modal-close-btn:hover{color:#0f172a}.modal-form-body,.allotment-modal-body{flex:1;min-height:0;padding:24px 26px;overflow-y:auto}.form-row-grid-2{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.form-field-group{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.form-field-group label{color:#334155;text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.form-field-group input,.form-field-group select{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:10px 12px;font-size:13.5px}.form-field-group input:focus,.form-field-group select:focus{border-color:#135bec;box-shadow:0 0 0 3px #135bec1f}.modal-footer-row{background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;margin-top:auto;padding:16px 26px;display:flex}.btn-modal-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:700}.btn-modal-cancel:hover{background:#f1f5f9}.btn-modal-save{color:#fff;cursor:pointer;background:#135bec;border:none;border-radius:8px;padding:10px 22px;font-size:13px;font-weight:700}.btn-modal-save:hover{background:#0d48be}.btn-modal-delete{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:8px;margin-right:auto;padding:10px 18px;font-size:13px;font-weight:700}.btn-modal-delete:hover{background:#fecaca}.upload-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:16px 20px;transition:all .2s;display:flex}.upload-dropzone:hover{background:#eff6ff;border-color:#135bec}.upload-dropzone.disabled{opacity:.6;pointer-events:none}.upload-icon-circle{color:#135bec;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex}.upload-prompt-text{color:#1e293b;margin:0;font-size:13px;font-weight:700}.upload-sub-text{color:#64748b;margin:0;font-size:11.5px}.uploaded-file-card{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;margin-top:8px;padding:12px 16px;display:flex}.uploaded-file-info{align-items:center;gap:12px;min-width:0;display:flex}.uploaded-file-thumbnail{object-fit:cover;border:1px solid #cbd5e1;border-radius:6px;width:44px;height:44px}.uploaded-pdf-badge{color:#dc2626;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:11px;font-weight:800;display:flex}.uploaded-file-names{min-width:0}.uploaded-file-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:280px;font-size:13px;font-weight:700;display:block;overflow:hidden}.uploaded-file-status{color:#047857;font-size:11px;font-weight:600}.uploaded-file-actions{align-items:center;gap:8px;display:flex}.btn-file-preview{color:#135bec;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:4px;padding:6px 12px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.btn-file-preview:hover{background:#eff6ff}.btn-file-remove{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:700}.btn-file-remove:hover{background:#fee2e2}.id-proof-doc-link{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;align-items:center;gap:3px;margin-top:3px;padding:2px 6px;font-size:10px;font-weight:700;text-decoration:none;transition:all .15s;display:inline-flex}.id-proof-doc-link:hover{background:#dbeafe}.dossier-doc-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;margin-top:8px;padding:10px 14px;display:flex}.teachers-directory-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px;display:grid}.teacher-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:space-between;padding:22px;transition:all .2s;display:flex;box-shadow:0 1px 3px #00000008}.teacher-card:hover{border-color:#cbd5e1;box-shadow:0 6px 16px #0000000f}.teacher-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.teacher-profile-left{align-items:flex-start;gap:14px;min-width:0;display:flex}.teacher-avatar-circle{color:#1d4ed8;background:#dbeafe;border:1px solid #bfdbfe;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:15px;font-weight:800;display:flex}.teacher-meta-name-col{flex-direction:column;min-width:0;display:flex}.teacher-name-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;margin:0;font-size:15px;font-weight:800;display:flex;overflow:hidden}.teacher-verified-icon{color:#135bec;font-size:13px}.teacher-dept-subtext{color:#135bec;margin:2px 0 4px;font-size:13px;font-weight:700}.mentor-charge-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;width:fit-content;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.status-pill-in-class{color:#065f46;white-space:nowrap;background:#d1fae5;border-radius:12px;flex-shrink:0;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-pill-active{color:#047857;white-space:nowrap;background:#ecfdf5;border-radius:12px;flex-shrink:0;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-pill-on-duty{color:#6b21a8;white-space:nowrap;background:#f3e8ff;border-radius:12px;flex-shrink:0;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-pill-on-leave{color:#92400e;white-space:nowrap;background:#fef3c7;border-radius:12px;flex-shrink:0;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.teacher-card-body{border-top:1px solid #f1f5f9;flex-direction:column;gap:8px;margin-top:18px;padding-top:14px;display:flex}.teacher-meta-row{justify-content:space-between;align-items:center;font-size:12.5px;display:flex}.teacher-meta-label{color:#64748b;font-weight:600}.teacher-meta-value{color:#0f172a;font-weight:800}.teacher-card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:18px;padding-top:14px;display:flex}.btn-allotment-link{color:#64748b;cursor:pointer;background:0 0;border:none;padding:0;font-size:12.5px;font-weight:700;transition:color .15s}.btn-allotment-link:hover{color:#0f172a}.btn-edit-profile-link{color:#135bec;cursor:pointer;background:0 0;border:none;padding:0;font-size:12.5px;font-weight:700;transition:color .15s}.btn-edit-profile-link:hover{color:#0d48be}@media (width<=1024px){.teachers-directory-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.teachers-directory-grid{grid-template-columns:1fr}}.exam-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;overflow:hidden;box-shadow:0 4px 14px #00000008}.exam-registry-table{border-collapse:collapse;text-align:left;width:100%}.exam-registry-table th{color:#475569;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11px;font-weight:800}.exam-registry-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:16px 18px;font-size:13.5px}.exam-registry-table tr:hover{background:#fbfcfe}.exam-date-cell{flex-direction:column;gap:2px;display:flex}.exam-date-primary{color:#0f172a;font-size:13.5px;font-weight:800}.exam-date-subtext{color:#64748b;font-size:11.5px;font-weight:600}.exam-time-primary{color:#1e293b;font-size:13px;font-weight:700}.exam-duration-subtext{color:#64748b;font-size:11.5px}.exam-standard-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-block}.exam-subject-title{color:#0f172a;margin-bottom:4px;font-size:13.5px;font-weight:700}.exam-subject-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.exam-qp-badge{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;padding:2px 7px;font-family:monospace;font-size:11px;font-weight:700}.exam-marks-meta{color:#64748b;font-size:11.5px;font-weight:600}.exam-hall-primary{color:#0f172a;font-size:13px;font-weight:700}.exam-candidates-meta{color:#64748b;font-size:11.5px}.exam-invigilator-text{color:#334155;font-size:12.5px;font-weight:600}.exam-status-published{color:#15803d;background:#dcfce7;border-radius:14px;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.exam-status-draft{color:#b45309;background:#fef3c7;border-radius:14px;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.exam-actions-cell{align-items:center;gap:8px;display:flex}.btn-seating-action{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:700;transition:all .15s}.btn-seating-action:hover{background:#eff6ff;border-color:#1d4ed8}.btn-exam-edit{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:12.5px;font-weight:700;transition:color .15s}.btn-exam-edit:hover{color:#135bec;background:#f1f5f9}.btn-exam-delete{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:12.5px;font-weight:700;transition:color .15s}.btn-exam-delete:hover{color:#ef4444;background:#fef2f2}.seating-plan-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px;display:grid}.seating-hall-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:10px;padding:16px;display:flex}.seating-hall-header{justify-content:space-between;align-items:center;display:flex}.seating-hall-badge{color:#fff;background:#1d4ed8;border-radius:6px;padding:3px 10px;font-size:11.5px;font-weight:800}.seating-candidate-count{color:#065f46;background:#d1fae5;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700}.seating-room-name{color:#0f172a;font-size:13px;font-weight:700}.seating-roll-range{color:#475569;font-size:12.5px}.seating-invigilator-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:12px;display:flex}.seating-invigilator-label{color:#64748b;font-weight:600}.seating-invigilator-value{color:#0f172a;font-weight:700}@media (width<=768px){.seating-plan-grid{grid-template-columns:1fr}}.attendance-modal-topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.attendance-date-picker-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;padding:6px 14px;display:flex}.attendance-date-input{color:#0f172a;cursor:pointer;background:0 0;border:none;outline:none;font-size:13px;font-weight:700}.attendance-summary-pills-row{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.attendance-summary-mini-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.attendance-mini-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.attendance-mini-value{color:#0f172a;font-size:18px;font-weight:800}.attendance-register-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.attendance-filter-tabs{align-items:center;gap:6px;display:flex}.att-tab-btn{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:6px 14px;font-size:12px;font-weight:700;transition:all .15s}.att-tab-btn:hover{color:#0f172a;background:#f1f5f9}.att-tab-btn.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.attendance-bulk-actions{align-items:center;gap:8px;display:flex}.btn-bulk-present{color:#15803d;cursor:pointer;background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .15s}.btn-bulk-present:hover{background:#bbf7d0}.btn-bulk-absent{color:#b91c1c;cursor:pointer;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .15s}.btn-bulk-absent:hover{background:#fecaca}.reg-segmented-toggle{background-color:#f1f5f9;border-radius:6px;align-items:center;gap:2px;padding:2px;display:inline-flex}.reg-segment-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 12px;font-size:11px;font-weight:700;transition:all .15s}.reg-segment-btn.active-present{color:#fff;background-color:#059669}.reg-segment-btn.active-absent{color:#fff;background-color:#dc2626}.reg-segment-btn.active-leave{color:#fff;background-color:#d97706}@media (width<=768px){.attendance-summary-pills-row{grid-template-columns:repeat(2,1fr)}}.section-attendance-wrapper{margin-top:10px;margin-bottom:36px}.section-attendance-heading-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.section-att-main-heading{color:#0f172a;letter-spacing:-.3px;margin:0;font-size:20px;font-weight:800}.section-att-main-subtext{color:#64748b;margin:4px 0 0;font-size:13.5px;line-height:1.4}.section-att-all-muster-btn{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #0000000a}.section-att-all-muster-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.section-attendance-stack{flex-direction:column;gap:20px;display:flex}.section-attendance-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px 24px 24px;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 1px 3px #00000008,0 1px 2px #00000005}.section-attendance-card:hover{border-color:#cbd5e1;box-shadow:0 4px 14px #0000000d}.section-att-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.section-att-title-group{flex-direction:column;gap:4px;display:flex}.section-att-title-row{align-items:center;gap:10px;display:flex}.section-att-icon-badge{color:#1d4ed8;flex-shrink:0;justify-content:center;align-items:center;display:flex}.section-att-heading{color:#0f172a;letter-spacing:-.2px;margin:0;font-size:19px;font-weight:800}.section-att-subtitle{color:#64748b;margin:0;font-size:13.5px;line-height:1.4}.section-att-btn-muster{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;align-items:center;gap:7px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #1d4ed80d}.section-att-btn-muster:hover{color:#1e40af;background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 2px 4px #1d4ed81a}.section-att-metrics-grid{grid-template-columns:repeat(5,1fr);gap:14px;display:grid}.section-att-metric-pill{box-sizing:border-box;background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;flex-direction:column;justify-content:space-between;min-height:94px;padding:16px 18px;display:flex}.section-att-pill-label{color:#64748b;letter-spacing:.6px;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:800}.section-att-pill-value{margin-bottom:6px;font-size:24px;font-weight:800;line-height:1.15}.section-att-pill-subtext{font-size:12.5px;font-weight:500;line-height:1.3}.val-turnout{color:#047857}.sub-turnout{color:#475569}.val-enrolled{color:#0f172a}.sub-enrolled{color:#475569}.val-present{color:#1d4ed8}.sub-present{color:#047857;font-weight:600}.val-absent{color:#dc2626}.sub-absent{color:#b91c1c;font-weight:600}.val-locked{color:#047857}.sub-locked{color:#047857;font-weight:600}.section-filter-pills-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px;display:flex}.section-tab-pill{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.section-tab-pill:hover{color:#0f172a;background:#e2e8f0}.section-tab-pill.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8;box-shadow:0 2px 6px #1d4ed840}@media (width<=1150px){.section-att-metrics-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=768px){.section-att-header{flex-direction:column;align-items:flex-start}.section-att-btn-muster{justify-content:center;width:100%}.section-att-metrics-grid{grid-template-columns:1fr}}.payment-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.payment-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:6px;padding:18px 20px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #00000008}.payment-kpi-card:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0000000f}.kpi-icon-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.kpi-label{color:#64748b;letter-spacing:.5px;text-transform:uppercase;font-size:11px;font-weight:800}.kpi-badge{letter-spacing:.3px;border-radius:9999px;padding:3px 8px;font-size:10.5px;font-weight:800}.kpi-badge.rate{color:#15803d;background:#dcfce7}.kpi-badge.due{color:#b91c1c;background:#fee2e2}.kpi-badge.bus{color:#1d4ed8;background:#dbeafe}.kpi-badge.annual{color:#0f766e;background:#ccfbf1}.kpi-badge.pta{color:#7e22ce;background:#f3e8ff}.kpi-amount{color:#0f172a;letter-spacing:-.5px;font-size:24px;font-weight:800;line-height:1.1}.kpi-subtext{color:#64748b;font-size:11.5px;font-weight:500}.wing-collection-strip{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px;display:grid}.wing-progress-pill-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;padding:14px 18px;display:flex;box-shadow:0 1px 3px #00000005}.wing-header-line{justify-content:space-between;align-items:center;display:flex}.wing-pill-title{color:#0f172a;font-size:13px;font-weight:700}.wing-pill-rate{color:#2563eb;font-size:12px;font-weight:800}.wing-bar-wrapper{background:#e2e8f0;border-radius:9999px;width:100%;height:6px;overflow:hidden}.wing-bar-fill{background:linear-gradient(90deg,#3b82f6,#1d4ed8);border-radius:9999px;height:100%;transition:width .4s}.wing-footer-line{color:#0f172a;justify-content:space-between;align-items:center;font-size:11.5px;font-weight:600;display:flex}.payment-controls-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;padding:14px 20px;display:flex;box-shadow:0 1px 3px #00000005}.search-field-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex:1;align-items:center;gap:8px;min-width:260px;padding:8px 12px;display:flex}.search-field-box input{color:#0f172a;background:0 0;border:none;outline:none;width:100%;font-size:13px}.search-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:13px}.filter-dropdown-group{align-items:center;gap:8px;display:flex}.filter-dropdown-group label{color:#64748b;white-space:nowrap;font-size:12px;font-weight:700}.filter-dropdown-group select{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:8px 12px;font-size:12.5px;font-weight:600}.payment-status-pills{align-items:center;gap:6px;display:flex}.status-pill-btn{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:7px 14px;font-size:12px;font-weight:700;transition:all .15s}.status-pill-btn:hover{color:#0f172a;background:#f1f5f9}.status-pill-btn.active{color:#fff;background:#2563eb;border-color:#2563eb}.status-pill-btn.paid.active{background:#16a34a;border-color:#16a34a}.status-pill-btn.partial.active{background:#d97706;border-color:#d97706}.status-pill-btn.pending.active{background:#dc2626;border-color:#dc2626}.payment-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:30px;overflow-x:auto;box-shadow:0 1px 3px #00000005}.payment-registry-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.payment-registry-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.payment-registry-table th{color:#475569;letter-spacing:.5px;text-transform:uppercase;padding:13px 18px;font-size:11px;font-weight:800}.payment-registry-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .15s}.payment-registry-table tbody tr:hover{background:#f8fafc}.payment-registry-table tbody tr.row-pending{background:#fffdfd}.payment-registry-table td{color:#1e293b;vertical-align:middle;padding:14px 18px}.payment-receipt-badge{color:#1d4ed8;background:#eff6ff;border-radius:6px;margin-bottom:2px;padding:3px 8px;font-family:monospace;font-size:12px;font-weight:700;display:inline-block}.payment-date-sub{color:#64748b;font-size:11px}.student-name-bold{color:#0f172a;font-weight:700}.student-adm-sub{color:#64748b;font-size:11.5px}.class-div-pill{color:#0f172a;font-size:12px;font-weight:700}.wing-tag-sub{color:#64748b;font-size:10.5px;font-weight:500}.fee-cat-badge{border-radius:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-block}.fee-cat-badge.busfee{color:#1e40af;background:#dbeafe}.fee-cat-badge.annualfee{color:#166534;background:#dcfce7}.fee-cat-badge.ptafund{color:#6b21a8;background:#f3e8ff}.fee-cat-badge.labcomputerfee{color:#3730a3;background:#e0e7ff}.fee-cat-badge.specialexamfee{color:#92400e;background:#fef3c7}.fee-cat-badge.sportslibrary{color:#334155;background:#f1f5f9}.fee-term-sub{color:#64748b;margin-top:2px;font-size:10.5px}.amount-col{font-family:monospace;font-size:13.5px}.due-amount-highlight{font-weight:700}.pay-mode-text{color:#0f172a;font-size:12px;font-weight:600}.pay-ref-text{color:#64748b;font-family:monospace;font-size:10.5px}.payment-status-badge{letter-spacing:.3px;border-radius:9999px;align-items:center;gap:5px;padding:4px 10px;font-size:11px;font-weight:800;display:inline-flex}.payment-status-badge.paid{color:#15803d;background:#dcfce7}.payment-status-badge.partial{color:#b45309;background:#fef3c7}.payment-status-badge.pending{color:#b91c1c;background:#fee2e2}.payment-action-btns{justify-content:center;align-items:center;gap:6px;display:flex}.payment-action-btns button{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;transition:all .15s;display:flex}.payment-action-btns button:hover{background:#f1f5f9;border-color:#cbd5e1}.payment-pagination-bar{color:#64748b;background:#fff;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:14px 20px;font-size:12.5px;display:flex}.pagination-buttons{align-items:center;gap:8px;display:flex}.pagination-buttons button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:6px 14px;font-size:12px;font-weight:600}.pagination-buttons button:hover:not(:disabled){color:#0f172a;background:#f1f5f9}.pagination-buttons button:disabled{opacity:.4;cursor:not-allowed}.autocomplete-dropdown{z-index:60;background:#fff;border:1px solid #cbd5e1;border-radius:8px;max-height:200px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 10px 25px #0000001a}.autocomplete-item{cursor:pointer;border-bottom:1px solid #f1f5f9;flex-direction:column;gap:2px;padding:8px 12px;transition:background .15s;display:flex}.autocomplete-item:hover{background:#eff6ff}.printable-receipt-container{color:#0f172a;background:#fff;border:2px solid #0f172a;border-radius:8px;margin-top:12px;padding:24px;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,sans-serif}.receipt-letterhead{text-align:center;border-bottom:2px solid #0f172a;margin-bottom:16px;padding-bottom:12px}.receipt-govt-title{letter-spacing:1.5px;color:#475569;font-size:12px;font-weight:800}.receipt-dept-title{color:#334155;font-size:12px;font-weight:700}.receipt-school-title{letter-spacing:-.3px;color:#0f172a;margin:4px 0;font-size:17px;font-weight:800}.receipt-sub-code{color:#64748b;margin-bottom:8px;font-size:11px}.receipt-type-banner{color:#fff;letter-spacing:.8px;background:#0f172a;border-radius:4px;padding:4px 14px;font-size:11px;font-weight:800;display:inline-block}.receipt-meta-grid{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;grid-template-columns:1fr 1fr;row-gap:8px;margin-bottom:16px;padding:10px 14px;font-size:12.5px;display:grid}.receipt-breakdown-table{border-collapse:collapse;width:100%;margin-bottom:16px;font-size:12.5px}.receipt-breakdown-table th{text-transform:uppercase;background:#f1f5f9;border:1px solid #cbd5e1;padding:8px 12px;font-size:11px;font-weight:800}.receipt-breakdown-table td{border:1px solid #cbd5e1;padding:10px 12px}.receipt-payment-info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:10px 14px;font-size:12px;display:flex}.receipt-footer-row{justify-content:space-between;align-items:flex-end;margin-top:20px;padding-top:12px;display:flex}.official-stamp-circle{color:#1d4ed8;opacity:.85;border:2px dashed #1d4ed8;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:78px;height:78px;font-size:9px;font-weight:800;display:flex;transform:rotate(-8deg)}.receipt-signature-box{text-align:center}.sig-line{border-bottom:1px solid #0f172a;width:140px;margin-bottom:4px}.sig-title{font-size:12px;font-weight:700}.sig-role,.sig-date{color:#64748b;font-size:10.5px}@media (width<=1200px){.payment-kpi-grid{grid-template-columns:repeat(3,1fr)}.wing-collection-strip{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.payment-kpi-grid,.wing-collection-strip{grid-template-columns:1fr}.payment-controls-card{flex-direction:column;align-items:stretch}}@media print{body *{visibility:hidden}#printable-receipt,#printable-receipt *{visibility:visible}#printable-receipt{width:100%;margin:0;padding:16px;position:absolute;top:0;left:0;color:#000!important;box-shadow:none!important;background:#fff!important;border:none!important}.modal-overlay{background:0 0!important;padding:0!important;position:static!important}.modal-content-card{box-shadow:none!important;background:0 0!important;border:none!important;width:100%!important;max-width:100%!important;padding:0!important}.btn-secondary-action,.modal-close-btn,.modal-header-row{display:none!important}}:root{--primary-blue:#2563eb;--primary-blue-hover:#1d4ed8;--bg-page:#f8fafc;--card-bg:#fff;--border-subtle:#e2e8f0;--border-strong:#cbd5e1;--text-main:#0f172a;--text-muted:#64748b;--present-green:#16a34a;--present-green-hover:#15803d;--absent-red:#dc2626;--absent-red-hover:#b91c1c;--absent-row-bg:#fff7f7;--absent-row-hover:#fef2f2}*{box-sizing:border-box;margin:0;padding:0}.teacher-layout{background-color:var(--bg-page);width:100%;height:100vh;max-height:100vh;color:var(--text-main);font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;position:relative;overflow:hidden}.sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:45;cursor:pointer;background-color:#0f172a73;animation:.2s ease-out fadeIn;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.teacher-sidebar{border-right:1px solid var(--border-subtle);z-index:50;background-color:#fff;flex-direction:column;flex-shrink:0;justify-content:space-between;width:260px;min-width:260px;height:100vh;max-height:100vh;padding:24px 18px;transition:transform .25s cubic-bezier(.4,0,.2,1);display:flex;position:sticky;top:0;left:0;overflow:hidden auto}.teacher-sidebar::-webkit-scrollbar{width:5px}.teacher-sidebar::-webkit-scrollbar-track{background:0 0}.teacher-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.teacher-sidebar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.sidebar-brand{margin-bottom:24px}.brand-badge{color:#3730a3;letter-spacing:.6px;text-transform:uppercase;background-color:#e0e7ff;border-radius:6px;margin-bottom:8px;padding:4px 10px;font-size:11px;font-weight:800;display:inline-block}.sidebar-brand h2{color:#0f172a;letter-spacing:-.3px;margin:0 0 2px;font-size:18px;font-weight:800}.portal-sub{color:var(--text-muted);font-size:12px;font-weight:600;display:block}.teacher-nav{flex-direction:column;gap:8px;margin-bottom:auto;display:flex}.nav-btn{color:#475569;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:11px 14px;font-size:13.5px;font-weight:600;transition:all .15s;display:flex}.nav-btn:hover{color:#0f172a;background-color:#f1f5f9}.nav-btn.active{background-color:var(--primary-blue);color:#fff;box-shadow:0 4px 12px #2563eb38}.nav-btn span{justify-content:center;align-items:center;font-size:15px;display:inline-flex}.sidebar-teacher-card{border:1px solid var(--border-subtle);background-color:#f8fafc;border-radius:12px;align-items:center;gap:12px;margin-top:24px;margin-bottom:12px;padding:12px 14px;display:flex}.teacher-avatar{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:15px;font-weight:800;display:flex;box-shadow:0 2px 6px #2563eb33}.teacher-info{flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.teacher-info strong{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.teacher-info span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.mentor-pill{color:#047857;background-color:#ecfdf5;border-radius:4px;align-self:flex-start;margin-top:3px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-block}.sidebar-logout{color:#b91c1c;cursor:pointer;text-align:center;background-color:#fee2e2;border:1px solid #fecaca;border-radius:10px;width:100%;padding:10px 14px;font-size:13px;font-weight:700;transition:all .15s}.sidebar-logout:hover{color:#991b1b;background-color:#fca5a5}.teacher-main-wrapper{background-color:var(--bg-page);scroll-behavior:smooth;flex-direction:column;flex:1;min-width:0;height:100vh;max-height:100vh;display:flex;overflow:hidden auto}.teacher-main-wrapper::-webkit-scrollbar{width:6px}.teacher-main-wrapper::-webkit-scrollbar-track{background:#f8fafc}.teacher-main-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.teacher-main-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.teacher-header{border-bottom:1px solid var(--border-subtle);z-index:30;background-color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;display:flex;position:sticky;top:0}.hamburger-btn{border:1px solid var(--border-strong);cursor:pointer;color:#334155;background-color:#f8fafc;border-radius:8px;padding:6px 12px;font-size:18px;line-height:1;transition:all .15s;display:none}.hamburger-btn:hover{color:#0f172a;background-color:#f1f5f9}.header-breadcrumbs{color:var(--text-muted);align-items:center;gap:6px;font-size:13.5px;font-weight:500;display:flex}.header-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.teacher-class-select{border:1px solid var(--border-strong);color:#0f172a;cursor:pointer;background-color:#fff;border-radius:8px;outline:none;padding:8px 14px;font-size:13px;font-weight:600;transition:border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #0000000d}.teacher-class-select:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #2563eb26}.date-input{border:1px solid var(--border-strong);color:#0f172a;cursor:pointer;background-color:#fff;border-radius:8px;outline:none;padding:7px 12px;font-size:13px;font-weight:600;transition:border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #0000000d}.date-input:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #2563eb26}.teacher-content{flex-direction:column;gap:20px;width:100%;max-width:100%;padding:24px 28px;display:flex}.stats-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-pill{border:1px solid var(--border-subtle);background-color:#fff;border-radius:12px;flex-direction:column;gap:6px;padding:16px 20px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #00000008}.stat-pill:hover{transform:translateY(-1px);box-shadow:0 4px 10px #0000000d}.stat-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.6px;font-size:11px;font-weight:800}.stat-pill strong{color:#0f172a;font-size:26px;font-weight:800;line-height:1}.stat-pill.green{background-color:#f0fdf4;border-color:#bbf7d0}.stat-pill.green strong{color:#15803d}.stat-pill.green .stat-label{color:#166534}.stat-pill.red{background-color:#fef2f2;border-color:#fecaca}.stat-pill.red strong{color:#b91c1c}.stat-pill.red .stat-label{color:#991b1b}.stat-pill.blue{background-color:#eff6ff;border-color:#bfdbfe}.stat-pill.blue strong{color:#1d4ed8}.stat-pill.blue .stat-label{color:#1e40af}.feedback-alert{border-radius:10px;align-items:center;gap:10px;padding:12px 18px;font-size:13.5px;font-weight:600;animation:.3s fadeIn;display:flex}.feedback-alert.success{color:#15803d;background-color:#dcfce7;border:1px solid #86efac}.feedback-alert.error{color:#b91c1c;background-color:#fee2e2;border:1px solid #fca5a5}.table-controls-card{border:1px solid var(--border-subtle);background-color:#fff;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;display:flex;box-shadow:0 1px 3px #00000008}.filter-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-btn{border:1px solid var(--border-subtle);color:#475569;cursor:pointer;background-color:#f8fafc;border-radius:8px;padding:8px 16px;font-size:12.5px;font-weight:700;transition:all .15s}.filter-btn:hover{color:#0f172a;background-color:#f1f5f9}.filter-btn.active{background-color:var(--primary-blue);color:#fff;border-color:var(--primary-blue);box-shadow:0 2px 6px #2563eb40}.filter-btn.green.active{background-color:var(--present-green);color:#fff;border-color:var(--present-green);box-shadow:0 2px 6px #16a34a40}.filter-btn.red.active{background-color:var(--absent-red);color:#fff;border-color:var(--absent-red);box-shadow:0 2px 6px #dc262640}.bulk-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-mark-all{cursor:pointer;border:1px solid #0000;border-radius:8px;padding:8px 14px;font-size:12.5px;font-weight:700;transition:all .15s}.btn-mark-all.present{color:#047857;background-color:#ecfdf5;border-color:#a7f3d0}.btn-mark-all.present:hover{color:#065f46;background-color:#d1fae5}.btn-mark-all.absent{color:#b91c1c;background-color:#fef2f2;border-color:#fecaca}.btn-mark-all.absent:hover{color:#991b1b;background-color:#fee2e2}.btn-save-attendance{background-color:var(--primary-blue);color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:8px;padding:8px 18px;font-size:13px;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.btn-save-attendance:hover:not(:disabled){background-color:var(--primary-blue-hover);box-shadow:0 4px 10px #2563eb59}.btn-save-attendance:disabled{opacity:.6;cursor:not-allowed}.roster-card{border:1px solid var(--border-subtle);background-color:#fff;border-radius:12px;width:100%;padding:0;overflow:hidden;box-shadow:0 1px 3px #00000008}.roster-table{border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.roster-table thead{border-bottom:1px solid var(--border-subtle);background-color:#f8fafc}.roster-table th{color:#475569;text-transform:uppercase;letter-spacing:.5px;padding:13px 18px;font-size:11.5px;font-weight:800}.roster-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s}.roster-table tbody tr:hover{background-color:#f8fafc}.roster-table tbody tr.row-absent{background-color:var(--absent-row-bg)}.roster-table tbody tr.row-absent:hover{background-color:var(--absent-row-hover)}.roster-table td{color:#1e293b;vertical-align:middle;padding:14px 18px}.leave-badge{color:#475569;background-color:#f1f5f9;border-radius:9999px;align-items:center;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.leave-badge.warning{color:#b91c1c;background-color:#fee2e2;border:1px solid #fecaca}.status-toggle-group{background-color:#f1f5f9;border-radius:8px;align-items:center;gap:3px;padding:3px;display:inline-flex}.toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:34px;height:30px;font-size:13px;font-weight:800;transition:all .15s;display:flex}.toggle-btn:hover{color:#0f172a}.toggle-btn.present.active{background-color:var(--present-green);color:#fff;box-shadow:0 2px 4px #16a34a4d}.toggle-btn.absent.active{background-color:var(--absent-red);color:#fff;box-shadow:0 2px 4px #dc26264d}.pagination-bar{border-top:1px solid var(--border-subtle);background-color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.pagination-bar button{border:1px solid var(--border-strong);color:#334155;cursor:pointer;background-color:#fff;border-radius:8px;padding:6px 14px;font-size:12.5px;font-weight:600;transition:all .15s}.pagination-bar button:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9;border-color:#94a3b8}.pagination-bar button:disabled{opacity:.4;cursor:not-allowed}.pagination-bar span{color:var(--text-muted);font-size:12.5px;font-weight:600}.mobile-topbar{border-bottom:1px solid var(--border-subtle);z-index:40;background-color:#fff;justify-content:space-between;align-items:center;padding:12px 16px;display:none;position:sticky;top:0}.school-header h2{color:#0f172a;font-size:15px;font-weight:800}.school-code{color:#64748b;font-size:11px;font-weight:700}.live-badge{color:#047857;background-color:#ecfdf5;border-radius:9999px;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.live-dot{background-color:#10b981;border-radius:50%;width:6px;height:6px}.teacher-main{flex:1;width:100%;padding:28px 40px}.dashboard-header-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px;display:grid}.stat-card{background:#f0f4ff;border:1px solid #e0e7ff;border-radius:12px;padding:18px 22px}.register-container{border:1px solid var(--border-subtle);background:#fff;border-radius:14px;width:100%;padding:24px}.segmented-toggle{background-color:#f1f5f9;border-radius:6px;align-items:center;padding:2px;display:inline-flex}.segment-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 14px;font-size:11px;font-weight:700;transition:all .15s}.segment-btn.active-green{color:#fff;background-color:#0f766e}.segment-btn.active-red{color:#fff;background-color:#b91c1c}@media (width<=1024px){.teacher-content{padding:20px}.stats-row,.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.teacher-main,.teacher-content{padding:14px 12px}.stats-grid{grid-template-columns:1fr;gap:12px}.header-breadcrumbs{max-width:200px;font-size:12px}.header-breadcrumbs span{display:none}.header-breadcrumbs strong{white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:inline-block;overflow:hidden}.bulk-actions{flex-wrap:wrap;gap:8px}.bulk-actions button{text-align:center;flex:calc(50% - 4px);justify-content:center;min-height:38px}.bulk-actions .btn-save-attendance{flex:100%}.hamburger-btn{display:inline-flex}.teacher-sidebar{width:270px;height:100vh;transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);box-shadow:4px 0 24px #0000002e}.teacher-sidebar.open{transform:translate(0)}.teacher-header{padding:12px 16px}.teacher-content{padding:16px}.stats-row{grid-template-columns:1fr;gap:12px}.table-controls-card{flex-direction:column;align-items:stretch;gap:12px}.filter-group,.bulk-actions{justify-content:space-between;width:100%}.roster-card{-webkit-overflow-scrolling:touch;overflow-x:auto}.roster-table{min-width:620px}.header-controls{justify-content:space-between;width:100%}}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth;height:100%}body{color:#172942;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;margin:0;padding:0;font-family:Plus Jakarta Sans,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5}button,a,input,select,textarea{font:inherit}button{cursor:pointer}.portal,.student-portal{background-color:#f8fafc;width:100%;height:100vh;max-height:100vh;display:flex;position:relative;overflow:hidden}.sidebar,.admin-sidebar{z-index:50;background-color:#fff;border-right:1px solid #e2e8f0;flex-direction:column;flex-shrink:0;width:270px;min-width:270px;height:100vh;transition:width .2s;display:flex;position:sticky;top:0;left:0;overflow-y:auto;box-shadow:1px 0 3px #00000005}.sidebar::-webkit-scrollbar{width:5px}.admin-sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.main,.portal-main,.student-main-wrapper{scroll-behavior:smooth;background-color:#f8fafc;flex-direction:column;flex:1;width:100%;min-width:0;height:100vh;max-height:100vh;display:flex;overflow:hidden auto}.student-main-wrapper::-webkit-scrollbar{width:6px}.portal-main::-webkit-scrollbar{width:6px}.student-main-wrapper::-webkit-scrollbar-track{background:#f8fafc}.portal-main::-webkit-scrollbar-track{background:#f8fafc}.student-main-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.portal-main::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.student-main-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.portal-main::-webkit-scrollbar-thumb:hover{background:#94a3b8}.topbar,.admin-header{z-index:40;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:14px 32px;display:flex;position:sticky;top:0;box-shadow:0 1px 2px #00000008}.header-breadcrumbs{color:#64748b;white-space:nowrap;align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex}.header-breadcrumbs strong{color:#0f172a;font-weight:700}.content,.student-content,.dashboard-content{box-sizing:border-box;flex-direction:column;flex:1;gap:20px;width:100%;max-width:1600px;margin:0 auto;padding:28px 36px 48px;display:flex}.sidebar-header{padding:24px 20px 18px}.school-code-label{color:#64748b;letter-spacing:.6px;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:800}.sampoorna-live-pill{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:9999px;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.sampoorna-live-pill .dot{background-color:#10b981;border-radius:50%;width:6px;height:6px}.sidebar-section-title{color:#94a3b8;letter-spacing:.8px;text-transform:uppercase;padding:0 20px 8px;font-size:10.5px;font-weight:800}.console-nav-list,.sidebar-nav{flex-direction:column;gap:6px;padding:0 12px;display:flex}.console-nav-item,.nav-item{color:#475569;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:11px 16px;font-size:13.5px;font-weight:600;text-decoration:none;transition:all .15s;display:flex}.console-nav-item>span,.nav-item>span{text-align:center;justify-content:center;align-items:center;width:18px;font-size:16px;display:inline-flex}.console-nav-item:hover,.nav-item:hover{color:#0f172a;background-color:#f1f5f9}.console-nav-item.active,.nav-item.active{color:#fff;background-color:#2563eb;font-weight:700;box-shadow:0 4px 12px #2563eb40}.sidebar-bottom-profile{background:#f8fafc;border-top:1px solid #e2e8f0;align-items:center;gap:12px;margin-top:auto;padding:16px 18px;display:flex}.sidebar-bottom-profile-btn{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;align-items:center;gap:10px;min-width:0;padding:0;transition:all .15s;display:flex}.sidebar-bottom-profile-btn:hover .profile-avatar-circle{transform:scale(1.05);box-shadow:0 0 0 3px #7c3aed33}.sidebar-bottom-profile-btn:hover .profile-name-row span{color:#7c3aed}.profile-avatar-circle{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:16px;transition:transform .15s,box-shadow .15s;display:flex}.profile-details-column{flex:1;min-width:0}.profile-name-row{color:#0f172a;align-items:center;gap:4px;font-size:13px;font-weight:700;display:flex;overflow:hidden}.profile-name-row span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.verified-badge-icon{color:#2563eb;flex-shrink:0;font-size:11px}.profile-role-subtext{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:1px 0 0;font-size:11px;overflow:hidden}.profile-id-code{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;margin:1px 0 0;font-size:10.5px;font-weight:600;overflow:hidden}.logout-icon-btn{cursor:pointer;color:#64748b;background:0 0;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;padding:6px 9px;font-size:14px;transition:all .15s}.logout-icon-btn:hover{color:#b91c1c;background:#fee2e2;border-color:#fca5a5}.topbar-profile-btn{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:24px;align-items:center;gap:9px;padding:4px 12px 4px 4px;transition:all .2s;display:flex;box-shadow:0 1px 2px #0000000d}.topbar-profile-btn:hover{background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 4px 6px -1px #00000014}.topbar-avatar-circle{color:#fff;background:linear-gradient(135deg,#7c3aed,#4f46e5);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:flex}.topbar-profile-info{text-align:left;flex-direction:column;line-height:1.2;display:flex}.topbar-profile-name{color:#0f172a;font-size:12px;font-weight:700}.topbar-profile-badge{color:#6366f1;font-size:10px;font-weight:700}.welcome-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;width:100%;padding:24px 30px;display:flex;box-shadow:0 1px 3px #0000000a}.avatar{color:#fff;background:#1455df;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.main-avatar{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:14px;width:58px;height:58px;font-size:22px}.avatar-clickable{cursor:pointer;transition:transform .2s,box-shadow .2s;position:relative}.avatar-clickable:hover{transform:scale(1.05);box-shadow:0 0 0 4px #6366f140}.avatar-id-badge{background:#fff;border:1px solid #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;display:flex;position:absolute;bottom:-3px;right:-3px;box-shadow:0 2px 4px #0000001a}.welcome-info{flex:1;min-width:0}.welcome-info h1{color:#0f172a;letter-spacing:-.3px;margin:0 0 6px;font-size:21px;font-weight:800}.active-badge{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;border-radius:9999px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-block}.welcome-info p{color:#475569;margin:6px 0 0;font-size:13px;line-height:1.5}.welcome-info p span{color:#cbd5e1;margin:0 8px}.welcome-info p strong{color:#1e293b}.welcome-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;display:flex}.primary-button,.secondary-button{white-space:nowrap;cursor:pointer;border:0;border-radius:10px;align-items:center;gap:7px;padding:10px 18px;font-size:13px;font-weight:700;transition:all .18s;display:inline-flex}.secondary-button{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.secondary-button:hover{background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px)}.primary-button{color:#fff;background:#2563eb;box-shadow:0 2px 6px #2563eb40}.primary-button:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:100%;display:grid}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;justify-content:space-between;min-height:124px;padding:20px 22px;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;box-shadow:0 1px 3px #0000000a}.metric-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 18px #0000000f}.metric-title{color:#64748b;letter-spacing:.6px;text-transform:uppercase;margin:0 0 10px;font-size:11px;font-weight:800}.metric-value-row{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.metric-value-row h2{color:#0f172a;margin:0;font-size:24px;font-weight:800;line-height:1.2}.metric-extra{border-radius:6px;padding:2px 8px;font-size:11.5px;font-weight:700}.metric-extra.attendance{color:#15803d;background:#dcfce7}.metric-extra.score{color:#fff;background:#2563eb}.metric-extra.days{color:#475569;background:#f1f5f9}.metric-description{color:#64748b;margin:10px 0 0;font-size:12px;line-height:1.4}.lower-grid{grid-template-columns:minmax(0,1.9fr) minmax(340px,1.1fr);align-items:stretch;gap:20px;width:100%;display:grid}.schedule-panel,.notices-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;padding:22px 24px;display:flex;box-shadow:0 1px 3px #0000000a}.panel-heading{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;padding-bottom:14px;display:flex}.panel-title{align-items:center;gap:10px;display:flex}.heading-marker{border-radius:4px;width:4px;height:18px}.blue-marker{background:#2563eb}.gray-marker{background:#64748b}.panel-title h2{color:#0f172a;margin:0;font-size:16px;font-weight:800}.schedule-period{color:#64748b;font-size:12px;font-weight:600}.lesson-grid{flex:1;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:18px;display:grid}.lesson-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:space-between;padding:16px 14px;transition:transform .15s,box-shadow .15s;display:flex}.lesson-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.lesson-blue{background:#eff6ff;border-color:#bfdbfe}.lesson-green{background:#ecfdf5;border-color:#a7f3d0}.lesson-purple{background:#faf5ff;border-color:#e9d5ff}.lesson-orange{background:#fff7ed;border-color:#fed7aa}.lesson-time{color:#2563eb;font-size:11px;font-weight:800}.lesson-green .lesson-time{color:#059669}.lesson-purple .lesson-time{color:#7c3aed}.lesson-orange .lesson-time{color:#ea580c}.lesson-card h3{color:#0f172a;margin:8px 0 4px;font-size:14px;font-weight:700;line-height:1.4}.lesson-card p{color:#475569;margin:0 0 8px;font-size:12px}.lesson-room{color:#64748b;font-size:11.5px;font-weight:600}.schedule-footer{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;margin-top:18px;padding-top:14px;font-size:12px;display:flex}.notice-list{flex-direction:column;flex:1;gap:12px;padding-top:16px;display:flex}.notice-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;transition:all .15s}.notice-card:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 12px #0000000a}.notice-topline{color:#2563eb;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.notice-tag{border-radius:6px;padding:2px 7px;font-size:10px;font-weight:700}.notice-tag.urgent{color:#dc2626;background:#fee2e2}.notice-tag.holiday{color:#0369a1;background:#e0f2fe}.notice-card h3{color:#0f172a;margin:6px 0 4px;font-size:13.5px;font-weight:700}.notice-card p{color:#475569;margin:0;font-size:12px;line-height:1.5}.notice-footer{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;gap:6px;margin-top:16px;padding-top:14px;font-size:12px;display:flex}.student-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;width:100%;margin-bottom:22px;display:flex}.student-section-title-group h2{color:#0f172a;letter-spacing:-.3px;margin:0 0 4px;font-size:22px;font-weight:800}.student-section-title-group p{color:#64748b;margin:0;font-size:13px}.exam-item-card{background:#fff;border:1px solid #e2e8f0;border-left:5px solid #2563eb;border-radius:14px;width:100%;margin-bottom:16px;padding:22px 26px;transition:all .2s;box-shadow:0 1px 3px #0000000a}.exam-item-card:hover{border-color:#cbd5e1 #cbd5e1 #cbd5e1 #1d4ed8;box-shadow:0 6px 18px #2563eb14}.exam-item-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.exam-subject-title{color:#0f172a;margin:0 0 4px;font-size:17px;font-weight:800}.exam-meta-row{color:#475569;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;font-size:13px;display:flex}.exam-meta-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700}.student-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;margin-bottom:24px;overflow-x:auto;box-shadow:0 1px 3px #0000000d}.student-data-table{border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.student-data-table th{color:#475569;text-transform:uppercase;letter-spacing:.6px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11.5px;font-weight:800}.student-data-table td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:15px 18px}.student-data-table tr:last-child td{border-bottom:none}.student-data-table tr:hover td{background:#fbfcfe}.badge-status{white-space:nowrap;border-radius:9999px;align-items:center;gap:4px;padding:3px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.badge-status.paid{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0}.badge-status.pending,.badge-status.overdue{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.badge-status.partial{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.badge-status.present{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.badge-status.absent{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.student-dossier-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:20px;width:100%;margin-bottom:24px;display:grid}.dossier-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;padding:22px 24px;display:flex;box-shadow:0 1px 3px #0000000d}.dossier-card-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;display:flex}.dossier-card-title{color:#0f172a;align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.dossier-field-list{grid-template-columns:repeat(2,1fr);gap:14px 18px;display:grid}.dossier-field-full{grid-column:span 2}.dossier-field-item label{text-transform:uppercase;letter-spacing:.5px;color:#64748b;margin-bottom:4px;font-size:11px;font-weight:700;display:block}.dossier-field-value{color:#0f172a;word-break:break-word;align-items:center;gap:8px;font-size:13.5px;font-weight:600;display:flex}.dossier-copy-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:600;transition:all .15s}.dossier-copy-btn:hover{color:#0f172a;background:#e2e8f0}.student-modal-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:1000;background:#0f172aa6;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.student-modal-box{background:#fff;border-radius:18px;width:100%;max-width:720px;max-height:90vh;padding:28px 32px;position:relative;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.student-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;display:flex}.student-modal-header h3{color:#0f172a;margin:0;font-size:18px;font-weight:800}.btn-close-modal{color:#64748b;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;transition:all .15s;display:flex}.btn-close-modal:hover{color:#0f172a;background:#f1f5f9}.hall-ticket-container{color:#0f172a;background:#fff;border:2px solid #0f172a;border-radius:10px;padding:26px;font-family:Plus Jakarta Sans,sans-serif}.hall-ticket-header{text-align:center;border-bottom:2px solid #0f172a;margin-bottom:18px;padding-bottom:16px}.hall-ticket-header h2{text-transform:uppercase;letter-spacing:.6px;margin:0 0 4px;font-size:18px;font-weight:800}.hall-ticket-header h4{color:#475569;margin:0 0 4px;font-size:13px;font-weight:600}.hall-ticket-grid{grid-template-columns:1fr 130px;gap:20px;margin-bottom:20px;display:grid}.hall-ticket-details{grid-template-columns:repeat(2,1fr);gap:12px;font-size:13px;display:grid}.candidate-photo-box{color:#64748b;text-align:center;background:#f8fafc;border:2px dashed #94a3b8;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;height:145px;padding:10px;font-size:11px;display:flex}.hall-ticket-footer{border-top:1px dashed #cbd5e1;justify-content:space-between;align-items:flex-end;margin-top:36px;padding-top:18px;font-size:12px;display:flex}.sign-line{text-align:center;border-top:1px solid #0f172a;width:170px;padding-top:4px;font-weight:700}.dashboard-footer{color:#64748b;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;width:100%;margin-top:36px;padding:24px 0 16px;font-size:12.5px;display:flex}.footer-links{align-items:center;gap:8px;display:flex}@media (width>=1440px){.sidebar,.admin-sidebar{width:280px;min-width:280px}.content,.student-content,.dashboard-content{max-width:1560px;padding:32px 42px 56px}.metrics-grid{gap:20px}.lower-grid{grid-template-columns:minmax(0,1.9fr) minmax(360px,1.1fr);gap:24px}.lesson-grid{gap:16px}}@media (width>=1920px){.sidebar,.admin-sidebar{width:300px;min-width:300px}.topbar,.admin-header{padding:16px 42px}.content,.student-content,.dashboard-content{max-width:1760px;padding:36px 48px 64px}.welcome-card{padding:28px 36px}.metrics-grid{gap:24px}.metric-card{min-height:136px;padding:22px 26px}.lower-grid{grid-template-columns:minmax(0,2fr) minmax(400px,1fr);gap:28px}.lesson-grid{grid-template-columns:repeat(4,1fr);gap:18px}.student-modal-box{max-width:860px}}@media (width>=2560px){.content,.student-content,.dashboard-content{max-width:2100px;padding:40px 60px 80px}.welcome-card{padding:32px 42px}.metrics-grid{gap:28px}}@media (width<=1200px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.lower-grid{grid-template-columns:1fr}}@media (width<=768px){.portal,.student-portal{flex-direction:column}.sidebar,.admin-sidebar{z-index:140;-webkit-overflow-scrolling:touch;background-color:#fff;width:280px;max-width:85vw;height:100vh;min-height:100vh;transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%);box-shadow:6px 0 28px #00000038}.sidebar.open,.admin-sidebar.open{transform:translate(0)}.content,.student-content,.dashboard-content{padding:14px 12px 36px}.welcome-card{flex-direction:column;align-items:flex-start;gap:14px;padding:18px 14px}.welcome-actions{flex-direction:column;gap:8px;width:100%}.welcome-actions button{justify-content:center;width:100%;min-height:42px}.metrics-grid{grid-template-columns:1fr}.student-table-container{-webkit-overflow-scrolling:touch;border-radius:12px;width:100%;margin-bottom:20px;overflow-x:auto}.student-data-table{min-width:650px}.hall-ticket-grid{grid-template-columns:1fr}.candidate-photo-box{height:120px}.header-scert-pill{display:none}}@media print{body *{visibility:hidden}#printable-hall-ticket,#printable-hall-ticket *,#printable-student-receipt,#printable-student-receipt *{visibility:visible}#printable-hall-ticket,#printable-student-receipt{width:100%;margin:0;padding:16px;position:absolute;top:0;left:0;color:#000!important;box-shadow:none!important;background:#fff!important;border:none!important}.student-modal-overlay{background:0 0!important;padding:0!important;position:static!important}.student-modal-box{box-shadow:none!important;background:0 0!important;border:none!important;width:100%!important;max-width:100%!important;padding:0!important}.student-modal-header,.btn-close-modal,.secondary-button,.primary-button{display:none!important}}
