html{font-size:16px;scroll-behavior:smooth}body{line-height:1.6;margin:0}code{background-color:var(--gray-100);border-radius:var(--radius-sm);font-size:.875em;padding:.125rem .375rem}:focus-visible{outline:2px solid var(--primary-500);outline-offset:2px}:focus:not(:focus-visible){outline:none}a{color:var(--primary-600);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:var(--primary-700)}::selection{background-color:var(--primary-200);color:var(--primary-900)}img{display:block;height:auto;max-width:100%}ol,ul{list-style:none}button{color:inherit}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}*{transition-duration:.15s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--primary-50:#eef2ff;--primary-100:#e0e7ff;--primary-200:#c7d2fe;--primary-300:#a5b4fc;--primary-400:#818cf8;--primary-500:#6366f1;--primary-600:#4f46e5;--primary-700:#4338ca;--primary-800:#3730a3;--primary-900:#312e81;--success-50:#ecfdf5;--success-100:#d1fae5;--success-500:#10b981;--success-600:#059669;--success-700:#047857;--warning-50:#fffbeb;--warning-100:#fef3c7;--warning-500:#f59e0b;--warning-600:#d97706;--danger-50:#fef2f2;--danger-100:#fee2e2;--danger-500:#ef4444;--danger-600:#dc2626;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;--spacing-xs:0.5rem;--spacing-sm:0.75rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--spacing-2xl:3rem;--radius-sm:0.375rem;--radius-md:0.5rem;--radius-lg:0.75rem;--radius-xl:1rem;--radius-full:9999px;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;--shadow-xl:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;--font-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif;--font-size-xs:0.75rem;--font-size-sm:0.875rem;--font-size-base:1rem;--font-size-lg:1.125rem;--font-size-xl:1.25rem;--font-size-2xl:1.5rem;--font-size-3xl:1.875rem;--font-size-4xl:2.25rem;--transition-fast:150ms ease-in-out;--transition-base:200ms ease-in-out;--transition-slow:300ms ease-in-out}body{background-color:#f9fafb;background-color:var(--gray-50);color:var(--gray-900);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-sans);font-size:1rem;font-size:var(--font-size-base);line-height:1.5}.card{border-radius:.75rem;box-shadow:0 1px 2px 0 #0000000d;padding:1.5rem;padding:var(--spacing-lg);transition:box-shadow .2s ease-in-out;transition:box-shadow var(--transition-base)}.card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md)}.card-header{border-bottom:1px solid var(--gray-200);margin-bottom:1.5rem;margin-bottom:var(--spacing-lg);padding-bottom:1rem;padding-bottom:var(--spacing-md)}.card-title{color:var(--gray-900);font-size:1.25rem;font-size:var(--font-size-xl)}.stat-card{border-radius:.75rem;box-shadow:0 1px 2px 0 #0000000d;padding:var(--spacing-lg);transition:all .2s ease-in-out;transition:all var(--transition-base)}.stat-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.stat-card.primary{border-left-color:#4f46e5}.stat-card.success{border-left-color:#059669}.stat-card.danger{border-left-color:#dc2626}.stat-card.warning{border-left-color:#d97706}.stat-label{color:#4b5563;font-size:.875rem;font-size:var(--font-size-sm)}.stat-label,.stat-value{margin-bottom:.5rem;margin-bottom:var(--spacing-xs)}.stat-value{color:#111827;font-size:1.875rem;font-size:var(--font-size-3xl)}.stat-change{font-size:.875rem;font-size:var(--font-size-sm);font-weight:500}.stat-change.positive{color:#059669}.stat-change.negative{color:#dc2626}.badge{border-radius:9999px;border-radius:var(--radius-full);font-size:var(--font-size-xs);letter-spacing:.05em;padding:.25rem .75rem;text-transform:uppercase}.badge-success{background-color:#d1fae5;background-color:var(--success-100);color:#047857;color:var(--success-700)}.badge-warning{background-color:#fef3c7;background-color:var(--warning-100);color:var(--warning-700)}.badge-danger{background-color:#fee2e2;background-color:var(--danger-100);color:var(--danger-700)}.badge-primary{background-color:#e0e7ff;background-color:var(--primary-100);color:#4338ca;color:var(--primary-700)}.badge-gray{background-color:#f3f4f6;background-color:var(--gray-100);color:#374151;color:var(--gray-700)}.btn{border-radius:.5rem;font-size:.875rem;font-size:var(--font-size-sm);transition:all .2s ease-in-out;white-space:nowrap}.btn-primary{background-color:#4f46e5;background-color:var(--primary-600)}.btn-primary:hover:not(:disabled){background-color:#4338ca;background-color:var(--primary-700);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.btn-success{background-color:#059669;background-color:var(--success-600)}.btn-success:hover:not(:disabled){background-color:#047857;background-color:var(--success-700)}.btn-danger{background-color:#dc2626;background-color:var(--danger-600)}.btn-danger:hover:not(:disabled){background-color:var(--danger-700)}.btn-outline{background-color:#fff;border:2px solid #4f46e5;border:2px solid var(--primary-600);color:#4f46e5;color:var(--primary-600)}.btn-outline:hover:not(:disabled){background-color:#eef2ff;background-color:var(--primary-50)}.btn-sm{font-size:.75rem;font-size:var(--font-size-xs);padding:.375rem .875rem}.btn-lg{font-size:1rem;font-size:var(--font-size-base);padding:.875rem 1.75rem}.input{border:1px solid #d1d5db;border:1px solid var(--gray-300);border-radius:.5rem;border-radius:var(--radius-md);color:#111827;color:var(--gray-900);font-size:.875rem;font-size:var(--font-size-sm);padding:.625rem .875rem;transition:all .15s ease-in-out;transition:all var(--transition-fast);width:100%}.input:focus{border-color:#6366f1;border-color:var(--primary-500);box-shadow:0 0 0 3px #e0e7ff;box-shadow:0 0 0 3px var(--primary-100);outline:none}.input::placeholder{color:#9ca3af;color:var(--gray-400)}.table-container{border-radius:.75rem;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);overflow-x:auto}.table{background:#fff;border-collapse:collapse;width:100%}.table thead{background-color:#f9fafb;background-color:var(--gray-50)}.table th{color:#4b5563;color:var(--gray-600);font-size:.75rem;font-size:var(--font-size-xs);font-weight:600;letter-spacing:.05em;padding:.875rem 1rem;text-align:left;text-transform:uppercase}.table td,.table th{border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200)}.table td{color:#111827;color:var(--gray-900);padding:1rem}.table tbody tr{transition:background-color .15s ease-in-out;transition:background-color var(--transition-fast)}.table tbody tr:hover{background-color:#f9fafb;background-color:var(--gray-50)}.grid{grid-gap:1.5rem;grid-gap:var(--spacing-lg);display:grid;gap:1.5rem;gap:var(--spacing-lg)}.grid-cols-1{grid-template-columns:repeat(1,1fr)}.grid-cols-2{grid-template-columns:repeat(2,1fr)}.grid-cols-3{grid-template-columns:repeat(3,1fr)}.grid-cols-4{grid-template-columns:repeat(4,1fr)}@media (max-width:768px){.grid-cols-2,.grid-cols-3,.grid-cols-4{grid-template-columns:1fr}}.gap-sm{gap:.75rem;gap:var(--spacing-sm)}.gap-md{gap:1rem;gap:var(--spacing-md)}.gap-lg{gap:1.5rem;gap:var(--spacing-lg)}.mb-sm{margin-bottom:.75rem;margin-bottom:var(--spacing-sm)}.mb-md{margin-bottom:1rem;margin-bottom:var(--spacing-md)}.mb-lg{margin-bottom:1.5rem;margin-bottom:var(--spacing-lg)}.mb-xl{margin-bottom:2rem;margin-bottom:var(--spacing-xl)}.text-xs{font-size:.75rem;font-size:var(--font-size-xs)}.text-sm{font-size:.875rem;font-size:var(--font-size-sm)}.text-base{font-size:1rem;font-size:var(--font-size-base)}.text-lg{font-size:1.125rem;font-size:var(--font-size-lg)}.text-xl{font-size:1.25rem;font-size:var(--font-size-xl)}.text-2xl{font-size:1.5rem;font-size:var(--font-size-2xl)}.text-3xl{font-size:1.875rem;font-size:var(--font-size-3xl)}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{color:#6b7280;color:var(--gray-500)}.text-gray-600{color:#4b5563;color:var(--gray-600)}.text-gray-700{color:#374151;color:var(--gray-700)}.text-gray-900{color:#111827;color:var(--gray-900)}.skeleton{animation:loading 1.5s ease-in-out infinite;background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);background:linear-gradient(90deg,var(--gray-200) 25%,var(--gray-100) 50%,var(--gray-200) 75%);background-size:200% 100%;border-radius:.5rem;border-radius:var(--radius-md)}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.slide-in{animation:slideIn .3s ease-in-out}.status-dot{display:inline-block;height:8px;margin-right:.5rem;width:8px}.status-dot.online{background-color:#10b981;background-color:var(--success-500)}.status-dot.offline{background-color:#ef4444;background-color:var(--danger-500)}.status-dot.warning{background-color:#f59e0b;background-color:var(--warning-500)}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f3f4f6;background:var(--gray-100)}::-webkit-scrollbar-thumb{background:#9ca3af;background:var(--gray-400);border-radius:9999px;border-radius:var(--radius-full)}::-webkit-scrollbar-thumb:hover{background:#6b7280;background:var(--gray-500)}.toast-container{display:flex;flex-direction:column;gap:12px;pointer-events:none;position:fixed;right:20px;top:20px;z-index:9999}.toast{align-items:center;animation:slideIn .3s cubic-bezier(.4,0,.2,1);background:#fff;border-left:4px solid;border-radius:12px;box-shadow:0 8px 24px #00000026;display:flex;gap:12px;max-width:500px;min-width:320px;padding:16px 20px;pointer-events:auto}.toast-icon{flex-shrink:0;font-size:24px}.toast-message{word-wrap:break-word;color:#1f2937;flex:1 1;font-size:15px;line-height:1.5}.toast-close{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:4px;transition:all .2s ease}.toast-close:hover{background:#f3f4f6;color:#1f2937}.toast-success{border-left-color:#10b981}.toast-success .toast-icon{color:#10b981}.toast-error{border-left-color:#ef4444}.toast-error .toast-icon{color:#ef4444}.toast-warning{border-left-color:#f59e0b}.toast-warning .toast-icon{color:#f59e0b}.toast-info{border-left-color:#3b82f6}.toast-info .toast-icon{color:#3b82f6}@keyframes slideOut{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100px)}}@media (max-width:640px){.toast-container{left:20px;right:20px}.toast{max-width:100%;min-width:auto}}.navbar{background:#fff;border-bottom:1px solid #f3f4f6;height:72px;justify-content:space-between;padding:1rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.navbar,.navbar-brand,.school-branding{align-items:center;display:flex}.school-branding{gap:12px}.school-logo{object-fit:contain}.logo-placeholder,.school-logo{border-radius:8px;height:48px;width:48px}.logo-placeholder{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:20px;font-weight:700}.school-info{display:flex;flex-direction:column;gap:2px}.school-info h2{color:#111827;font-size:1.125rem;font-weight:600;letter-spacing:-.02em;line-height:1.2;margin:0}.dashboard-subtitle{color:#9ca3af;font-size:.7rem;font-weight:500;line-height:1}.navbar-brand h2{color:#111827;font-size:1.125rem;font-weight:600;letter-spacing:-.02em;margin:0}.navbar-user{gap:20px}.navbar-user,.user-info{align-items:center;display:flex}.user-info{border-radius:8px;gap:.75rem;padding:.375rem .75rem;transition:background .15s ease}.user-info:hover{background:#f9fafb}.user-icon{align-items:center;background:#f3f4f6;border-radius:50%;color:#6b7280;display:flex;flex-shrink:0;height:36px;justify-content:center;padding:8px;width:36px}.user-details{display:flex;flex-direction:column;gap:1px}.user-name{color:#111827;font-size:.875rem;font-weight:600;line-height:1.2}.user-role{color:#9ca3af;font-size:.7rem;line-height:1.2}.btn-logout{align-items:center;background:#0000;border:1px solid #f3f4f6;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .15s ease}.btn-logout:hover{background:#fef2f2;border-color:#fee2e2;color:#ef4444}.sidebar{background:#fff;border-right:1px solid #f3f4f6;display:flex;flex-direction:column;height:calc(100vh - 72px);left:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:72px;transition:all .3s cubic-bezier(.4,0,.2,1);width:260px;z-index:999}.sidebar.collapsed{width:80px}.sidebar-header{background:#fff;border-bottom:1px solid #f3f4f6;justify-content:space-between;padding:1.25rem 1rem}.sidebar-brand,.sidebar-header{align-items:center;display:flex}.sidebar-brand{gap:.75rem;overflow:hidden}.brand-icon{align-items:center;background:#3b82f6;border-radius:8px;color:#fff;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.brand-text{display:flex;flex-direction:column;opacity:1;transition:opacity .2s ease;white-space:nowrap}.sidebar.collapsed .brand-text{opacity:0;width:0}.brand-text h3{color:#111827;font-size:.95rem;font-weight:600;line-height:1.3;margin:0}.brand-text span{color:#9ca3af;font-size:.7rem;font-weight:400;letter-spacing:.3px}.sidebar-toggle{align-items:center;background:#0000;border:none;border-radius:6px;color:#9ca3af;cursor:pointer;display:flex;flex-shrink:0;height:28px;justify-content:center;transition:all .15s ease;width:28px}.sidebar-toggle:hover{background:#f9fafb;color:#6b7280}.sidebar.collapsed .sidebar-toggle{margin-left:auto;margin-right:auto}.sidebar-nav{display:flex;flex:1 1;flex-direction:column;gap:2px;padding:1rem .75rem}.sidebar-link{align-items:center;border-radius:8px;color:#6b7280;display:flex;font-size:.875rem;font-weight:500;gap:12px;padding:10px 12px;position:relative;text-decoration:none;transition:all .15s ease;white-space:nowrap}.sidebar-link:hover{background:#f9fafb;color:#111827}.sidebar-link.active{background:#f3f4f6;color:#3b82f6;font-weight:500}.sidebar-link.active:before{background:#3b82f6;border-radius:2px;bottom:25%;content:"";left:0;position:absolute;top:25%;width:2px}.sidebar.collapsed .sidebar-link{justify-content:center;padding:10px}.link-icon-wrapper{align-items:center;display:flex;flex-shrink:0;justify-content:center;position:relative}.sidebar-icon{stroke-width:2;flex-shrink:0;height:20px;width:20px}.sidebar-label{flex:1 1;opacity:1;transition:opacity .2s ease}.sidebar.collapsed .sidebar-label{opacity:0;overflow:hidden;width:0}.link-badge{background:#ef4444;border-radius:8px;color:#fff;font-size:.6rem;font-weight:600;line-height:1.4;padding:1px 5px;position:absolute;right:-6px;top:-3px}.sidebar-tooltip{align-items:center;animation:tooltip-show .2s ease forwards;background:#111827;border-radius:6px;box-shadow:0 2px 8px #00000026;color:#fff;display:flex;font-size:.8rem;font-weight:500;gap:6px;left:100%;margin-left:8px;opacity:0;padding:6px 10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);white-space:nowrap;z-index:1000}@keyframes tooltip-show{to{opacity:1}}.sidebar-tooltip:before{border:4px solid #0000;border-right-color:#111827;content:"";position:absolute;right:100%;top:50%;transform:translateY(-50%)}.tooltip-badge{background:#ef4444;border-radius:6px;font-size:.65rem;padding:1px 4px}.sidebar-footer{background:#fff;border-top:1px solid #f3f4f6;margin-top:auto;padding:.75rem}.footer-card{background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .15s ease}.footer-card:hover{background:#f3f4f6}.footer-icon{align-items:center;background:#3b82f6;border-radius:6px;color:#fff;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.footer-content{flex:1 1}.footer-title{color:#111827;font-size:.8rem;font-weight:600;margin:0 0 2px}.footer-text{color:#9ca3af;font-size:.7rem;margin:0}.mobile-menu-btn{align-items:center;background:#fff;border:1px solid #f3f4f6;border-radius:8px;box-shadow:0 2px 8px #00000014;color:#111827;cursor:pointer;display:none;height:40px;justify-content:center;left:1rem;position:fixed;top:80px;transition:all .15s ease;width:40px;z-index:1001}.mobile-menu-btn:hover{background:#f9fafb;border-color:#e5e7eb}.sidebar-overlay{animation:overlay-fade-in .3s ease;background:#00000080;bottom:0;display:none;left:0;position:fixed;right:0;top:72px;z-index:998}@keyframes overlay-fade-in{0%{opacity:0}to{opacity:1}}.desktop-only{display:flex}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#0000}.sidebar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}.sidebar::-webkit-scrollbar-thumb:hover{background:#9ca3af}@media (max-width:1024px){.sidebar{width:260px}.sidebar.collapsed{width:72px}}@media (max-width:768px){.sidebar{box-shadow:none;height:100vh;top:0;transform:translateX(-100%);width:260px}.sidebar.mobile-open{box-shadow:2px 0 12px #0000001a;transform:translateX(0)}.mobile-menu-btn{display:flex}.sidebar-overlay{display:block}.desktop-only{display:none!important}.sidebar.collapsed{width:280px}.sidebar-header{padding-top:1rem}}@media (max-width:480px){.sidebar{width:260px}.mobile-menu-btn{height:40px;top:76px;width:40px}}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-card{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:450px;padding:40px;width:100%}.login-header{margin-bottom:30px;text-align:center}.login-header h1{color:#1f2937;font-size:28px;margin-bottom:8px}.login-header p{color:#6b7280;font-size:14px}.login-form{margin-bottom:20px}.form-group .input{border:2px solid #e5e7eb;border-radius:8px;font-size:14px;padding:12px 16px}.form-group .input:focus{border-color:#667eea}.form-group .input:disabled{background-color:#f3f4f6;cursor:not-allowed}.btn-block{font-size:16px;font-weight:600;padding:14px;width:100%}.login-footer{border-top:1px solid #e5e7eb;margin-top:20px;padding-top:20px;text-align:center}.login-footer p{color:#9ca3af;font-size:13px}.alert-error{border-radius:8px;font-size:14px;margin-bottom:20px;padding:12px 16px}.enhanced-dashboard{background:#fafafa;margin:0 auto;max-width:1600px;padding:2rem}.dashboard-top-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:2rem}.dashboard-greeting{color:#111827;font-size:1.75rem;font-weight:600;letter-spacing:-.02em;margin-bottom:.5rem}.dashboard-date{align-items:center;color:#6b7280;display:flex;font-size:.875rem;font-weight:400;gap:.5rem}.alerts-section{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.alert-card{align-items:center;border:1px solid;border-radius:8px;display:flex;gap:.75rem;padding:.75rem 1rem}.alert-danger{background-color:#fef2f2;border-color:#fee2e2}.alert-warning{background-color:#fffbeb;border-color:#fef3c7}.alert-icon{flex-shrink:0;font-size:1.125rem}.alert-danger .alert-icon{color:#ef4444}.alert-warning .alert-icon{color:#f59e0b}.alert-message{color:#374151;flex:1 1;font-size:.875rem;font-weight:500}.stat-card{background:#fff;border-left:4px solid #0000;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);gap:1.25rem;padding:1.5rem;transition:all .2s ease}.stat-card:hover{box-shadow:var(--shadow-lg)}.stat-card.primary{border-left-color:var(--primary-600)}.stat-card.primary .stat-icon-wrapper{background-color:var(--primary-100);color:var(--primary-700)}.stat-card.success{border-left-color:var(--success-600)}.stat-card.success .stat-icon-wrapper{background-color:var(--success-100);color:var(--success-700)}.stat-card.danger{border-left-color:var(--danger-600)}.stat-card.danger .stat-icon-wrapper{background-color:var(--danger-100);color:var(--danger-700)}.stat-card.warning{border-left-color:var(--warning-600)}.stat-card.warning .stat-icon-wrapper{background-color:var(--warning-100);color:var(--warning-700)}.stat-icon-wrapper{border-radius:var(--radius-lg);height:60px;width:60px}.stat-label{color:var(--gray-600);font-size:.8rem;letter-spacing:.05em;margin-bottom:.25rem}.stat-value{color:var(--gray-900);font-size:2.25rem;font-weight:700;margin-bottom:.25rem}.stat-change{color:var(--gray-600);font-size:.85rem;font-weight:600}.stat-change.positive{color:var(--success-600)}.stat-change.negative{color:var(--danger-600)}.dashboard-content-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:2rem}.dashboard-card{background:#fff;border:none;border-radius:16px;box-shadow:0 1px 2px #0000000a;padding:1.75rem;transition:all .2s ease}.dashboard-card:hover{box-shadow:0 4px 12px #00000014}.card-header{border-bottom:1px solid #f3f4f6;justify-content:space-between;margin-bottom:1.25rem;padding-bottom:.75rem}.card-header,.card-title{align-items:center;display:flex}.card-title{color:#111827;font-size:1.0625rem;font-weight:600;gap:.625rem}.inline-icon{color:#3b82f6;font-size:1.25rem}.live-indicator{align-items:center;color:var(--success-600);display:flex;font-size:.75rem;font-weight:600;gap:.5rem;letter-spacing:.05em;text-transform:uppercase}.class-stats-list{display:flex;flex-direction:column;gap:1.25rem}.class-stat-item{align-items:center;background-color:var(--gray-50);border-radius:var(--radius-md);display:flex;gap:1.5rem;justify-content:space-between;padding:1rem;transition:all .2s ease}.class-stat-item:hover{background-color:var(--gray-100);transform:translateX(4px)}.class-info{min-width:120px}.class-name{color:var(--gray-900);font-size:1rem;margin-bottom:.25rem}.class-detail{color:var(--gray-600);font-size:.85rem}.class-attendance{display:flex;flex:1 1;flex-direction:column;gap:.5rem}.attendance-bar-container{background-color:var(--gray-200);border-radius:var(--radius-full);height:8px;overflow:hidden;width:100%}.attendance-bar{background:linear-gradient(90deg,var(--success-500),var(--success-600));border-radius:var(--radius-full);height:100%;transition:width .5s ease}.attendance-numbers{display:flex;font-size:.8rem;font-weight:500;justify-content:space-between}.text-success{color:var(--success-600)}.text-danger{color:var(--danger-600)}.text-bold{color:var(--gray-900);font-weight:700}.activity-feed{max-height:400px;overflow-y:auto;padding-right:.5rem}.activity-item{align-items:center;border-bottom:1px solid var(--gray-100);display:flex;gap:1rem;padding:.875rem;transition:all .2s ease}.activity-item:last-child{border-bottom:none}.activity-item:hover{background-color:var(--gray-50);border-radius:var(--radius-md)}.activity-time{color:var(--gray-600);font-family:Monaco,Courier New,monospace;font-size:.75rem;font-weight:600;min-width:60px}.activity-details{flex:1 1}.activity-student{color:var(--gray-900);font-size:.95rem;font-weight:600;margin-bottom:.15rem}.activity-class{color:var(--gray-600);font-size:.8rem}.quick-actions-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(4,1fr)}.action-card{align-items:center;background:#fff;border:none;border-radius:12px;box-shadow:0 1px 2px #0000000a;color:#6b7280;cursor:pointer;display:flex;flex-direction:column;font-size:.9375rem;font-weight:500;gap:.75rem;justify-content:center;padding:1.5rem;transition:all .2s ease}.action-card:hover{box-shadow:0 4px 12px #00000014;color:#111827;transform:translateY(-2px)}.action-card svg{color:#3b82f6;height:24px;width:24px}.loading-container{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(4,1fr)}@media (max-width:1200px){.dashboard-content-grid{grid-template-columns:1fr}.stats-grid,.stats-grid-enhanced{grid-template-columns:repeat(2,1fr)}.chart-section,.performers-grid{grid-template-columns:1fr}.quick-actions-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.enhanced-dashboard{padding:1rem}.dashboard-top-header{align-items:flex-start;flex-direction:column;gap:1rem}.dashboard-greeting{font-size:1.5rem}.stats-grid,.stats-grid-enhanced{grid-template-columns:1fr}.stat-card{padding:1.25rem}.stat-value,.stat-value-modern{font-size:1.75rem}.chart-section{grid-template-columns:1fr}.weekly-chart{height:180px}.bars-container{height:140px}.bar{width:20px}.performers-grid,.quick-actions-grid{grid-template-columns:1fr}.class-stat-item{align-items:flex-start;flex-direction:column}.class-attendance{width:100%}}.stats-grid-enhanced{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(4,1fr);margin-bottom:2rem}.stat-card-modern{background:#fff;border:none;border-radius:16px;box-shadow:0 1px 2px #0000000a;padding:1.75rem 1.5rem;transition:all .2s ease}.stat-card-modern:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.stat-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.25rem}.stat-icon-modern{align-items:center;border-radius:12px;display:flex;height:48px;justify-content:center;width:48px}.primary-icon{background:#dbeafe;color:#2563eb}.success-icon{background:#d1fae5;color:#059669}.danger-icon{background:#fee2e2;color:#dc2626}.warning-icon{background:#fef3c7;color:#d97706}.trend-icon{color:#9ca3af;opacity:.6}.trend-badge{align-items:center;display:flex;font-size:.75rem;font-weight:500;gap:3px}.trend-badge.positive{color:#10b981}.trend-badge.negative{color:#ef4444}.stat-card-content{margin-top:.5rem}.stat-label-modern{color:#6b7280;font-size:.8125rem;font-weight:500;margin-bottom:.75rem;text-transform:none}.stat-value-modern{color:#111827;font-size:2.25rem;font-weight:700;line-height:1;margin-bottom:.5rem}.stat-subtitle{color:#9ca3af;font-size:.8125rem;font-weight:400}.chart-section{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:2rem}.chart-card{min-height:380px}.weekly-chart{align-items:flex-end;background:#f9fafb;border-radius:12px;display:flex;height:220px;justify-content:space-around;margin-bottom:1.25rem;padding:1.5rem 1rem 1rem}.day-column{align-items:center;display:flex;flex:1 1;flex-direction:column;gap:.5rem}.bars-container{align-items:flex-end;display:flex;gap:4px;height:180px}.bar{align-items:flex-start;border-radius:6px 6px 0 0;display:flex;justify-content:center;padding-top:6px;position:relative;transition:all .2s ease;width:32px}.bar:hover{opacity:.85;transform:translateY(-2px)}.bar-present{background:#10b981}.bar-late{background:#f59e0b}.bar-absent{background:#ef4444}.bar-label{color:#fff;font-size:.7rem;font-weight:700;text-shadow:0 1px 2px #0000004d}.day-label{color:#6b7280;font-size:.8rem;font-weight:600;margin-top:.5rem}.chart-legend{border-top:1px solid #f3f4f6;display:flex;gap:1.25rem;justify-content:center;padding-top:.75rem}.legend-item{color:#9ca3af;font-size:.8rem;gap:.375rem}.legend-dot{border-radius:2px;height:10px;width:10px}.present-dot{background:#10b981}.late-dot{background:#f59e0b}.absent-dot{background:#ef4444}.trend-chart{display:flex;flex-direction:column;gap:1rem;padding:1rem 0}.trend-bar-wrapper{align-items:center;display:flex;gap:1rem}.month-label{color:#6b7280;font-size:.85rem;font-weight:600;min-width:40px}.trend-bar-bg{background:#f3f4f6;border-radius:8px;flex:1 1;height:32px;overflow:hidden;position:relative}.trend-bar-fill{align-items:center;background:#3b82f6;border-radius:6px;display:flex;height:100%;justify-content:flex-end;padding-right:10px;transition:width .5s ease}.trend-value{color:#fff;font-size:.8rem;font-weight:700;text-shadow:0 1px 2px #0003}.activity-card-modern{background:#fff}.live-indicator-modern{align-items:center;background:#dcfce7;border-radius:20px;color:#10b981;display:flex;font-size:.75rem;font-weight:600;gap:.5rem;letter-spacing:.05em;padding:6px 12px;text-transform:uppercase}.pulse-dot{animation:pulse-animation 2s ease-in-out infinite;background:#10b981;border-radius:50%;height:8px;width:8px}@keyframes pulse-animation{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.activity-feed-modern{max-height:480px;overflow-y:auto;padding-right:.5rem}.activity-item-modern{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;gap:1rem;padding:1rem;transition:all .2s ease}.activity-item-modern:last-child{border-bottom:none}.activity-item-modern:hover{background:#f9fafb;border-radius:8px}.activity-avatar{align-items:center;background:#3b82f6;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.875rem;font-weight:600;height:36px;justify-content:center;width:36px}.activity-info{flex:1 1;min-width:0}.activity-name{color:#111827;font-size:.95rem;font-weight:600;margin-bottom:.25rem}.activity-meta{align-items:center;color:#6b7280;display:flex;font-size:.8rem;gap:.5rem}.activity-time-dot{color:#d1d5db}.status-pill{align-items:center;border-radius:20px;display:flex;font-size:.8rem;font-weight:600;gap:6px;padding:6px 14px;white-space:nowrap}.status-present{background:#dcfce7;color:#16a34a}.status-late{background:#fef3c7;color:#d97706}.status-absent{background:#fee2e2;color:#dc2626}.empty-state{padding:3rem 1rem}.empty-icon{margin-bottom:1rem;opacity:.3}.performers-card{margin-bottom:2rem}.performers-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr)}.performer-card{align-items:center;background:#fff;border:1px solid #f3f4f6;border-radius:12px;display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;transition:all .15s ease}.performer-card:hover{border-color:#e5e7eb;box-shadow:0 1px 3px #0000000d}.rank-badge{font-size:2rem;margin-bottom:.5rem}.performer-info{text-align:center}.performer-info h4{color:#111827;font-size:1.1rem;font-weight:700;margin-bottom:.25rem}.performer-info p{color:#6b7280;font-size:.85rem}.performer-rate{margin-top:.5rem}.circular-progress{height:80px;position:relative;width:80px}.circular-progress,.circular-progress-inner{align-items:center;border-radius:50%;display:flex;justify-content:center}.circular-progress-inner{background:#fff;color:#16a34a;font-size:1.1rem;font-weight:700;height:64px;width:64px}@keyframes slide-in{0%{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}.slide-in{animation:slide-in .3s ease-out forwards}.fade-in{animation:fadeIn .3s ease-in-out}.status-dot.online{animation:pulse 2s ease-in-out infinite}.students-container{background:#f8fafc!important;margin:0 auto!important;max-width:100%!important;min-height:100vh!important;overflow-x:hidden!important;padding:1.5rem!important;width:100%!important}.students-container,.students-container *{box-sizing:border-box!important}.students-container .students-header{align-items:center!important;background:#fff!important;border-radius:12px!important;box-shadow:0 1px 2px #0000000a!important;display:flex!important;justify-content:space-between!important;margin-bottom:1.25rem!important;padding:1rem 1.5rem!important}.students-container .students-header h1{align-items:center;color:#0f172a;display:flex;font-size:1.25rem;font-weight:700;gap:.5rem;letter-spacing:-.01em;margin:0}.students-container .students-header p{color:#64748b;font-size:.8125rem;font-weight:400;line-height:1.4;margin:0}.students-container .inline-icon{color:#6366f1;height:20px;width:20px}.students-container .students-stats{grid-gap:.875rem;display:grid;gap:.875rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.25rem}.students-container .stat-card{align-items:center;background:#fff;border-radius:10px;box-shadow:0 1px 2px #0000000a;display:flex;gap:.875rem;overflow:hidden;padding:1rem 1.25rem;position:relative;transition:all .2s ease}.students-container .stat-card:before{bottom:0;content:"";left:0;position:absolute;top:0;transition:width .2s ease;width:3px}.students-container .stat-card.primary:before{background:#6366f1}.students-container .stat-card.success:before{background:#10b981}.students-container .stat-card.danger:before{background:#ef4444}.students-container .stat-card.warning:before{background:#f59e0b}.students-container .stat-card:hover{box-shadow:0 4px 8px #00000014;transform:translateY(-2px)}.students-container .stat-card:hover:before{width:4px}.students-container .stat-icon-wrapper{align-items:center;border-radius:9px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.students-container .stat-icon-wrapper svg{height:20px;width:20px}.students-container .stat-card.primary .stat-icon-wrapper{background:#eef2ff;color:#6366f1}.students-container .stat-card.success .stat-icon-wrapper{background:#ecfdf5;color:#10b981}.students-container .stat-card.danger .stat-icon-wrapper{background:#fef2f2;color:#ef4444}.students-container .stat-card.warning .stat-icon-wrapper{background:#fffbeb;color:#f59e0b}.students-container .stat-label{color:#64748b;font-size:.625rem;font-weight:600;letter-spacing:.06em;margin-bottom:.25rem;text-transform:uppercase}.students-container .stat-value{color:#0f172a;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;line-height:1;margin-bottom:.25rem}.students-container .stat-percentage{background:#ecfdf5;border-radius:6px;color:#059669;display:inline-block;font-size:.625rem;font-weight:600;padding:.25rem .5rem}.students-container .students-toolbar{background:#fff;border-radius:10px;box-shadow:0 1px 2px #0000000a;margin-bottom:1.25rem;padding:1rem 1.25rem}.students-container .search-box{margin-bottom:.875rem;max-width:100%;position:relative}.students-container .search-icon{color:#94a3b8;height:16px;left:.875rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:16px;z-index:1}.students-container .search-input{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;color:#0f172a;font-size:.8125rem;font-weight:400;padding:.625rem .875rem .625rem 2.5rem;transition:all .2s ease;width:100%}.students-container .search-input::placeholder{color:#94a3b8}.students-container .search-input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.students-container .filters-row{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.students-container .filter-icon{color:#64748b;height:16px;width:16px}.students-container .filter-select{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;color:#334155;cursor:pointer;font-size:.8125rem;font-weight:500;min-width:140px;padding:.5625rem .75rem;transition:all .2s ease}.students-container .filter-select:hover{background:#fff;border-color:#cbd5e1}.students-container .filter-select:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.students-container .table-container{-webkit-overflow-scrolling:touch!important;background:#fff!important;border:none!important;border-radius:14px!important;box-shadow:0 2px 8px #0000000a,0 0 0 1px #00000005!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important}.students-container .students-table{border-collapse:initial!important;border-spacing:0!important;min-width:1000px!important;table-layout:auto!important;width:100%!important}.students-container .students-table td:first-child,.students-container .students-table th:first-child{min-width:120px;width:12%}.students-container .students-table td:nth-child(2),.students-container .students-table th:nth-child(2){min-width:110px;width:11%}.students-container .students-table td:nth-child(3),.students-container .students-table th:nth-child(3){min-width:120px;width:12%}.students-container .students-table td:nth-child(4),.students-container .students-table td:nth-child(5),.students-container .students-table th:nth-child(4),.students-container .students-table th:nth-child(5){min-width:70px;width:8%}.students-container .students-table td:nth-child(6),.students-container .students-table th:nth-child(6){min-width:90px;width:10%}.students-container .students-table td:nth-child(7),.students-container .students-table th:nth-child(7){min-width:180px;width:22%}.students-container .students-table td:nth-child(8),.students-container .students-table th:nth-child(8){min-width:140px;width:17%}.students-container .students-table thead{background:linear-gradient(180deg,#fafbfc,#f8fafc)!important;box-shadow:0 1px 0 #e2e8f0!important;position:-webkit-sticky;position:sticky;top:0;z-index:10}.students-container .students-table th{background:#0000!important;border-bottom:2px solid #e2e8f0!important;color:#64748b!important;font-size:.625rem!important;font-weight:700!important;letter-spacing:.08em!important;padding:.875rem 1.125rem!important;text-align:left!important;text-transform:uppercase!important;white-space:nowrap!important}.students-container .students-table tbody tr{background:#fff!important;border-bottom:1px solid #f1f5f9!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.students-container .students-table tbody tr:hover{background:#fafbfc!important;box-shadow:inset 0 0 0 1px #e2e8f0!important}.students-container .students-table tbody tr:last-child{border-bottom:none!important}.students-container .students-table td{color:#334155!important;font-size:.8125rem!important;font-weight:500!important;line-height:1.3!important;padding:.875rem 1.125rem!important;vertical-align:middle!important}.students-container .student-name{color:#0f172a!important;font-size:.8125rem!important;font-weight:600!important;letter-spacing:-.01em!important;line-height:1.3!important}.students-container .badge{align-items:center!important;border-radius:6px!important;display:inline-flex!important;font-size:.6875rem!important;font-weight:600!important;gap:.3rem!important;padding:.3125rem .625rem!important;transition:all .15s ease!important;white-space:nowrap!important}.students-container .badge svg{height:11px!important;width:11px!important}.students-container .badge-success{background:#ecfdf5!important;border:1.5px solid #a7f3d0!important;color:#059669!important}.students-container .badge-success:hover{background:#d1fae5!important;border-color:#6ee7b7!important}.students-container .badge-danger{background:#fef2f2!important;border:1.5px solid #fecaca!important;color:#dc2626!important}.students-container .badge-danger:hover{background:#fee2e2!important;border-color:#fca5a5!important}.students-container .badge-blue{background:#eff6ff!important;border:1.5px solid #bfdbfe!important;color:#2563eb!important;font-family:SF Mono,Monaco,Courier New,monospace!important;font-size:.8125rem!important;letter-spacing:.03em!important;padding:.4375rem .875rem!important}.students-container .badge-blue:hover{background:#dbeafe!important;border-color:#93c5fd!important}.students-container .guardian-info{display:flex;flex-direction:column;gap:.25rem}.students-container .guardian-info div{color:#0f172a;font-size:.875rem;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.students-container .guardian-info small{color:#64748b;font-size:.75rem;font-weight:500;line-height:1.2}.students-container .action-buttons{align-items:center!important;display:flex!important;gap:.5rem!important;justify-content:flex-end!important}.students-container .btn-icon{align-items:center!important;border:1.5px solid!important;border-radius:7px!important;cursor:pointer!important;display:flex!important;font-size:14px!important;height:32px!important;justify-content:center!important;min-width:32px!important;overflow:hidden!important;padding:0!important;position:relative!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important;width:32px!important}.students-container .btn-icon:before{background:#ffffff80!important;content:""!important;inset:0!important;opacity:0!important;position:absolute!important;transition:opacity .2s ease!important}.students-container .btn-icon:hover:before{opacity:1!important}.students-container .btn-view{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#059669!important}.students-container .btn-view:hover{background:#d1fae5!important;border-color:#6ee7b7!important;box-shadow:0 4px 10px #0596692e!important;transform:translateY(-2px) scale(1.03)!important}.students-container .btn-view:active{box-shadow:0 2px 4px #0596691f!important;transform:translateY(0) scale(1)!important}.students-container .btn-edit{background:#eff6ff!important;border-color:#bfdbfe!important;color:#2563eb!important}.students-container .btn-edit:hover{background:#dbeafe!important;border-color:#93c5fd!important;box-shadow:0 4px 10px #2563eb2e!important;transform:translateY(-2px) scale(1.03)!important}.students-container .btn-edit:active{box-shadow:0 2px 4px #2563eb1f!important;transform:translateY(0) scale(1)!important}.students-container .btn-delete{background:#fef2f2!important;border-color:#fecaca!important;color:#dc2626!important}.students-container .btn-delete:hover{background:#fee2e2!important;border-color:#fca5a5!important;box-shadow:0 4px 10px #dc26262e!important;transform:translateY(-2px) scale(1.03)!important}.students-container .btn-delete:active{box-shadow:0 2px 4px #dc26261f!important;transform:translateY(0) scale(1)!important}.students-container .empty-state{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:4rem 2rem;text-align:center}.students-container .empty-state svg{color:#cbd5e1;margin-bottom:1.5rem}.students-container .empty-state p{color:#64748b;font-size:.9375rem;font-weight:500;line-height:1.5;margin-bottom:1.5rem}.students-container .loading-spinner{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;gap:1.5rem;height:400px;justify-content:center}.students-container .spinner{animation:spin .8s linear infinite;border:4px solid #f1f5f9;border-radius:50%;border-top-color:#6366f1;height:48px;width:48px}.students-container .loading-spinner p{color:#64748b;font-size:.875rem;font-weight:500}.students-container .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:600;gap:.4rem;justify-content:center;letter-spacing:-.01em;padding:.5625rem 1.125rem;transition:all .25s cubic-bezier(.4,0,.2,1)}.students-container .btn svg{height:16px;width:16px}.students-container .btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 8px #6366f140;color:#fff}.students-container .btn-primary:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 4px 12px #6366f159;transform:translateY(-1px)}.students-container .btn-secondary{background:#fff;border:1.5px solid #e2e8f0;color:#475569}.students-container .btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.students-container .btn-sm{font-size:.8125rem;padding:.5rem 1rem}.students-container .btn-outline{background:#fff;border:1.5px solid #e2e8f0;color:#475569}.students-container .btn-outline:hover{background:#f8fafc;border-color:#cbd5e1}.students-container .text-muted{color:#94a3b8;font-size:.8125rem;font-weight:400}.students-container .table-container::-webkit-scrollbar{height:10px!important}.students-container .table-container::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:5px!important;margin:0 8px!important}.students-container .table-container::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:2px solid #f1f5f9!important;border-radius:5px!important}.students-container .table-container::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;box-shadow:0 2px 4px #6366f14d!important}.students-container .table-container:after{background:linear-gradient(90deg,#0000,#fffffff2 20%)!important;border-radius:6px!important;bottom:12px!important;color:#64748b!important;content:"👉 Scroll right for more"!important;float:right!important;font-size:.75rem!important;font-weight:600!important;opacity:0!important;padding:8px 16px 8px 32px!important;pointer-events:none!important;position:-webkit-sticky!important;position:sticky!important;right:0!important;transition:opacity .3s ease!important}.students-container .table-container:hover:after{opacity:1!important}.students-container .pagination-container{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 2px #00000008;display:flex;flex-wrap:wrap;gap:.625rem;justify-content:space-between;margin-top:1rem;padding:.625rem .875rem}.students-container .pagination-info{color:#64748b;font-size:.6875rem;font-weight:500}.students-container .pagination{align-items:center;display:flex;flex-wrap:wrap;gap:.25rem}.students-container .pagination-btn{align-items:center;background:#fff;border:1.5px solid #e2e8f0;border-radius:5px;color:#475569;cursor:pointer;display:flex;font-size:.6875rem;font-weight:600;height:28px;justify-content:center;min-width:28px;padding:.3125rem .5625rem;transition:all .2s ease}.students-container .pagination-btn:hover:not(:disabled){background:#f8fafc;border-color:#6366f1;color:#6366f1;transform:translateY(-1px)}.students-container .pagination-btn.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#0000;box-shadow:0 4px 8px #6366f140;color:#fff}.students-container .pagination-btn:disabled{cursor:not-allowed;opacity:.5}.students-container .pagination-dots{color:#94a3b8;font-weight:600;padding:0 .5rem}.students-container .floating-add-btn{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:50%;bottom:1.25rem;box-shadow:0 4px 16px #6366f14d;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;position:fixed;right:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);width:48px;z-index:999}.students-container .floating-add-btn svg{height:20px;width:20px}.students-container .floating-add-btn:hover{box-shadow:0 10px 28px #6366f173;transform:scale(1.1) rotate(90deg)}.students-container .floating-add-btn:active{transform:scale(1.05) rotate(90deg)}.drawer-overlay{animation:fadeIn .3s ease;background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.drawer{background:#fff;box-shadow:-4px 0 24px #00000026;height:100vh;overflow-y:auto;position:fixed;right:-450px;top:0;transition:right .3s cubic-bezier(.4,0,.2,1);width:450px;z-index:1001}.drawer.drawer-open{right:0}.drawer-header{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-bottom:2px solid #f1f5f9;display:flex;justify-content:space-between;padding:1.5rem 1.75rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.drawer-header h2{color:#fff;font-size:1.25rem;font-weight:700;margin:0}.drawer-close{align-items:center;background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:24px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.drawer-close:hover{background:#ffffff4d;transform:rotate(90deg)}.drawer-content{padding:1.75rem}.drawer-photo{margin-bottom:1.5rem;text-align:center}.drawer-photo img{border:4px solid #e2e8f0;border-radius:50%;box-shadow:0 8px 16px #0000001a;height:180px;object-fit:cover;width:180px}.drawer-name-section{border-bottom:2px solid #f1f5f9;margin-bottom:1.5rem;padding-bottom:1.5rem;text-align:center}.drawer-name-section h3{color:#0f172a;font-size:1.5rem;font-weight:700;margin:0 0 .75rem}.drawer-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1.5rem;padding:1.25rem}.drawer-section h4{border-bottom:2px solid #e2e8f0;color:#0f172a;font-size:.9375rem;font-weight:700;margin:0 0 1rem;padding-bottom:.75rem}.drawer-info-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}.drawer-info-item{display:flex;flex-direction:column;gap:.375rem}.drawer-info-item.full-width{grid-column:1/-1}.drawer-info-item label{color:#64748b;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.drawer-info-item p{background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#0f172a;font-size:.9375rem;font-weight:600;margin:0;padding:.625rem .875rem}.drawer-actions{border-top:2px solid #f1f5f9;display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem}.drawer-actions .btn{flex:1 1}.photo-upload-options{align-items:stretch;display:flex;gap:1rem}.photo-upload-area{flex:1 1}.upload-divider{color:#94a3b8;font-size:.75rem;font-weight:600;padding:0 .5rem}.btn-webcam,.upload-divider{align-items:center;display:flex;justify-content:center}.btn-webcam{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;cursor:pointer;flex:1 1;flex-direction:column;gap:.75rem;padding:1.5rem;transition:all .3s ease}.btn-webcam:hover{background:#eef2ff;border-color:#6366f1}.btn-webcam .upload-icon{font-size:2.5rem}.btn-webcam .upload-text{text-align:center}.btn-webcam .upload-text strong{color:#0f172a;display:block;font-size:.9375rem;margin-bottom:.25rem}.btn-webcam .upload-text small{color:#64748b;display:block;font-size:.8125rem}.modal-overlay{overflow-y:auto}.modal-content{max-width:920px}.modal-header h2{align-items:center;display:flex;gap:.625rem}.modal-close{background:#fff3;border-radius:8px;color:#fff;font-size:22px;height:36px;width:36px}.modal-close:hover{background:#ffffff4d;transform:rotate(90deg)}.modal-body{padding:2rem}.form-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:2rem;padding:1.75rem}.form-section-title{align-items:center;border-bottom:2px solid #e2e8f0;color:#0f172a;display:flex;font-size:1.0625rem;font-weight:700;gap:.5rem;margin:0 0 1.5rem;padding-bottom:1rem}.form-grid{grid-template-columns:repeat(2,1fr)}.form-group{gap:.5rem}.form-group-full{grid-column:1/-1}.form-group label{gap:.375rem}.required{color:#ef4444;font-weight:700}.optional{color:#94a3b8;font-size:.75rem;font-weight:500}.input,.textarea,select.input{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;color:#0f172a;font-family:inherit;font-size:.875rem;padding:.75rem 1rem;transition:all .2s ease;width:100%}.input:focus,.textarea:focus,select.input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.input:hover,.textarea:hover,select.input:hover{border-color:#cbd5e1}.input::placeholder,.textarea::placeholder{color:#94a3b8}.textarea{min-height:100px;resize:vertical}.input-error{background:#fef2f2!important;border-color:#ef4444!important}.input-success{background:#ecfdf5!important;border-color:#10b981!important}.field-error{align-items:center;color:#ef4444;display:flex;font-size:.75rem;font-weight:500;gap:.25rem}.field-success{color:#10b981;font-size:.75rem;font-weight:600}.input-hint{color:#64748b;font-size:.75rem;font-weight:400;line-height:1.4}.photo-preview-container{height:200px;margin:0 auto 1rem;position:relative;width:200px}.photo-preview{border:3px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 12px #0000001a;height:100%;object-fit:cover;width:100%}.btn-remove-photo{align-items:center;background:#ef4444;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px #ef44444d;color:#fff;cursor:pointer;display:flex;font-size:20px;height:32px;justify-content:center;position:absolute;right:-8px;top:-8px;transition:all .2s ease;width:32px}.btn-remove-photo:hover{background:#dc2626;transform:scale(1.1)}.photo-upload-label{align-items:center;background:#fff;border:2px dashed #cbd5e1;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:2rem;transition:all .3s ease}.photo-upload-label:hover{background:#f8fafc;border-color:#6366f1}.upload-icon{font-size:3rem}.upload-text{text-align:center}.upload-text strong{color:#0f172a;display:block;font-size:1rem;margin-bottom:.375rem}.upload-text small{color:#64748b;display:block;font-size:.8125rem;line-height:1.4}.modal-footer{border-radius:0 0 16px 16px;border-top:2px solid #f1f5f9;padding:1.5rem 2rem}.modal-footer .btn{flex:1 1;font-size:.9375rem;font-weight:600;padding:.875rem 1.5rem}.modal-footer .btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 4px 12px #6366f14d}.modal-footer .btn-primary:hover{box-shadow:0 6px 16px #6366f166;transform:translateY(-2px)}.webcam-overlay{align-items:center;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172ae6;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:10000}.webcam-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px;box-shadow:0 25px 80px #00000080;max-width:700px;overflow:hidden;width:90%}.webcam-header{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-bottom:none;display:flex;justify-content:space-between;padding:1.5rem 2rem;position:relative}.webcam-header:after{background:linear-gradient(90deg,#10b981,#3b82f6,#8b5cf6);bottom:0;content:"";height:4px;left:0;position:absolute;right:0}.webcam-header h3{font-size:1.25rem;font-weight:700;gap:.625rem;margin:0}.webcam-close,.webcam-header h3{align-items:center;color:#fff;display:flex}.webcam-close{background:#ffffff26;border:2px solid #fff3;border-radius:10px;cursor:pointer;font-size:24px;font-weight:300;height:40px;justify-content:center;transition:all .2s ease;width:40px}.webcam-close:hover{background:#ffffff40;border-color:#fff6;transform:rotate(90deg) scale(1.1)}.webcam-body{aspect-ratio:4/3;background:#000;overflow:hidden;position:relative}.webcam-video{height:100%;object-fit:cover;width:100%}.webcam-guide{align-items:center;bottom:0;display:flex;flex-direction:column;gap:2rem;justify-content:center;left:0;pointer-events:none;position:absolute;right:0;top:0}.guide-circle{animation:pulse 2s ease-in-out infinite;border:4px solid #fffc;border-radius:50%;box-shadow:0 0 0 9999px #00000080,0 0 30px #6366f180,inset 0 0 30px #6366f14d;height:320px;position:relative;width:320px}.guide-circle:before{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:50%;box-shadow:0 4px 12px #6366f180;content:"";display:flex;height:60px;justify-content:center;width:60px}.guide-circle:after,.guide-circle:before{left:50%;position:absolute;top:-8px;transform:translateX(-50%)}.guide-circle:after{content:"👤";font-size:32px;z-index:1}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.02)}}.webcam-guide-text{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0009;border-radius:50px;color:#fff;font-size:1.125rem;font-weight:600;padding:.75rem 1.5rem;text-shadow:0 2px 8px #000c}.webcam-footer{background:linear-gradient(180deg,#f8fafc,#fff);border-top:none;display:flex;gap:1rem;padding:1.75rem 2rem}.webcam-footer .btn{border-radius:12px;flex:1 1;font-size:1rem;font-weight:600;padding:1rem 1.5rem}.webcam-footer .btn-secondary{background:#fff;border:2px solid #e2e8f0;color:#64748b}.webcam-footer .btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.btn-capture{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;box-shadow:0 8px 20px #6366f14d!important;display:flex;font-size:1.0625rem!important;gap:.625rem;justify-content:center;overflow:hidden;position:relative}.btn-capture:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.btn-capture:hover:before{height:300px;width:300px}.btn-capture:hover{box-shadow:0 12px 28px #6366f166!important;transform:translateY(-2px)!important}@media (max-width:1400px){.students-container{padding:1.25rem!important}}@media (max-width:1200px){.students-container .students-stats{grid-template-columns:repeat(2,1fr)!important}.students-container .students-table{min-width:950px!important}}@media (max-width:768px){.students-container{padding:1rem!important}.students-container .students-header{align-items:flex-start!important;flex-direction:column!important;gap:1rem!important;padding:1.25rem!important}.students-container .students-header h1{font-size:1.375rem!important}.students-container .students-stats{gap:.875rem!important;grid-template-columns:1fr!important}.students-container .students-toolbar{padding:1.25rem!important}.students-container .filters-row{align-items:stretch!important;flex-direction:column!important}.students-container .filter-select{min-width:auto!important;width:100%!important}.students-container .table-container{border-radius:12px!important;margin:0 -.5rem!important;width:calc(100% + 1rem)!important}.students-container .students-table{min-width:900px!important}.students-container .students-table td,.students-container .students-table th{padding:.875rem 1rem!important}.students-container .btn-icon{border-radius:8px!important;font-size:14px!important;height:32px!important;min-width:32px!important;width:32px!important}.students-container .action-buttons{gap:.375rem!important}.students-container .badge{font-size:.75rem!important;padding:.3125rem .625rem!important}.students-container .pagination-container{align-items:stretch;flex-direction:column;padding:.625rem .75rem}.students-container .pagination-info{font-size:.6875rem;text-align:center}.students-container .pagination{justify-content:center}.students-container .pagination-btn{font-size:.625rem;height:26px;min-width:26px}.drawer{right:-90%!important;width:90%!important}.drawer-info-grid{grid-template-columns:1fr!important}.drawer-actions{flex-direction:column}.students-container .floating-add-btn{bottom:1rem!important;height:44px!important;right:1rem!important;width:44px!important}.students-container .floating-add-btn svg{height:18px!important;width:18px!important}.modal-content{max-height:95vh;max-width:95%}.modal-header{padding:1.25rem 1.5rem}.modal-header h2{font-size:1.125rem}.modal-body{padding:1.5rem}.modal-footer{flex-direction:column;padding:1.25rem 1.5rem}.form-section{padding:1.25rem}.form-grid{gap:1rem;grid-template-columns:1fr}.form-section-title{font-size:1rem}.photo-upload-options{flex-direction:column}.upload-divider{padding:.5rem 0}.webcam-modal{border-radius:16px;max-width:100%;width:95%}.webcam-header{padding:1.25rem 1.5rem}.webcam-header h3{font-size:1.125rem}.webcam-footer{flex-direction:column;padding:1.5rem}.guide-circle{border-width:3px;height:260px;width:260px}.guide-circle:before{height:50px;width:50px}.guide-circle:after{font-size:28px}.webcam-guide-text{font-size:1rem;padding:.625rem 1.25rem}}@media (max-width:480px){.students-container{padding:.75rem!important}.students-container .students-header,.students-container .students-toolbar{padding:1rem!important}.students-container .table-container{margin:0 -.375rem!important;width:calc(100% + .75rem)!important}.drawer{right:-100%!important;width:100%!important}.drawer-photo img{height:140px!important;width:140px!important}.drawer-content{padding:1.25rem!important}.students-container .pagination-btn{font-size:.625rem!important;height:24px!important;min-width:24px!important;padding:.25rem .4375rem!important}.students-container .floating-add-btn{bottom:.75rem!important;height:40px!important;right:.75rem!important;width:40px!important}.students-container .floating-add-btn svg{height:16px!important;width:16px!important}.modal-header{padding:1rem 1.25rem}.modal-header h2{font-size:1rem}.modal-body{padding:1.25rem}.modal-footer{padding:1rem 1.25rem}.form-section{margin-bottom:1.25rem;padding:1rem}.form-section-title{font-size:.9375rem}.input,.textarea,select.input{font-size:.8125rem;padding:.625rem .875rem}.webcam-modal{border-radius:12px!important}.webcam-header{padding:1rem 1.25rem!important}.webcam-header h3{font-size:1rem!important}.webcam-close{height:36px!important;width:36px!important}.webcam-footer{padding:1.25rem!important}.guide-circle{border-width:3px!important;height:220px!important;width:220px!important}.guide-circle:before{height:44px!important;top:-6px!important;width:44px!important}.guide-circle:after{font-size:24px!important;top:-6px!important}.webcam-guide-text{font-size:.875rem!important;padding:.5rem 1rem!important}.btn-webcam .upload-icon{font-size:2rem!important}.photo-preview-container{height:160px!important;width:160px!important}}.bulk-import-modal{max-height:90vh;max-width:600px;overflow-y:auto}.info-box{align-items:flex-start;background:#e3f2fd;border-left:4px solid #2196f3;border-radius:4px;display:flex;gap:1rem;margin-bottom:1.5rem;padding:1rem}.info-box svg{color:#2196f3;flex-shrink:0;margin-top:.2rem}.info-box ul{margin:.5rem 0 0;padding-left:1.5rem}.info-box li{font-size:.9rem;margin-bottom:.3rem}.file-info{align-items:center;background:#f0f9ff;border-radius:4px;display:flex;font-size:.9rem;gap:.5rem;margin-top:.5rem;padding:.5rem}.import-results{padding:1rem 0}.results-summary h3{color:#333;margin-bottom:1rem}.summary-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.stat-item{background:#f8f9fa;border-radius:8px;gap:1rem;padding:1rem}.stat-item.success{background:#d4edda;color:#155724}.stat-item.danger{background:#f8d7da;color:#721c24}.stat-item.warning{background:#fff3cd;color:#856404}.stat-item strong{display:block;font-size:1.5rem;line-height:1}.stat-item span{font-size:.85rem}.failed-students{margin-top:1.5rem}.failed-students h4{color:#721c24;margin-bottom:1rem}.failed-list{background:#fff;border:1px solid #dee2e6;border-radius:4px;max-height:300px;overflow-y:auto}.failed-item{border-bottom:1px solid #e9ecef;padding:.75rem 1rem}.failed-item:last-child{border-bottom:none}.failed-item strong{color:#333;display:block;margin-bottom:.25rem}.row-number{background:#6c757d;border-radius:12px;color:#fff;display:inline-block;font-size:.75rem;margin-left:.5rem;padding:.125rem .5rem}.error-messages{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.error-badge{background:#f8d7da;border-radius:4px;color:#721c24;display:inline-block;font-size:.8rem;padding:.25rem .5rem}.more-errors{color:#6c757d;font-style:italic;padding:.75rem 1rem;text-align:center}.student-details-container{background:#f8fafc;margin:0 auto;max-width:1200px;min-height:100vh;padding:1.5rem}.details-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.btn-back{align-items:center;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.625rem 1rem;transition:all .2s ease}.btn-back:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateX(-2px)}.btn-danger{background:#fef2f2!important;border:1.5px solid #fecaca!important;color:#dc2626!important}.btn-danger:hover{background:#fee2e2!important;border-color:#fca5a5!important}.profile-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000000d;margin-bottom:1.5rem;padding:2rem}.profile-header{align-items:center;display:flex;gap:2rem}.profile-photo{border:4px solid #e2e8f0;border-radius:50%;box-shadow:0 4px 12px #0000001a;flex-shrink:0;height:150px;overflow:hidden;width:150px}.profile-photo img{height:100%;object-fit:cover;width:100%}.photo-placeholder{align-items:center;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#6366f1;display:flex;height:100%;justify-content:center;width:100%}.profile-info h1{color:#0f172a;font-size:2rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .75rem}.profile-meta{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1rem}.meta-item{align-items:center;color:#64748b;display:inline-flex;font-size:.875rem;font-weight:500;gap:.375rem}.meta-item svg{height:16px;width:16px}.rfid-status-large{margin-top:.5rem}.badge-danger-large,.badge-success-large{align-items:center;border:2px solid;border-radius:10px;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.625rem 1.125rem}.badge-success-large{background:#ecfdf5;border-color:#a7f3d0;color:#059669}.badge-success-large svg{height:18px;width:18px}.badge-danger-large{background:#fef2f2;border-color:#fecaca;color:#dc2626}.badge-danger-large svg{height:18px;width:18px}.details-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr)}.detail-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:1.5rem}.detail-section.full-width{grid-column:1/-1}.section-header{gap:.625rem;margin-bottom:1.25rem;padding-bottom:1rem}.section-header svg{color:#6366f1;height:20px;width:20px}.section-header h2{color:#0f172a;font-size:1.125rem;font-weight:700;letter-spacing:-.01em;margin:0}.detail-items{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(2,1fr)}.guardian-grid{grid-template-columns:repeat(3,1fr)}.detail-item{display:flex;flex-direction:column;gap:.5rem}.detail-item.full-width{grid-column:1/-1}.detail-item label{color:#64748b;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.detail-item p{align-items:center;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;color:#0f172a;display:flex;font-size:.9375rem;font-weight:600;gap:.5rem;margin:0;padding:.75rem 1rem}.item-icon{color:#6366f1;flex-shrink:0;height:16px;width:16px}.rfid-badge{background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:6px;color:#2563eb;font-family:SF Mono,Monaco,monospace;font-size:.875rem;letter-spacing:.02em;padding:.375rem .75rem}.error-state,.loading-spinner{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;min-height:400px}.spinner{border:4px solid #f1f5f9}.error-state p,.loading-spinner p{color:#64748b;font-size:.9375rem;font-weight:500}@media (max-width:1024px){.details-grid{grid-template-columns:1fr}.guardian-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.student-details-container{padding:1rem}.profile-card{padding:1.5rem}.profile-header{flex-direction:column;gap:1.5rem;text-align:center}.profile-photo{height:120px;width:120px}.profile-info h1{font-size:1.5rem}.profile-meta,.rfid-status-large{justify-content:center}.rfid-status-large{display:flex}.details-header{align-items:stretch;flex-direction:column}.header-actions{width:100%}.header-actions .btn{flex:1 1}.detail-items,.guardian-grid{grid-template-columns:1fr}}@media (max-width:480px){.student-details-container{padding:.75rem}.profile-card{padding:1.25rem}.profile-photo{height:100px;width:100px}.profile-info h1{font-size:1.25rem}.detail-section{padding:1.25rem}.section-header h2{font-size:1rem}.detail-item p{font-size:.875rem;padding:.625rem .875rem}}.modal-overlay{background-color:#00000080;padding:20px}.modal-content{animation:modalSlideIn .3s ease-out;box-shadow:0 10px 40px #0003}.modal-header{padding:20px 24px}.modal-header h2{color:#111827;font-size:20px}.modal-close{background:none;border-radius:6px;color:#6b7280;font-size:28px}.modal-close:hover{background-color:#f3f4f6;color:#111827}.manual-attendance-form{padding:24px}.form-input,.form-select,.form-textarea{border:1px solid #d1d5db;border-radius:8px;color:#111827;font-family:inherit;font-size:14px;padding:10px 12px;transition:all .2s;width:100%}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-textarea{min-height:80px;resize:vertical}.text-muted{display:block;font-size:12px;margin-top:6px}.error-banner{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px;gap:10px;margin-bottom:20px;padding:12px 16px}.error-icon{font-size:18px}.selected-student-info{background-color:#f0f9ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:20px;padding:12px 16px}.selected-student-info strong{color:#1e40af;display:block;font-size:15px;margin-bottom:4px}.student-details{color:#3b82f6;font-size:13px}.checkbox-option{align-items:center;background:#fef2f2;border:2px solid #fecaca;border-radius:8px;cursor:pointer;display:flex;gap:10px;padding:12px;transition:all .2s}.checkbox-option:hover{background:#fee2e2;border-color:#fca5a5}.checkbox-option input[type=checkbox]{cursor:pointer;height:18px;width:18px}.checkbox-option span{color:#991b1b;font-size:14px;font-weight:500}.modal-actions{border-top:1px solid #e5e7eb;gap:12px;margin-top:24px;padding-top:20px}.btn{border-radius:8px;font-size:14px;justify-content:center;min-width:120px;padding:10px 20px;transition:all .2s}.btn:disabled{opacity:.6}.btn-secondary{background-color:#f3f4f6}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-primary{background-color:#3b82f6}.btn-primary:hover:not(:disabled){background-color:#2563eb;box-shadow:0 4px 12px #3b82f64d}@media (max-width:640px){.modal-content{border-radius:0;max-height:100vh;max-width:100%}.status-options{flex-direction:column}.modal-actions{flex-direction:column-reverse}.btn{width:100%}}.leave-modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.leave-modal-content{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;padding:0;width:90%}.leave-modal-info{background:linear-gradient(135deg,#e0f2fe,#dbeafe);border-left:4px solid #3b82f6;border-radius:8px;color:#1e40af;font-size:.95rem;line-height:1.6;margin:0 1.5rem 1rem;padding:1rem 1.5rem}.leave-modal-info strong{color:#1e3a8a;font-weight:600}.leave-modal-info small{color:#3b82f6;font-size:.875rem}.leave-modal-header{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-bottom:2px solid #e5e7eb;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;padding:24px 28px}.leave-modal-title-group{align-items:center;color:#fff;display:flex;gap:12px}.leave-modal-icon{font-size:24px}.leave-modal-header h2{color:#fff;font-size:22px;font-weight:700;margin:0}.leave-modal-close{align-items:center;background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:20px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.leave-modal-close:hover{background:#ffffff4d;transform:scale(1.05)}.leave-modal-error{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#991b1b;font-size:14px;font-weight:500;margin:20px 28px 0;padding:12px 16px}.leave-modal-form{padding:28px}.leave-form-group{margin-bottom:20px}.leave-form-group label{align-items:center;color:#374151;display:flex;font-size:14px;font-weight:600;gap:8px;margin-bottom:8px}.leave-form-input,.leave-form-select,.leave-form-textarea{background:#fff;border:2px solid #e5e7eb;border-radius:10px;color:#1f2937;font-family:inherit;font-size:14px;padding:12px 16px;transition:all .2s ease;width:100%}.leave-form-input:focus,.leave-form-select:focus,.leave-form-textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a;outline:none}.leave-form-select{cursor:pointer}.leave-form-textarea{min-height:80px;resize:vertical}.leave-form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.leave-modal-actions{border-top:2px solid #f3f4f6;display:flex;gap:12px;margin-top:28px;padding-top:20px}.leave-btn{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-family:inherit;font-size:15px;font-weight:600;padding:12px 24px;transition:all .2s ease}.leave-btn:disabled{cursor:not-allowed;opacity:.6}.leave-btn-cancel{background:#f3f4f6;color:#6b7280}.leave-btn-cancel:hover:not(:disabled){background:#e5e7eb}.leave-btn-submit{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.leave-btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf666;transform:translateY(-1px)}@media (max-width:640px){.leave-modal-content{max-height:95vh;width:95%}.leave-modal-header{padding:20px}.leave-modal-header h2{font-size:18px}.leave-modal-form{padding:20px}.leave-form-row{grid-template-columns:1fr}.leave-modal-actions{flex-direction:column}.leave-btn{width:100%}}.attendance-register-container{background:#f8f9fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;max-width:100%;min-height:100vh;overflow-x:hidden;padding:24px}.register-header{background:#fff;border-radius:12px;margin-bottom:16px;padding:20px 24px}.header-top{flex-wrap:wrap;justify-content:space-between}.header-title-group,.header-top{align-items:center;display:flex;gap:16px}.calendar-badge{align-items:center;background:linear-gradient(135deg,#6366f1,#4f46e5);border-radius:10px;color:#fff;display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:40px}.register-title{color:#1a202c;font-size:20px;font-weight:700;margin:0}.register-date{color:#6366f1;font-size:13px;font-weight:500;margin:2px 0 0}.header-actions-group{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.view-toggle{background:#f1f5f9;border-radius:8px;display:flex;gap:4px;padding:4px}.toggle-btn{align-items:center;background:#0000;border-radius:6px;color:#64748b;display:flex;font-family:inherit;font-size:13px;font-weight:600;gap:6px;padding:8px 16px}.toggle-btn svg{color:inherit}.toggle-btn.active,.toggle-btn:not(.active):hover{background:#fff}.action-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-family:inherit;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s ease}.btn-refresh{background:#fff;border:2px solid #667eea;color:#667eea}.btn-download,.btn-refresh:hover{background:#667eea;color:#fff}.btn-download:hover{background:#5568d3}.quick-stats-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.quick-stat{background:#fff;border-left:3px solid #e2e8f0;border-radius:10px;flex:1 1;min-width:100px;padding:10px 16px;text-align:center}.quick-stat.stat-success{border-left-color:#22c55e}.quick-stat.stat-warning{border-left-color:#f59e0b}.quick-stat.stat-danger{border-left-color:#ef4444}.quick-stat.stat-rate{border-left-color:#667eea}.quick-stat.stat-info{border-left-color:#3b82f6}.stat-content{gap:2px}.stat-label{color:#94a3b8;font-size:9px}.stat-number{color:#1e293b;font-size:18px;font-weight:700}.register-filters{flex-wrap:wrap;margin-bottom:20px;max-width:100%}.month-navigation,.register-filters{align-items:center;display:flex;gap:12px}.month-navigation{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000000d;padding:10px 16px}.nav-btn{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:6px;color:#4a5568;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.nav-btn:hover{background:#667eea;border-color:#667eea;color:#fff}.month-display{color:#1a202c;font-size:14px;font-weight:700;min-width:160px;text-align:center}.search-filter{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 2px 8px #00000014;flex:1 1;min-width:250px;position:relative;transition:all .3s ease}.search-filter:focus-within{border-color:#667eea;box-shadow:0 4px 15px #667eea33}.search-icon{color:#667eea;font-size:18px;left:16px}.search-input{background:#0000;border:2px solid #0000;border-radius:10px;color:#2d3748;font-family:inherit;font-size:14px;font-weight:500;padding:12px 16px 12px 46px;transition:all .2s ease;width:100%}.search-input:focus{border-color:#667eea;outline:none}.class-filter{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:6px;padding:6px 12px}.class-filter .filter-icon{color:#6366f1;font-size:14px}.class-select{background:#0000;border:none;color:#374151;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;min-width:110px;padding:4px 8px}.class-select:focus{outline:none}.clear-filter-btn{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:12px;height:24px;justify-content:center;width:24px}.clear-filter-btn:hover{background:#dc2626}.section-filter{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:6px;padding:6px 12px}.section-filter .filter-icon{color:#8b5cf6;font-size:14px}.section-select{background:#0000;border:none;color:#374151;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;min-width:160px;padding:4px 8px}.section-select:focus{outline:none}.table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;margin-bottom:20px;overflow:auto}.attendance-table{border-collapse:collapse;font-size:14px;width:100%}.attendance-table thead{background:#f7fafc;position:-webkit-sticky;position:sticky;top:0;z-index:20}.attendance-table thead th{border-bottom:2px solid #e2e8f0;color:#4a5568;font-size:12px;font-weight:700;letter-spacing:.5px;padding:14px 16px;text-align:left;text-transform:uppercase}.sticky-col{background:#fff;border-right:2px solid #f1f5f9;left:0;position:-webkit-sticky;position:sticky;z-index:15}.attendance-table thead th.sticky-col{background:#f7fafc;z-index:30}.day-header .holiday-icon{color:#f59e0b;font-size:16px;margin-left:2px;vertical-align:middle}.day-header-content{gap:2px}.day-number{font-size:14px;font-weight:700}.day-name{color:#718096;font-size:10px}.attendance-table tbody tr{border-bottom:1px solid #f0f0f0;transition:all .2s ease}.attendance-table tbody tr:hover{background:#f7fafc}.attendance-table tbody td{color:#2d3748;padding:14px 16px}.col-sno{color:#718096;font-weight:600;text-align:center!important;width:60px}.col-name{min-width:250px}.col-class{text-align:center!important;width:100px}.col-icon,.col-status{text-align:center!important;width:120px}.col-time{font-family:Courier New,monospace;font-size:13px;font-weight:600;text-align:center!important;width:100px}.col-reason{color:#718096;font-size:13px;font-style:italic;max-width:300px;min-width:200px}.student-info{align-items:center;gap:12px}.student-avatar-small{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;display:flex;font-size:14px;font-weight:700;height:36px;justify-content:center;width:36px}.student-name{color:#1a202c}.row-present{background:#48bb7805}.row-present:hover{background:#48bb780d!important}.row-late{background:#ed893605}.row-late:hover{background:#ed89360d!important}.row-absent{background:#f5656505}.row-absent:hover{background:#f565650d!important}.row-unmarked{background:#9ca3af05}.row-unmarked:hover{background:#9ca3af0d!important}.holiday-alert-banner{align-items:center;animation:slideDown .3s ease;background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:12px;box-shadow:0 4px 12px #f59e0b33;display:flex;gap:1.5rem;margin-bottom:1.5rem;padding:1.5rem 2rem}.holiday-alert-banner.weekend-banner{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;box-shadow:0 4px 12px #3b82f633}.holiday-alert-icon{flex-shrink:0;font-size:3rem}.holiday-alert-content h3{color:#78350f;font-size:1.25rem;font-weight:700;margin:0 0 .5rem}.holiday-alert-banner.weekend-banner .holiday-alert-content h3{color:#1e40af}.holiday-alert-content p{color:#92400e;font-size:1rem;margin:0}.holiday-alert-banner.weekend-banner .holiday-alert-content p{color:#1e3a8a}.status-text{border-radius:6px;display:inline-block;font-size:13px;font-weight:600;padding:6px 12px}.status-text.status-present{background:#d4fc79;color:#22543d}.status-text.status-late{background:#ffecd2;color:#7c2d12}.status-text.status-absent{background:#fecfef;color:#742a2a}.status-text.status-unmarked{background:#f3f4f6;color:#6b7280;font-style:italic}.status-text.status-leave{background:#e9d5ff;color:#5b21b6}.mark-cell{align-items:center;display:flex;gap:10px;justify-content:center}.mark-cell.clickable{border-radius:8px;cursor:pointer;padding:8px;transition:all .2s ease}.mark-cell.clickable:hover{background:#f3f4f6;transform:scale(1.05)}.status-icon-table{font-size:20px}.icon-present{color:#48bb78}.icon-late{color:#ed8936}.icon-absent{color:#f56565}.icon-unmarked{color:#9ca3af}.icon-leave{color:#8b5cf6}.badge-mark{align-items:center;border-radius:6px;display:inline-flex;font-size:11px;font-weight:700;height:28px;justify-content:center;width:28px}.badge-present{background:#22c55e;color:#fff}.badge-late{background:#f59e0b;color:#fff}.badge-absent{background:#ef4444;color:#fff}.badge-holiday{background:#eab308;color:#fff}.badge-weekend{background:#e2e8f0;color:#64748b}.badge-leave{background:#8b5cf6;color:#fff}.badge-unmarked{background:#f1f5f9;color:#94a3b8}.badge-unmarked:hover{background:#e2e8f0}.holiday-cell{background-color:#fff1f2!important;color:#e11d48!important;text-align:center;vertical-align:middle}.holiday-cell .badge-holiday{background:#0000!important;color:#e11d48!important;font-size:14px;font-weight:500}.weekend-cell{background-color:#f1f5f9!important;color:#94a3b8!important;text-align:center;vertical-align:middle}.weekend-cell .badge-weekend{background:#0000!important;color:#94a3b8!important;font-size:14px;font-weight:500}.attendance-table tbody tr:hover .holiday-cell{background-color:#ffe4e6!important}.attendance-table tbody tr:hover .weekend-cell{background-color:#e2e8f0!important}.register-legend{background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000000d;display:flex;flex-wrap:wrap;gap:32px;justify-content:center;max-width:100%;padding:16px}.legend-item{align-items:center;color:#4a5568;display:flex;font-size:13px;font-weight:600;gap:8px}.legend-icon{font-size:18px}.loading-state{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:60px 20px}.loading-spinner{border-top-color:#667eea}.loading-state p{color:#718096;margin-top:16px}@media (max-width:768px){.attendance-register-container{padding:16px}.header-top{align-items:flex-start;flex-direction:column}.header-actions-group{justify-content:space-between;margin-top:12px;width:100%}.register-filters{align-items:stretch;flex-direction:column}.search-filter{min-width:100%}.class-filter,.section-filter{justify-content:space-between;width:100%}.sticky-col{background:#fff!important;border-right:2px solid #e2e8f0;box-shadow:2px 0 5px #0000000d;left:0;position:-webkit-sticky;position:sticky;z-index:15}}.calendar-scroll-wrapper{margin-bottom:20px}.calendar-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;max-height:560px;overflow:auto}.calendar-table{border-collapse:collapse;font-size:12px;width:100%}.calendar-table thead{background:#f8fafc;position:-webkit-sticky;position:sticky;top:0;z-index:20}.calendar-table thead th{border-bottom:1px solid #e2e8f0;color:#64748b;font-size:10px;font-weight:600;padding:10px 4px;text-align:center;white-space:nowrap}.calendar-table thead th.header-student{max-width:200px;min-width:180px;padding-left:14px;text-align:left;z-index:25}.day-header{max-width:32px;min-width:32px}.day-header.is-holiday{background:#fef2f2!important}.day-header.is-weekend{background:#f1f5f9!important}.day-header-content{align-items:center;display:flex;flex-direction:column;gap:1px}.day-header .day-number{color:#374151;font-size:11px;font-weight:700}.day-header .day-name{color:#9ca3af;font-size:8px;text-transform:uppercase}.day-header.is-holiday .day-name,.day-header.is-holiday .day-number{color:#dc2626}.day-header.is-weekend .day-name,.day-header.is-weekend .day-number{color:#6b7280}.calendar-table tbody tr{border-bottom:1px solid #f1f5f9}.calendar-table tbody tr:hover{background:#f8fafc}.student-name-col{max-width:200px;min-width:180px;padding:8px 12px!important}.student-name-wrapper{align-items:center;display:flex;gap:8px}.student-avatar-tiny{background:linear-gradient(135deg,#6366f1,#4f46e5);border-radius:6px;font-size:11px;font-weight:600;height:28px;width:28px}.student-details{display:flex;flex-direction:column;gap:1px;overflow:hidden}.student-name-row{align-items:center;display:flex;gap:6px}.student-name-text{color:#1e293b;font-size:12px;font-weight:600;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-percentage{background:#f1f5f9;border-radius:4px;color:#64748b;font-size:10px;font-weight:600;padding:1px 5px}.student-percentage.percentage-good{background:#dcfce7;color:#166534}.student-percentage.percentage-average{background:#fef3c7;color:#92400e}.student-percentage.percentage-low{background:#fee2e2;color:#991b1b}.student-meta{align-items:center;color:#94a3b8;display:flex;font-size:10px;gap:6px}.student-roll-number{font-weight:500}.student-class-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.day-cell{max-width:32px;min-width:32px;padding:4px 2px!important;text-align:center;vertical-align:middle}.day-cell-clickable{cursor:pointer;transition:background .15s ease}.day-cell-clickable:hover{background:#f1f5f9}.day-cell-disabled{cursor:default}.day-cell.holiday-cell{background:#fef2f2!important}.day-cell.weekend-cell{background:#f8fafc!important}.calendar-table tbody tr:hover .holiday-cell{background:#fee2e2!important}.calendar-table tbody tr:hover .weekend-cell{background:#f1f5f9!important}.calendar-table .badge-mark{align-items:center;border-radius:5px;display:inline-flex!important;font-size:10px;font-weight:700;height:24px;justify-content:center;width:24px}.calendar-table .badge-unmarked{background:#e2e8f0;color:#64748b}.calendar-table .sticky-col{background:#fff;border-right:1px solid #e2e8f0;left:0;position:-webkit-sticky;position:sticky;z-index:10}.calendar-table thead .sticky-col{background:#f8fafc;z-index:25}.calendar-table tbody tr:hover .sticky-col{background:#f8fafc}.pagination-controls{align-items:center;background:#fff;border-radius:0 0 12px 12px;border-top:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:12px 16px}.pagination-info{color:#64748b;font-size:12px}.pagination-buttons{align-items:center;display:flex;gap:6px}.pagination-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:4px;padding:6px 12px;transition:all .15s ease}.pagination-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.pagination-btn:disabled{cursor:not-allowed;opacity:.5}.page-indicator{color:#374151;font-size:12px;font-weight:600;padding:0 8px}.skeleton-container{background:#fff;border-radius:12px;margin-bottom:20px;padding:20px}.skeleton-header{margin-bottom:20px}.skeleton-title{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;border-radius:6px;height:24px;width:200px}.skeleton-table{display:flex;flex-direction:column;gap:12px}.skeleton-row{align-items:center;display:flex;gap:12px}.skeleton-avatar{border-radius:6px;flex-shrink:0;height:28px;width:28px}.skeleton-avatar,.skeleton-name{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%}.skeleton-name{border-radius:4px;height:16px;width:120px}.skeleton-cells{display:flex;gap:6px}.skeleton-cell{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;border-radius:4px;height:22px;width:22px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.quick-edit-backdrop{background:#0000;bottom:0;left:0;position:fixed;right:0;top:0;z-index:100}.quick-edit-popup{animation:popIn .2s ease;background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;left:50%;min-width:220px;padding:16px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:101}@keyframes popIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.quick-edit-header{border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:10px}.quick-edit-header h4{color:#1e293b;font-size:14px;font-weight:600;margin:0 0 2px}.quick-edit-header p{color:#64748b;font-size:11px;margin:0}.quick-edit-actions{display:flex;gap:6px;margin-bottom:10px}.quick-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;flex:1 1;font-size:11px;font-weight:600;gap:4px;justify-content:center;padding:8px 10px;transition:all .15s ease}.quick-btn-present{background:#dcfce7;color:#166534}.quick-btn-present:hover{background:#bbf7d0}.quick-btn-absent{background:#fee2e2;color:#991b1b}.quick-btn-absent:hover{background:#fecaca}.quick-btn-leave{background:#f3e8ff;color:#6b21a8}.quick-btn-leave:hover{background:#e9d5ff}.quick-edit-advanced{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-size:11px;font-weight:500;gap:4px;justify-content:center;padding:8px;transition:all .15s ease;width:100%}.quick-edit-advanced:hover{background:#f1f5f9}.empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:20px}.empty-icon{background:#f1f5f9;border-radius:16px;color:#94a3b8;font-size:28px}.empty-state h3{color:#1e293b;font-size:16px;margin:0 0 6px}.empty-state p{font-size:13px}.btn-manual-attendance{background:#eff6ff;border:1px solid #bfdbfe;color:#2563eb}.btn-manual-attendance:hover{background:#dbeafe}.btn-leave{background:#faf5ff;border:1px solid #e9d5ff;color:#7c3aed}.btn-leave:hover{background:#f3e8ff}.calendar-table-container::-webkit-scrollbar{height:6px;width:6px}.calendar-table-container::-webkit-scrollbar-track{background:#f1f5f9}.calendar-table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.calendar-table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.toggle-btn.active{background:#6366f1;color:#fff}.day-header .holiday-icon{display:none}.register-legend{gap:20px;padding:12px 20px}.legend-item{font-size:11px;gap:5px}.legend-icon{font-size:14px}.icon-holiday{color:#dc2626}.student-roll-badge{background:#f1f5f9;border-radius:4px;color:#64748b;font-size:10px;font-weight:500;padding:1px 6px}.student-name-details{display:flex;flex-direction:column;gap:2px}.attendance-loading-bar{background-color:#f3f4f6;border-radius:0 0 12px 12px;height:4px;margin-bottom:16px;margin-top:-16px;overflow:hidden;position:relative;width:100%}.attendance-loading-progress{animation:dataLoading 1.5s ease-in-out infinite;background:linear-gradient(90deg,#4f46e5,#818cf8);border-radius:4px;bottom:0;left:0;position:absolute;top:0;width:30%}@keyframes dataLoading{0%{left:-30%;width:30%}50%{left:30%;width:60%}to{left:100%;width:10%}}.classes-container{background:#f8fafc!important;margin:0 auto!important;max-width:100%!important;min-height:100vh!important;padding:1.5rem!important;width:100%!important}.classes-header{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 2px #0000000a;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1.25rem 1.75rem}.classes-header>div{display:flex;flex-direction:column;gap:.375rem}.classes-header h1{align-items:center;color:#0f172a;display:flex;font-size:1.5rem;font-weight:700;gap:.625rem;letter-spacing:-.02em;margin:0}.classes-header h1 svg{color:#6366f1;height:28px;width:28px}.classes-header p{color:#64748b;font-size:.875rem;font-weight:400;margin:0}.classes-list{display:flex;flex-direction:column;gap:1.5rem}.class-card{background:#fff;border:1.5px solid #0000;border-radius:14px;box-shadow:0 1px 3px #0000000d;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.class-card:hover{border-color:#e0e7ff;box-shadow:0 8px 24px #6366f11f;transform:translateY(-2px)}.class-header{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:1.75rem 2rem;position:relative;transition:all .2s ease}.class-header:before{background:linear-gradient(90deg,#6366f1,#8b5cf6,#ec4899);bottom:0;content:"";height:3px;left:0;opacity:0;position:absolute;right:0;transition:opacity .3s ease}.class-header:hover:before{opacity:1}.class-info{flex:1 1}.class-info h3{color:#0f172a;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .625rem}.class-info p{color:#64748b;font-size:.875rem;font-weight:500;margin:0 0 1rem}.class-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.625rem}.badge{align-items:center;border-radius:8px;display:inline-flex;font-size:.75rem;gap:.375rem;letter-spacing:.01em;padding:.4375rem .875rem;transition:all .2s ease}.badge-blue{background:#eef2ff;border:1.5px solid #c7d2fe;color:#4f46e5}.badge-green{background:#ecfdf5;border:1.5px solid #a7f3d0;color:#059669}.badge-gray{background:#f8fafc;border:1.5px solid #e2e8f0;color:#475569}.class-actions{display:flex;gap:.5rem}.btn-icon{border:1.5px solid;border-radius:9px;font-size:16px;height:38px;transition:all .2s cubic-bezier(.4,0,.2,1);width:38px}.btn-icon:hover{transform:translateY(-2px) scale(1.05)}.btn-success{background:#10b981;border-color:#10b981;box-shadow:0 2px 8px #10b98140}.btn-success:hover{background:#059669;border-color:#059669;box-shadow:0 4px 12px #10b98159}.btn-danger{background:#ef4444;border-color:#ef4444;box-shadow:0 2px 8px #ef444440}.btn-danger:hover{background:#dc2626;border-color:#dc2626;box-shadow:0 4px 12px #ef444459}.sections-list{background:#f8fafc;border-top:2px solid #e2e8f0;padding:1.75rem 2rem}.sections-list h4{align-items:center;color:#0f172a;display:flex;font-size:1.0625rem;font-weight:700;gap:.5rem;margin:0 0 1.25rem}.sections-list h4:before{content:"📚";font-size:1.125rem}.no-sections{color:#94a3b8;font-size:.9375rem;font-style:italic;font-weight:500;padding:2.5rem;text-align:center}.sections-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.section-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000f;padding:1.5rem;transition:all .3s cubic-bezier(.4,0,.2,1)}.section-card:hover{border-color:#c7d2fe;box-shadow:0 6px 16px #6366f11a;transform:translateY(-3px)}.section-header{border-bottom:2px solid #f1f5f9;margin-bottom:1rem;padding-bottom:.875rem}.section-header h5{color:#0f172a;font-size:1.125rem;font-weight:700;letter-spacing:-.01em;margin:0}.room-badge{background:#fef3c7;border:1.5px solid #fde68a;border-radius:6px;color:#92400e;font-size:.6875rem;font-weight:600;letter-spacing:.02em;padding:.3125rem .625rem}.section-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.info-item{align-items:center;color:#64748b;display:flex;font-size:.875rem;font-weight:500;gap:.5rem}.info-item svg{color:#6366f1;height:16px;width:16px}.teacher-label{color:#0f172a;font-weight:600}.section-progress{background:#e2e8f0;border-radius:10px;height:6px;margin-top:.875rem;overflow:hidden}.progress-bar{background:linear-gradient(90deg,#6366f1,#8b5cf6);height:100%;transition:width .5s cubic-bezier(.4,0,.2,1)}.empty-state{border:1.5px solid #e2e8f0;border-radius:14px;box-shadow:0 1px 3px #0000000f}.empty-icon{color:#c7d2fe;height:80px;margin:0 auto 1.5rem;width:80px}.empty-state h3{margin:0 0 .75rem}.empty-state p{color:#64748b;font-size:.9375rem;line-height:1.6;margin:0 0 2rem}.modal-overlay{animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{animation:slideUp .3s ease;border-radius:16px;box-shadow:0 20px 60px #0003;max-width:520px;padding:0;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-bottom:none;border-radius:16px 16px 0 0;padding:1.5rem 2rem}.modal-header h2{color:#fff;font-size:1.375rem;font-weight:700}.close-btn{background:#fff3;border-radius:8px;color:#fff;font-size:22px;transition:all .2s ease}.close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.modal-content form{padding:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{margin-bottom:.625rem}.form-group input,.form-group select,.form-group textarea{background:#fff;border:1.5px solid #e2e8f0;color:#0f172a;font-size:.875rem;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.form-group input:hover,.form-group select:hover,.form-group textarea:hover{border-color:#cbd5e1}.modal-actions{background:#f8fafc;border-radius:0 0 16px 16px;border-top:2px solid #f1f5f9;display:flex;gap:.875rem;justify-content:flex-end;padding:1.5rem 2rem}.btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 4px 12px #6366f14d;font-size:.9375rem;gap:.625rem;transition:all .2s cubic-bezier(.4,0,.2,1)}.btn-primary:hover{box-shadow:0 6px 16px #6366f166;transform:translateY(-2px)}.btn-primary svg{height:18px;width:18px}.btn-secondary{border:1.5px solid #e2e8f0;font-size:.9375rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.loading-spinner{padding:4rem}.spinner{border-top-color:#6366f1}.loading-spinner p{margin-top:1rem}.alert{border-radius:10px;font-size:.875rem;font-weight:500}.alert-error{background:#fef2f2;border:1.5px solid #fecaca}@media (max-width:1200px){.sections-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width:768px){.classes-container{padding:1rem!important}.classes-header{align-items:stretch;flex-direction:column;gap:1rem;padding:1rem 1.25rem}.classes-header h1{font-size:1.25rem}.classes-header button{width:100%}.class-card{border-radius:12px}.class-header{align-items:flex-start;flex-direction:column;gap:1rem;padding:1.25rem 1.5rem}.class-info h3{font-size:1.25rem}.class-actions{justify-content:flex-end;width:100%}.sections-list{padding:1.25rem 1.5rem}.sections-grid{grid-template-columns:1fr}.modal-header{padding:1.25rem 1.5rem}.modal-header h2{font-size:1.125rem}.modal-actions{flex-direction:column;padding:1.25rem 1.5rem}.modal-actions .btn-primary,.modal-actions .btn-secondary{width:100%}}@media (max-width:480px){.classes-container{padding:.75rem!important}.classes-header{padding:1rem}.classes-header h1{font-size:1.125rem}.class-header{padding:1rem 1.25rem}.class-info h3{font-size:1.125rem}.sections-list{padding:1rem 1.25rem}.section-card{padding:1.25rem}.badge{font-size:.6875rem;padding:.3125rem .625rem}.btn-icon{height:34px;width:34px}}.teachers-layout{background:linear-gradient(135deg,#f8fafc,#f1f5f9);margin:0 auto;max-width:1400px;min-height:100vh;padding:2rem}.page-header{margin-bottom:2rem}.header-content{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem}.header-title h1{color:#1e293b;font-size:2rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .5rem}.header-title p{color:#64748b;font-size:1rem;margin:0}.header-stats{display:flex;flex-wrap:wrap;gap:1rem}.stat-badge{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 3px #00000014;min-width:120px;padding:1rem 1.5rem;text-align:center}.stat-badge .label{color:#64748b;display:block;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.25rem;text-transform:uppercase}.stat-badge .value{color:#1e293b;font-size:1.75rem;font-weight:700}.stat-badge.success .value{color:#059669}.stat-badge.warning .value{color:#d97706}.filters-container{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 3px #0000000d;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem;padding:1rem 1.25rem}.search-wrapper{flex:1 1;max-width:400px;min-width:250px;position:relative}.search-icon{color:#94a3b8;height:18px;left:1rem;position:absolute;top:50%;transform:translateY(-50%);width:18px}.search-wrapper input{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;font-size:.9rem;padding:.75rem 1rem .75rem 2.75rem;transition:all .2s;width:100%}.search-wrapper input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.filters-wrapper{display:flex;gap:.75rem}.select-wrapper{position:relative}.select-wrapper select{-webkit-appearance:none;appearance:none;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;color:#334155;cursor:pointer;font-size:.9rem;font-weight:500;min-width:140px;padding:.75rem 2.5rem .75rem 1rem}.select-wrapper select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.select-icon{color:#94a3b8;pointer-events:none;position:absolute;right:.75rem;top:50%;transform:translateY(-50%)}.teachers-grid-modern{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.teacher-card-modern{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 1px 3px #0000000d;overflow:hidden;transition:all .3s ease}.teacher-card-modern:hover{border-color:#cbd5e1;box-shadow:0 12px 24px -8px #00000026;transform:translateY(-4px)}.teacher-card-modern.expanded{border-color:#818cf8;box-shadow:0 0 0 2px #6366f11a}.card-main-content{display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem}.card-actions-top{position:absolute;right:1.25rem;top:1.25rem}.status-dot{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #0000000d;height:12px;width:12px}.status-dot.online{background:#10b981}.status-dot.offline{background:#ef4444}.card-profile{gap:1rem;position:relative}.avatar-large,.card-profile{align-items:center;display:flex}.avatar-large{background:linear-gradient(135deg,#6366f1,#4f46e5);border-radius:16px;color:#fff;flex-shrink:0;font-size:1.5rem;font-weight:700;height:64px;justify-content:center;width:64px}.profile-info{flex:1 1;min-width:0}.profile-info h3{color:#1e293b;font-size:1.1rem;font-weight:600;margin:0 0 .5rem;text-transform:capitalize}.badges-row{display:flex;flex-wrap:wrap;gap:.5rem}.code-badge{background:#f1f5f9;color:#475569;font-family:Monaco,Consolas,monospace;font-weight:500}.code-badge,.subject-badge{border-radius:6px;font-size:.7rem;padding:.25rem .5rem}.subject-badge{background:#dbeafe;color:#1d4ed8;font-weight:600}.card-details{background:#f8fafc;border-radius:12px;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.detail-row{align-items:center;color:#475569;display:flex;font-size:.85rem;gap:.75rem}.detail-row .icon{color:#94a3b8;flex-shrink:0;font-size:.9rem}.card-stats-row{display:flex;gap:1rem}.stat-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex:1 1;padding:.75rem;text-align:center}.stat-pill strong{color:#1e293b;display:block;font-size:1.25rem;font-weight:700}.stat-pill span{color:#64748b;font-size:.65rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.card-footer{display:flex;gap:.75rem;margin-top:auto}.btn-action{border-radius:12px;display:inline-flex;font-size:.9rem;font-weight:600;transition:all .2s ease}.btn-action.primary{background:#4f46e5;color:#fff;flex:1 1;min-width:120px;padding:.875rem 1.25rem}.btn-action.primary:hover{background:#4338ca;transform:translateY(-1px)}.btn-action.secondary{background:#fff;border:1px solid #e2e8f0;color:#64748b;flex-shrink:0;height:44px;padding:0;width:44px}.btn-action.secondary.active,.btn-action.secondary:hover{background:#f1f5f9;border-color:#94a3b8;color:#1e293b}.btn-action.danger{background:#fef2f2;color:#ef4444;flex-shrink:0;height:44px;padding:0;width:44px}.btn-action.danger:hover{background:#fee2e2}.teacher-schedule-section{animation:slideDown .25s ease-out;background:#f8fafc;border-top:1px solid #e2e8f0;padding:1.5rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.teacher-schedule-section h4{align-items:center;color:#64748b;display:flex;font-size:.8rem;font-weight:600;gap:.5rem;letter-spacing:.05em;margin:0 0 1rem;text-transform:uppercase}.assignments-list{display:flex;flex-direction:column;gap:.75rem}.schedule-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;display:flex;justify-content:space-between;padding:.875rem 1rem}.schedule-info{display:flex;flex-direction:column;gap:.25rem}.class-name{color:#1e293b;font-size:.9rem;font-weight:600}.subject-name{color:#64748b;font-size:.8rem}.form-tag{background:#fef3c7;border-radius:4px;color:#92400e;display:inline-block;font-size:.65rem;font-weight:600;margin-top:.25rem;padding:.2rem .5rem;text-transform:uppercase}.remove-assignment-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.remove-assignment-btn:hover{background:#fef2f2;color:#ef4444}.no-assignments{background:#fff;border:2px dashed #e2e8f0;border-radius:12px;padding:2rem;text-align:center}.no-assignments p{color:#94a3b8;margin:0 0 .5rem}.btn-link{background:none;border:none;color:#4f46e5;cursor:pointer;font-size:.9rem;font-weight:600}.btn-link:hover{text-decoration:underline}.modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a99;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:1000}.modal-card{animation:modalSlide .25s ease-out;background:#fff;border-radius:20px;box-shadow:0 25px 50px -12px #00000040;max-width:520px;overflow:hidden;width:100%}@keyframes modalSlide{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{border-bottom:1px solid #e2e8f0;padding:1.25rem 1.5rem}.modal-header h2{color:#1e293b}.close-btn{align-items:center;background:#f1f5f9;border:none;border-radius:10px;color:#64748b;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s;width:36px}.close-btn:hover{background:#e2e8f0;color:#1e293b}.modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;padding:1rem 1.5rem}.form-grid{grid-gap:1rem;gap:1rem;grid-template-columns:1fr 1fr}.form-group{margin-bottom:0}.form-group.full{grid-column:span 2}.form-group label{color:#475569;font-size:.85rem;font-weight:500}.form-group input,.form-group select,.form-group textarea{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;font-size:.9rem;padding:.75rem 1rem;transition:all .2s;width:100%}.form-group input:focus,.form-group select:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;outline:none}.form-group input.error-input{border-color:#ef4444}.error-text{color:#ef4444;display:block;font-size:.75rem;margin-top:.25rem}.error-banner{align-items:center;background:#fef2f2;border-radius:10px;color:#b91c1c;display:flex;font-size:.9rem;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem}.assignment-preview{background:#f0fdf4;border:1px solid #bbf7d0;gap:1rem;margin-bottom:1.5rem;padding:1rem}.assignment-preview,.preview-avatar{align-items:center;border-radius:12px;display:flex}.preview-avatar{background:#059669;color:#fff;font-size:1.25rem;font-weight:700;height:48px;justify-content:center;width:48px}.preview-info{display:flex;flex-direction:column}.preview-info strong{color:#166534;font-size:1rem}.preview-info span{color:#15803d;font-size:.85rem}.form-checkbox{align-items:center;background:#f8fafc;border-radius:10px;display:flex;gap:.75rem;margin-top:.5rem;padding:.75rem}.form-checkbox input[type=checkbox]{accent-color:#4f46e5;height:18px;width:18px}.form-checkbox label{color:#475569;font-weight:500;margin:0}.btn-primary{background:#4f46e5;display:inline-flex}.btn-primary:hover{background:#4338ca}.btn-text{background:#0000;border:none;color:#64748b;cursor:pointer;font-weight:500;padding:.75rem 1rem}.btn-text:hover{color:#1e293b}.btn-secondary{border:1px solid #e2e8f0;border-radius:10px;padding:.75rem 1.25rem}.loading-state{align-items:center;display:flex;flex-direction:column;justify-content:center}.spinner{border:3px solid #e2e8f0;border-top-color:#4f46e5}.loading-state p{color:#64748b;margin-top:1rem}.empty-state-modern{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:4rem 2rem;text-align:center}.empty-illustration{align-items:center;background:#f1f5f9;border-radius:50%;color:#94a3b8;display:flex;font-size:2rem;height:80px;justify-content:center;margin:0 auto 1.5rem;width:80px}.empty-state-modern h3{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.empty-state-modern p{color:#64748b;margin:0 0 1.5rem}@media (max-width:768px){.teachers-layout{padding:1rem}.header-content{align-items:stretch;flex-direction:column}.header-stats{justify-content:center}.filters-container{align-items:stretch;flex-direction:column}.search-wrapper{max-width:none;min-width:auto}.filters-wrapper{flex-wrap:wrap}.select-wrapper select{width:100%}.form-grid,.teachers-grid-modern{grid-template-columns:1fr}.form-group.full{grid-column:auto}.modal-card{margin:1rem;max-height:90vh;overflow-y:auto}}.subjects-container{margin:0 auto;max-width:1400px;padding:24px}.subjects-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.subjects-header h1{color:#1a202c;font-size:28px;font-weight:700;margin:0 0 8px}.subjects-header p{color:#718096;font-size:14px;margin:0}.header-actions{gap:12px}.stats-summary{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a;gap:16px;padding:20px}.summary-card,.summary-icon{align-items:center;display:flex}.summary-icon{border-radius:12px;font-size:20px;height:48px;justify-content:center;width:48px}.summary-icon.total{background:#edf2f7;color:#4a5568}.summary-icon.active{background:#c6f6d5;color:#2f855a}.summary-icon.assignments{background:#bee3f8;color:#2b6cb0}.summary-content{display:flex;flex-direction:column}.summary-value{color:#1a202c;font-size:24px;line-height:1}.summary-label{color:#718096;font-size:12px;margin-top:4px}.search-bar{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;margin-bottom:24px;padding:12px 16px}.search-bar svg{color:#a0aec0;font-size:18px}.search-bar input{border:none;color:#1a202c;flex:1 1;font-size:14px;outline:none}.search-bar input::placeholder{color:#a0aec0}.subjects-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.subject-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s}.subject-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.subject-header{justify-content:space-between;margin-bottom:16px}.subject-header,.subject-icon{align-items:center;display:flex}.subject-icon{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:20px;font-weight:700;height:48px;justify-content:center;text-transform:uppercase;width:48px}.subject-status{align-items:center;display:flex}.status-badge{border-radius:12px;padding:4px 12px}.status-badge.active{background:#c6f6d5;color:#2f855a}.status-badge.inactive{background:#fed7d7;color:#c53030}.subject-info{margin-bottom:16px}.subject-info h3{color:#1a202c;font-size:18px;font-weight:600;margin:0 0 8px}.subject-code{color:#718096;font-size:13px;font-weight:500;margin:0 0 8px}.subject-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#a0aec0;display:-webkit-box;font-size:13px;line-height:1.5;margin:0;overflow:hidden}.subject-stats{border-bottom:1px solid #e2e8f0;border-top:1px solid #e2e8f0;display:flex;gap:16px;margin-bottom:16px;padding:12px 0}.stat-item{color:#4a5568;font-size:13px;gap:6px}.stat-icon{color:#a0aec0;font-size:14px}.subject-actions{display:flex;gap:8px}.subject-actions .btn-sm{flex:1 1;font-size:13px;padding:8px 12px}.empty-state{background:#fff;border:2px dashed #e2e8f0;border-radius:12px;padding:60px 20px}.empty-icon{font-size:64px}.empty-state h3{color:#2d3748;font-weight:600}.empty-state p{color:#718096;margin:0 0 24px}.loading-spinner{min-height:400px}.spinner{border:4px solid #e2e8f0;border-top-color:#4299e1;height:48px;width:48px}@media (max-width:768px){.subjects-container{padding:16px}.subjects-header{flex-direction:column}.subjects-grid{grid-template-columns:1fr}.stats-summary{grid-template-columns:1fr 1fr}}.calendar-new-container{background:linear-gradient(135deg,#f0f4ff,#e8f0fe 50%,#f5f3ff);margin:0 auto;max-width:1600px;min-height:100vh;padding:2rem}.calendar-new-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.calendar-new-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#1e293b,#475569);-webkit-background-clip:text;background-clip:text;font-size:2.25rem;font-weight:800;letter-spacing:-.5px;margin:0 0 .5rem}.calendar-new-header p{color:#64748b;font-size:.9375rem;font-weight:500;margin:0}.header-actions{gap:.75rem}.btn-view{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border:1px solid #e2e8f0cc;border-radius:12px;color:#475569;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.4,0,.2,1)}.btn-view:hover{background:#fff;border-color:#6366f1;box-shadow:0 8px 16px #6366f126;color:#6366f1;transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6 50%,#a855f7);border-radius:12px;box-shadow:0 4px 16px #6366f166;font-size:.875rem;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.4,0,.2,1)}.btn-primary:hover{box-shadow:0 8px 24px #6366f180;transform:translateY(-3px)}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:2rem}.stat-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffc;border:1px solid #ffffffe6;border-radius:16px;box-shadow:0 4px 20px #0000000d;gap:1rem;overflow:hidden;padding:1.25rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.stat-card:before{border-radius:4px 0 0 4px;bottom:0;content:"";left:0;position:absolute;top:0;width:4px}.stat-card:hover{box-shadow:0 12px 32px #0000001a;transform:translateY(-4px)}.stat-icon{align-items:center;border-radius:14px;display:flex;flex-shrink:0;font-size:1.5rem;height:52px;justify-content:center;width:52px}.stat-content{flex:1 1}.stat-label{color:#64748b;margin:0 0 .25rem}.stat-value{color:#0f172a;font-size:1.75rem;margin:0}.calendar-main-layout{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 340px}.calendar-grid-section{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe6;border:1px solid #ffffffe6;border-radius:20px;box-shadow:0 4px 24px #0000000f;padding:1.75rem}.calendar-controls{align-items:center;border-bottom:2px solid #f1f5f9;display:flex;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.25rem}.current-month{color:#0f172a;flex:1 1;font-size:1.5rem;font-weight:800;letter-spacing:-.5px;margin:0}.btn-icon{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#475569;cursor:pointer;display:flex;font-size:1.25rem;height:42px;justify-content:center;transition:all .2s;width:42px}.btn-icon:hover{background:#eef2ff;border-color:#6366f1;color:#6366f1}.btn-today{background:#fff;border:2px solid #6366f1;border-radius:10px;color:#6366f1;cursor:pointer;font-size:.875rem;font-weight:700;padding:.625rem 1.25rem;transition:all .2s}.btn-today:hover{background:#6366f1;color:#fff}.calendar-grid{grid-gap:6px;gap:6px}.day-header{color:#64748b;font-size:.75rem;font-weight:700;letter-spacing:1px;padding:.75rem .5rem;text-align:center;text-transform:uppercase}.calendar-day{background:#fff;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;min-height:90px;padding:.5rem;position:relative;transition:all .2s cubic-bezier(.4,0,.2,1)}.calendar-day:hover{background:#fafaff;border-color:#a5b4fc;box-shadow:0 4px 12px #6366f126;transform:scale(1.02);z-index:5}.calendar-day.empty{background:#0000;border:none;cursor:default;min-height:0;min-height:auto}.calendar-day.empty:hover{box-shadow:none;transform:none}.calendar-day.today{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:2px solid #6366f1}.calendar-day.today .day-number{align-items:center;background:#6366f1;border-radius:8px;color:#fff;display:flex;font-weight:700;height:28px;justify-content:center;width:28px}.calendar-day.has-holiday{background:linear-gradient(135deg,#fefce8,#fef3c7);border-color:#fcd34d}.day-number{color:#0f172a;font-size:.875rem;font-weight:600;margin-bottom:.25rem}.day-holidays{flex-direction:column;gap:3px;margin-top:auto}.day-holidays,.holiday-chip{display:flex;overflow:hidden}.holiday-chip{align-items:center;border-radius:4px;font-size:.625rem;font-weight:600;gap:4px;max-width:100%;padding:2px 6px;text-overflow:ellipsis;white-space:nowrap}.holiday-chip-dot{border-radius:50%;flex-shrink:0;height:5px;width:5px}.holiday-chip-text{overflow:hidden;text-overflow:ellipsis}.more-events{color:#6366f1;cursor:pointer;font-size:.625rem;font-weight:600;padding:2px 0}.calendar-list-section{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe6;border:1px solid #ffffffe6;border-radius:20px;box-shadow:0 4px 24px #0000000f;display:flex;flex-direction:column;gap:.75rem;padding:1.75rem}.holiday-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;display:flex;gap:1rem;overflow:hidden;padding:1.25rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.holiday-card:before{bottom:0;content:"";left:0;position:absolute;top:0;width:4px}.holiday-card:hover{border-color:#c7d2fe;box-shadow:0 8px 24px #6366f11f;transform:translateY(-2px)}.holiday-icon{align-items:center;border-radius:14px;display:flex;flex-shrink:0;font-size:1.5rem;height:52px;justify-content:center;width:52px}.holiday-info{flex:1 1;min-width:0}.holiday-info h3{color:#0f172a;font-size:1rem;font-weight:700;margin:0 0 .35rem}.holiday-date{align-items:center;color:#64748b;display:flex;font-size:.8125rem;gap:.5rem;margin:0 0 .35rem}.holiday-desc{color:#94a3b8;font-size:.8125rem;margin:0 0 .5rem}.holiday-type-badge{align-items:center;border-radius:6px;display:inline-flex;font-size:.6875rem;font-weight:700;gap:.25rem;letter-spacing:.5px;padding:.25rem .625rem;text-transform:uppercase}.holiday-actions{display:flex;gap:.5rem}.btn-icon-sm{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s;width:36px}.btn-icon-sm:hover{background:#eef2ff;border-color:#c7d2fe;color:#6366f1}.btn-icon-sm.btn-danger:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626}.calendar-sidebar{display:flex;flex-direction:column;gap:1rem}.sidebar-section{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe6;border:1px solid #ffffffe6;border-radius:16px;box-shadow:0 4px 20px #0000000a;padding:1.25rem}.sidebar-section h3{align-items:center;color:#0f172a;display:flex;font-size:.9375rem;font-weight:700;gap:.5rem;margin:0 0 1rem}.sidebar-section h3 svg{color:#6366f1}.upcoming-list{display:flex;flex-direction:column;gap:.625rem;max-height:400px;overflow-y:auto}.upcoming-item{background:linear-gradient(135deg,#fafafe,#f8fafc);border:1px solid #0000;border-radius:12px;display:flex;gap:.75rem;padding:.75rem;transition:all .2s}.upcoming-item:hover{background:#fff;border-color:#e2e8f0;box-shadow:0 4px 12px #0000000d}.upcoming-date{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;flex-shrink:0;height:48px;justify-content:center;width:48px}.upcoming-day{color:#0f172a;font-size:1.25rem;font-weight:800;line-height:1}.upcoming-month{color:#6366f1;font-size:.625rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.upcoming-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem;justify-content:center;min-width:0}.upcoming-name{color:#0f172a;font-size:.8125rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upcoming-type{font-size:.6875rem;gap:.25rem}.sidebar-btn,.upcoming-type{align-items:center;display:flex;font-weight:600}.sidebar-btn{background:#fafaff;border:1px dashed #c7d2fe;border-radius:12px;color:#6366f1;cursor:pointer;font-size:.875rem;gap:.5rem;justify-content:center;margin-top:.5rem;padding:.75rem 1rem;transition:all .2s;width:100%}.sidebar-btn:hover{background:#eef2ff;border-style:solid}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a99}.modal-content-new{animation:modalSlideIn .35s cubic-bezier(.4,0,.2,1);background:#fff;border-radius:20px;box-shadow:0 24px 80px #00000040;max-height:90vh;max-width:520px;overflow-y:auto;width:90%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header-new{align-items:center;background:linear-gradient(135deg,#fafafe,#f8fafc);border-bottom:1px solid #f1f5f9;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;padding:1.5rem 1.75rem}.modal-header-new h2{color:#0f172a;font-size:1.25rem;font-weight:800;margin:0}.modal-close-new{align-items:center;background:#e2e8f0;border:none;border-radius:10px;color:#64748b;cursor:pointer;display:flex;font-size:20px;height:38px;justify-content:center;transition:all .2s;width:38px}.modal-close-new:hover{background:#dc2626;color:#fff;transform:rotate(90deg)}.modal-form{padding:1.75rem}.form-group{margin-bottom:1.25rem}.form-group label{color:#0f172a;font-size:.8125rem;font-weight:700}.input-new{background:#fafaff;border:2px solid #e2e8f0;border-radius:12px;font-family:inherit;font-size:.9375rem;padding:.875rem 1rem;transition:all .2s;width:100%}.input-new:hover{border-color:#c7d2fe}.input-new:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 4px #6366f11a;outline:none}textarea.input-new{min-height:80px;resize:vertical}.type-selector{grid-gap:.625rem;display:grid;gap:.625rem;grid-template-columns:repeat(2,1fr)}.type-option{align-items:center;border:2px solid;border-radius:12px;cursor:pointer;display:flex;gap:.75rem;padding:.875rem 1rem;transition:all .2s}.type-option input{display:none}.type-option.selected{box-shadow:0 4px 12px #0000001a;transform:scale(1.02)}.type-icon{font-size:1.25rem}.type-label{font-size:.8125rem;font-weight:700}.modal-footer-new{background:linear-gradient(135deg,#fafafe,#f8fafc);border-radius:0 0 20px 20px;border-top:1px solid #f1f5f9;display:flex;gap:.75rem;padding:1.25rem 1.75rem}.btn-secondary{background:#fff;border:2px solid #e2e8f0;border-radius:12px;color:#475569;flex:1 1;font-weight:700;padding:.875rem 1.5rem}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.modal-footer-new .btn-primary{flex:1 1}.empty-state{color:#64748b;padding:3rem 2rem}.empty-state svg{color:#c7d2fe}.empty-state h3{color:#0f172a;font-size:1.125rem;margin:0 0 .5rem}.text-muted{color:#94a3b8;font-size:.875rem}@media (max-width:1200px){.calendar-main-layout{grid-template-columns:1fr}.calendar-sidebar{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}}@media (max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.calendar-new-container{padding:1rem}.calendar-new-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:stretch}.header-actions .btn-primary,.header-actions .btn-view{flex:1 1;justify-content:center}.stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.calendar-sidebar,.type-selector{grid-template-columns:1fr}.calendar-grid-section{padding:1rem}.calendar-day{min-height:70px;padding:.375rem}.day-number{font-size:.75rem}.holiday-chip{font-size:.5625rem;padding:1px 4px}}@media (max-width:480px){.calendar-grid{gap:3px}.calendar-day{border-radius:8px;min-height:55px}.current-month{font-size:1.125rem}.btn-today{font-size:.75rem;padding:.5rem .875rem}}.upcoming-list::-webkit-scrollbar{width:4px}.upcoming-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.upcoming-list::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:4px}.upcoming-list::-webkit-scrollbar-thumb:hover{background:#6366f1}.leaves-container{background:#f8f9fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-height:100vh;padding:24px}.leaves-header{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;justify-content:space-between;margin-bottom:20px;padding:24px}.leaves-title-group{align-items:center;display:flex;gap:16px}.leaves-icon-badge{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-radius:12px;color:#fff;display:flex;font-size:22px;height:48px;justify-content:center;width:48px}.leaves-title-group h1{color:#1a202c;font-size:24px;font-weight:700;margin:0}.leaves-title-group p{color:#718096;font-size:14px;margin:4px 0 0}.leaves-add-btn{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.leaves-add-btn:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf666;transform:translateY(-1px)}.leaves-stats{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:20px}.leave-stat{align-items:center;background:#fff;border-left:4px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000d;display:flex;justify-content:space-between;padding:16px 20px}.leave-stat.approved{border-left-color:#48bb78}.leave-stat.pending{border-left-color:#ed8936}.leave-stat.rejected{border-left-color:#f56565}.leave-stat .stat-label{color:#718096;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.leave-stat .stat-number{color:#1a202c;font-size:24px;font-weight:800}.leave-stat.approved .stat-number{color:#48bb78}.leave-stat.pending .stat-number{color:#ed8936}.leave-stat.rejected .stat-number{color:#f56565}.leaves-filters{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.filter-group{align-items:center;background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000000d;padding:10px 16px;position:relative}.filter-icon{color:#a0aec0;font-size:18px;margin-right:8px}.filter-input,.filter-select{background:#0000;border:none;color:#2d3748;cursor:pointer;font-family:inherit;font-size:14px;font-weight:500;min-width:120px}.filter-input{cursor:text}.filter-input:focus,.filter-select:focus{outline:none}.filter-refresh-btn{align-items:center;background:#fff;border:2px solid #667eea;border-radius:10px;color:#667eea;cursor:pointer;display:flex;font-size:18px;height:44px;justify-content:center;transition:all .2s ease;width:44px}.filter-refresh-btn:hover{background:#667eea;color:#fff}.leaves-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;overflow:auto}.leaves-table{border-collapse:collapse;font-size:14px;width:100%}.leaves-table thead{background:#f7fafc;position:-webkit-sticky;position:sticky;top:0;z-index:10}.leaves-table thead th{border-bottom:2px solid #e2e8f0;color:#4a5568;font-size:12px;font-weight:700;letter-spacing:.5px;padding:14px 16px;text-align:left;text-transform:uppercase;white-space:nowrap}.leaves-table tbody tr{border-bottom:1px solid #f0f0f0;transition:all .2s ease}.leaves-table tbody tr:hover{background:#f7fafc}.leaves-table tbody td{color:#2d3748;padding:14px 16px}.student-name-cell{align-items:center;display:flex;gap:10px}.student-avatar-tiny{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:13px;font-weight:700;height:32px;justify-content:center;width:32px}.leave-type-badge{border-radius:6px;display:inline-flex;font-size:12px;font-weight:600;padding:4px 12px;white-space:nowrap}.leave-type-badge.sick{background:#fef3c7;color:#92400e}.leave-type-badge.personal{background:#dbeafe;color:#1e40af}.leave-type-badge.emergency{background:#fee2e2;color:#991b1b}.leave-type-badge.other{background:#e0e7ff;color:#3730a3}.leave-status-badge{border-radius:6px;display:inline-flex;font-size:12px;font-weight:600;padding:4px 12px;white-space:nowrap}.leave-status-badge.approved{background:#d1fae5;color:#065f46}.leave-status-badge.pending{background:#fed7aa;color:#92400e}.leave-status-badge.rejected{background:#fecaca;color:#991b1b}.reason-cell{color:#718096;font-style:italic;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.applied-via-cell{color:#718096;text-transform:capitalize}.actions-cell{gap:8px}.action-icon-btn,.actions-cell{align-items:center;display:flex}.action-icon-btn{border:none;border-radius:6px;cursor:pointer;font-size:14px;height:32px;justify-content:center;transition:all .2s ease;width:32px}.action-icon-btn.approve{background:#d1fae5;color:#065f46}.action-icon-btn.approve:hover{background:#48bb78;color:#fff}.action-icon-btn.reject{background:#fecaca;color:#991b1b}.action-icon-btn.reject:hover{background:#f56565;color:#fff}.action-icon-btn.delete{background:#fee2e2;color:#991b1b}.action-icon-btn.delete:hover{background:#f56565;color:#fff}.leaves-empty,.leaves-loading{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.loading-spinner{animation:spin .8s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#8b5cf6;height:40px;width:40px}.leaves-empty p,.leaves-loading p{color:#718096;font-size:14px;font-weight:500;margin-top:16px}.empty-icon{align-items:center;background:#f7fafc;border-radius:50%;color:#cbd5e0;display:flex;font-size:32px;height:64px;justify-content:center;margin-bottom:16px;width:64px}.leaves-empty h3{color:#2d3748;font-size:18px;font-weight:600;margin:0 0 8px}@media (max-width:768px){.leaves-container{padding:16px}.leaves-header{align-items:flex-start;flex-direction:column;gap:16px}.leaves-add-btn{justify-content:center;width:100%}.leaves-filters{flex-direction:column;width:100%}.filter-group,.filter-refresh-btn{width:100%}.leaves-table-container{overflow-x:auto}.leaves-table{min-width:900px}}:root{--primary:#4f46e5;--primary-light:#eef2ff;--success:#10b981;--success-light:#ecfdf5;--warning:#f59e0b;--warning-light:#fffbeb;--danger:#ef4444;--danger-light:#fef2f2;--info:#0ea5e9;--info-light:#f0f9ff;--text-dark:#1f2937;--text-medium:#4b5563;--text-light:#9ca3af;--bg-page:#f3f4f6;--bg-card:#fff;--border:#e5e7eb;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 4px 6px #00000012;--shadow-lg:0 10px 25px #0000001a;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px}.reports-page{background:#f3f4f6;background:var(--bg-page);min-height:100vh;padding-bottom:60px}.reports-hero{background:linear-gradient(120deg,#4f46e5,#9333ea 50%,#db2777);border-radius:0 0 24px 24px;box-shadow:0 10px 30px -10px #4f46e54d;color:#fff;margin-bottom:24px;padding:40px 32px}.hero-content h1{font-size:36px;font-weight:800;letter-spacing:-.5px;margin:0 0 8px}.hero-content p{font-size:16px;line-height:1.5;margin:0;max-width:600px;opacity:.95}.report-types-scroll{-webkit-overflow-scrolling:touch;display:flex;gap:12px;margin-bottom:20px;overflow-x:auto;padding:4px 32px 16px;scrollbar-color:#e5e7eb #0000;scrollbar-color:var(--border) #0000;scrollbar-width:thin}.report-types-scroll::-webkit-scrollbar{height:6px}.report-types-scroll::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:10px}.type-pill{align-items:center;background:#fff;border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:100px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);color:#4b5563;color:var(--text-medium);cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s cubic-bezier(.4,0,.2,1);white-space:nowrap}.type-pill:hover{border-color:#4f46e5;border-color:var(--primary);box-shadow:0 4px 6px #00000012;box-shadow:var(--shadow-md);color:#4f46e5;color:var(--primary);transform:translateY(-2px)}.type-pill.active{background:#fff;background:var(--bg-card);border-width:2px;box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.filters-section{margin-bottom:24px;padding:0 32px}.filters-card{align-items:flex-end;background:#fff;border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:16px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;display:flex;flex-wrap:wrap;gap:24px;padding:20px 24px}.filters-grid{display:contents}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:200px}.filter-group.double-input{flex-direction:row;min-width:300px}.filter-group.double-input>div{display:flex;flex:1 1;flex-direction:column;gap:6px}.filter-group label{color:#6b7280;font-size:13px;font-weight:600;margin-left:2px}.filter-group input,.filter-group select{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;color:#1f2937;font-size:14px;height:42px;outline:none;padding:10px 14px;transition:all .2s}.filter-group input:focus,.filter-group select:focus{background:#fff;border-color:#4f46e5;border-color:var(--primary);box-shadow:0 0 0 3px #4f46e51a}.filter-actions{border:none;margin-left:auto;padding-top:0}.btn-primary{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);background:linear-gradient(135deg,var(--primary) 0,#7c3aed 100%);border:none;border-radius:10px;box-shadow:0 4px 6px -1px #4f46e533;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;height:42px;padding:0 24px;transition:all .2s}.btn-primary:hover{box-shadow:0 6px 10px -1px #4f46e54d}.btn-primary:disabled{cursor:wait;opacity:.7}.btn-secondary{display:none}.results-section{margin-bottom:32px;padding:0 32px}.results-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.export-buttons{display:flex;gap:8px}.btn-export{align-items:center;background:#fff;background:var(--bg-card);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius-sm);color:#4b5563;color:var(--text-medium);cursor:pointer;display:flex;font-size:13px;gap:6px;padding:8px 16px;transition:all .2s}.btn-export:hover{background:#4f46e5;background:var(--primary);border-color:#4f46e5;border-color:var(--primary);color:#fff}.report-content{background:#fff;background:var(--bg-card);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:16px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);padding:32px}.report-grid-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:32px}.stat-card{align-items:center;background:linear-gradient(135deg,#fff,#fafafa);background:linear-gradient(135deg,var(--bg-card) 0,#fafafa 100%);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-md);display:flex;gap:16px;padding:20px;transition:all .3s}.stat-card:hover{box-shadow:0 4px 6px #00000012;box-shadow:var(--shadow-md);transform:translateY(-2px)}.stat-icon-wrapper{align-items:center;border-radius:8px;border-radius:var(--radius-sm);display:flex;height:56px;justify-content:center;width:56px}.stat-content{display:flex;flex-direction:column}.stat-label{color:var(--text-light);font-size:12px;font-weight:600;margin-bottom:4px}.stat-value{color:var(--text-dark);font-size:28px;font-weight:800;line-height:1}.stat-sub{color:#10b981;color:var(--success);font-size:14px}.stat-sub,.stat-trend{font-weight:600;margin-top:4px}.stat-trend{font-size:12px}.stat-trend.positive{color:#10b981;color:var(--success)}.stat-trend.negative{color:#ef4444;color:var(--danger)}.chart-section{margin-bottom:32px}.chart-card{background:#fff;background:var(--bg-card);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-md);padding:24px}.chart-card.full-width{width:100%}.chart-title{color:#1f2937;color:var(--text-dark);font-size:16px;font-weight:700;margin:0 0 20px}.chart-tooltip{background:#fff;background:var(--bg-card);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius-sm);box-shadow:0 10px 25px #0000001a;box-shadow:var(--shadow-lg);padding:12px 16px}.tooltip-label{font-weight:600;margin:0 0 8px}.section-title,.tooltip-label{color:#1f2937;color:var(--text-dark)}.section-title{align-items:center;display:flex;font-size:18px;font-weight:700;gap:8px;margin:0 0 20px}.student-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.student-card{align-items:center;background:#f3f4f6;background:var(--bg-page);border-left:4px solid #ef4444;border-left:4px solid var(--danger);border-radius:8px;border-radius:var(--radius-sm);display:flex;gap:12px;padding:12px 16px}.student-card.absent{border-left-color:#ef4444;border-left-color:var(--danger)}.student-avatar{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);background:linear-gradient(135deg,var(--primary) 0,#7c3aed 100%);border-radius:50%;color:#fff;display:flex;font-size:16px;font-weight:700;height:40px;justify-content:center;width:40px}.student-info{display:flex;flex-direction:column}.student-name{color:#1f2937;color:var(--text-dark);font-size:14px;font-weight:600}.student-class{color:#9ca3af;color:var(--text-light);font-size:12px}.report-header-card{background:linear-gradient(135deg,#4f46e5,#7c3aed);background:linear-gradient(135deg,var(--primary) 0,#7c3aed 100%);border-radius:12px;border-radius:var(--radius-md);color:#fff;margin-bottom:24px;padding:24px}.report-header-card h2{font-size:24px;font-weight:700;margin:0 0 8px}.report-header-card p{font-size:13px;margin:0;opacity:.8}.class-ranking-list{display:flex;flex-direction:column;gap:12px}.ranking-item{align-items:center;background:#f3f4f6;background:var(--bg-page);border-radius:8px;border-radius:var(--radius-sm);display:flex;gap:16px;padding:12px 16px}.rank-badge{font-size:20px;min-width:32px}.rank-name{color:#1f2937;color:var(--text-dark);font-weight:600;min-width:100px}.rank-bar-wrapper{background:#e5e7eb;background:var(--border);border-radius:12px;flex:1 1;height:24px;overflow:hidden}.rank-bar{border-radius:12px;height:100%;transition:width .5s ease}.rank-value{color:#1f2937;color:var(--text-dark);font-weight:700;min-width:50px;text-align:right}.weekly-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:24px}.week-card{background:#fff;background:var(--bg-card);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-md);padding:20px;text-align:center}.week-card.excellent{border-top:4px solid #10b981;border-top:4px solid var(--success)}.week-card.good{border-top:4px solid #f59e0b;border-top:4px solid var(--warning)}.week-card.poor{border-top:4px solid #ef4444;border-top:4px solid var(--danger)}.week-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.week-number{color:#1f2937;color:var(--text-dark);font-weight:700}.status-badge{font-size:11px;padding:4px 10px}.status-badge.excellent{background:#ecfdf5;background:var(--success-light);color:#10b981;color:var(--success)}.status-badge.good{background:#fffbeb;background:var(--warning-light);color:#f59e0b;color:var(--warning)}.status-badge.poor{background:#fef2f2;background:var(--danger-light);color:#ef4444;color:var(--danger)}.week-period{color:#9ca3af;color:var(--text-light);font-size:13px;margin-bottom:16px}.week-stat{display:flex;flex-direction:column;gap:4px}.week-percentage{color:#1f2937;color:var(--text-dark);font-size:32px;font-weight:800}.week-label{color:#9ca3af;color:var(--text-light);font-size:12px}.calendar-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(7,1fr);margin-top:16px}.cal-head{color:#4b5563;color:var(--text-medium);font-size:13px;font-weight:700;padding-bottom:8px;text-align:center}.cal-day{align-items:center;aspect-ratio:1;background:#f3f4f6;background:var(--bg-page);border-radius:8px;border-radius:var(--radius-sm);cursor:default;display:flex;flex-direction:column;font-size:12px;justify-content:center;position:relative;transition:all .2s}.cal-day:hover{box-shadow:0 4px 12px #0000001a;transform:scale(1.05);z-index:2}.cal-day.high{background:#ecfdf5;background:var(--success-light);border:1px solid #10b981;border:1px solid var(--success);color:#10b981;color:var(--success)}.cal-day.med{background:#fffbeb;background:var(--warning-light);border:1px solid #f59e0b;border:1px solid var(--warning);color:#f59e0b;color:var(--warning)}.cal-day.low{background:#fef2f2;background:var(--danger-light);border:1px solid #ef4444;border:1px solid var(--danger);color:#ef4444;color:var(--danger)}.cal-day.weekend{background:#e5e7eb;border-color:#d1d5db;color:#6b7280;opacity:.5}.cal-date{font-size:14px;font-weight:700}.cal-val{font-size:10px;opacity:.9}.cal-legend{color:#9ca3af;color:var(--text-light);display:flex;font-size:12px;gap:16px;justify-content:center;margin-top:16px}.cal-legend .dot{border-radius:50%;display:inline-block;height:10px;margin-right:4px;width:10px}.cal-legend .dot.high{background:#10b981;background:var(--success)}.cal-legend .dot.med{background:#f59e0b;background:var(--warning)}.cal-legend .dot.low{background:#ef4444;background:var(--danger)}.two-columns-wide{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr;margin-bottom:32px}@media (max-width:1024px){.two-columns,.two-columns-wide{grid-template-columns:1fr}}.chart-flex-center{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.gender-stats{display:flex;gap:20px;margin-top:-20px}.margin-top{margin-top:32px}.alert-banner{align-items:center;border-radius:12px;border-radius:var(--radius-md);display:flex;gap:16px;margin-bottom:24px;padding:20px 24px}.alert-banner.warning{background:#fffbeb;background:var(--warning-light);border:1px solid #f59e0b;border:1px solid var(--warning)}.alert-banner.success{background:#ecfdf5;background:var(--success-light);border:1px solid #10b981;border:1px solid var(--success)}.alert-banner h3{color:#1f2937;color:var(--text-dark);font-size:16px;font-weight:700;margin:0 0 4px}.alert-banner p{color:#4b5563;color:var(--text-medium);font-size:14px;margin:0}.student-alert-list{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.student-alert-card{align-items:center;background:#f3f4f6;background:var(--bg-page);border-left:4px solid #ef4444;border-left:4px solid var(--danger);border-radius:8px;border-radius:var(--radius-sm);display:flex;gap:12px;padding:16px}.student-alert-avatar{align-items:center;background:linear-gradient(135deg,#ef4444,#f97316);background:linear-gradient(135deg,var(--danger) 0,#f97316 100%);border-radius:50%;color:#fff;display:flex;font-size:18px;font-weight:700;height:44px;justify-content:center;width:44px}.student-alert-info{display:flex;flex:1 1;flex-direction:column}.student-alert-name{color:#1f2937;color:var(--text-dark);font-size:14px;font-weight:600}.student-alert-class{color:#9ca3af;color:var(--text-light);font-size:12px}.student-alert-stats{text-align:right}.alert-percentage{color:#ef4444;color:var(--danger);display:block;font-size:20px;font-weight:800}.alert-days{color:#9ca3af;color:var(--text-light);font-size:11px}.trophy-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.trophy-card{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #fcd34d;border-radius:12px;border-radius:var(--radius-md);padding:24px 16px;text-align:center;transition:all .3s}.trophy-card:hover{box-shadow:0 8px 24px #fbbf244d;transform:translateY(-4px)}.trophy-icon{font-size:36px;margin-bottom:8px}.trophy-avatar{align-items:center;background:linear-gradient(135deg,#10b981,#059669);background:linear-gradient(135deg,var(--success) 0,#059669 100%);border-radius:50%;color:#fff;display:flex;font-size:22px;font-weight:700;height:56px;justify-content:center;margin:0 auto 12px;width:56px}.trophy-name{color:#1f2937;color:var(--text-dark);font-size:14px;font-weight:700;margin-bottom:4px}.trophy-class{color:#9ca3af;color:var(--text-light);font-size:12px;margin-bottom:12px}.trophy-badge{background:#10b981;background:var(--success);border-radius:20px;color:#fff;display:inline-block;font-size:11px;font-weight:600;padding:6px 12px}.student-attendance-grid{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.att-block{align-items:center;border-radius:6px;cursor:pointer;display:flex;font-size:11px;font-weight:600;height:32px;justify-content:center;transition:all .2s;width:32px}.att-block:hover{box-shadow:0 2px 5px #0000001a;transform:scale(1.1)}.att-block.present{background:#10b981;background:var(--success);color:#fff}.att-block.late{background:#f59e0b;background:var(--warning);color:#fff}.att-block.absent{background:#ef4444;background:var(--danger);color:#fff}.att-block.holiday{background:#e5e7eb;color:#9ca3af}.student-profile-header{align-items:center;background:#fff;border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:16px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;gap:20px;margin-bottom:24px;padding:24px}.profile-avatar-lg{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);background:linear-gradient(135deg,var(--primary) 0,#7c3aed 100%);border-radius:50%;box-shadow:0 4px 12px #4f46e54d;color:#fff;display:flex;font-size:32px;font-weight:700;height:80px;justify-content:center;width:80px}.profile-stats-row{border-left:1px solid #e5e7eb;border-left:1px solid var(--border);display:flex;gap:24px;margin-left:auto;padding-left:24px}.p-stat{align-items:center;display:flex;flex-direction:column}.p-val{color:#1f2937;color:var(--text-dark);font-size:24px;font-weight:800;line-height:1.1}.p-lbl{color:#9ca3af;color:var(--text-light);font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.columns-grid-2{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 1fr}@media (max-width:768px){.columns-grid-2{grid-template-columns:1fr}.profile-stats-row{display:none}}.logs-table.compact td,.logs-table.compact th{font-size:13px;padding:8px 12px}.student-cell{font-weight:500;gap:10px}.avatar-sm,.student-cell{align-items:center;display:flex}.avatar-sm{background:#4f46e5;background:var(--primary);border-radius:50%;color:#fff;font-size:11px;font-weight:700;height:28px;justify-content:center;width:28px}.avatar-sm.danger{background:#ef4444;background:var(--danger)}.avatar-sm.warning{background:#f59e0b;background:var(--warning)}.progress-bar-mini{background:#f3f4f6;border-radius:10px;height:6px;overflow:hidden;width:60px}.flex-align-center{align-items:center;display:flex}.text-xs{font-size:10px}.ml-1{margin-left:4px}.ml-2{margin-left:8px}.font-bold{font-weight:700}.scrollable-h-400{max-height:400px;overflow-y:auto}.empty-state{color:var(--text-light);padding:80px 32px}.empty-state svg{margin-bottom:24px;opacity:.3}.empty-state h3{color:#1f2937;color:var(--text-dark);font-size:20px;font-weight:700;margin:0 0 8px}.empty-state p{font-size:14px;margin:0}.date-range-text{color:#9ca3af;color:var(--text-light);font-size:14px;margin:16px 0 0}.table-section{margin-top:32px}@media (max-width:768px){.reports-hero{padding:32px 20px}.hero-content h1{font-size:24px}.section-heading{padding-left:20px}.filters-section,.report-types-section,.results-section{padding:0 20px}.filters-grid{grid-template-columns:1fr}.filter-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}.report-grid-stats{grid-template-columns:repeat(2,1fr)}.results-header{align-items:flex-start;flex-direction:column;gap:16px}.student-profile-header{flex-direction:column;text-align:center}}@media print{.export-buttons,.filters-section,.report-types-section,.reports-hero{display:none!important}.results-section{padding:0}.report-content{border:1px solid #000;box-shadow:none}}.settings-container{margin:0 auto;max-width:1200px;padding:2rem}.settings-header{justify-content:space-between;margin-bottom:2rem}.page-title,.settings-header{align-items:center;display:flex}.page-title{color:var(--gray-900);font-size:1.875rem;font-weight:700;margin-bottom:.5rem}.page-subtitle{color:var(--gray-600);font-size:.95rem}.inline-icon{display:inline-block;margin-right:.5rem;vertical-align:middle}.alert{animation:slideIn .3s ease-in-out;border-radius:var(--radius-md);font-size:.9rem;margin-bottom:1.5rem;padding:1rem 1.25rem}.alert-success{background-color:var(--success-50);border:1px solid var(--success-200);color:var(--success-800)}.alert-error{background-color:var(--danger-50);border:1px solid var(--danger-200);color:var(--danger-800)}.settings-tabs{border-bottom:2px solid var(--gray-200);display:flex;gap:.5rem;margin-bottom:1.5rem;overflow-x:auto}.tab-btn{align-items:center;background:none;border:none;border-bottom:3px solid #0000;color:var(--gray-600);cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.875rem 1.5rem;transition:all var(--transition-base);white-space:nowrap}.tab-btn.active,.tab-btn:hover{background:var(--primary-50);color:var(--primary-600)}.tab-btn.active{border-bottom-color:var(--primary-600)}.settings-content{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:2rem}.settings-section{margin-bottom:2rem}.section-title{border-bottom:2px solid var(--gray-200);color:var(--gray-900);font-size:1.125rem;font-weight:600;margin-bottom:1.5rem;padding-bottom:.75rem}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.section-header .section-title{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-grid{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{align-items:center;color:var(--gray-700);display:flex;font-size:.9rem;margin-bottom:.5rem}.form-group .input{border:2px solid var(--gray-200);border-radius:var(--radius-md);font-size:.9rem;padding:.625rem .875rem;transition:border-color .3s;width:100%}.form-group .input:focus{border-color:var(--primary-600);outline:none}.form-group textarea.input{font-family:inherit;resize:vertical}.form-hint{align-items:center;color:var(--gray-500);display:flex;font-size:.8rem;gap:.375rem;margin-top:.375rem}.form-actions{border-top:1px solid var(--gray-200);display:flex;gap:.75rem;justify-content:flex-end;padding-top:1.5rem}.toggle-group{align-items:center;background:var(--gray-50);border:2px solid var(--gray-200);border-radius:var(--radius-md);display:flex;justify-content:space-between;padding:1rem}.toggle-group label{color:var(--gray-800);font-weight:600;margin:0}.toggle-btn{background:none;border:none;color:var(--gray-400);cursor:pointer;padding:.25rem;transition:all var(--transition-base)}.toggle-btn.active{color:var(--success-600)}.toggle-btn:hover{transform:scale(1.1)}.checkbox-group{display:flex;flex-direction:column;gap:.875rem}.checkbox-label{align-items:center;border-radius:var(--radius-md);color:var(--gray-700);cursor:pointer;display:flex;font-size:.9rem;gap:.75rem;padding:.75rem;transition:background-color .2s}.checkbox-label:hover{background:var(--gray-50)}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.sms-balance-card{align-items:center;background:linear-gradient(135deg,var(--primary-50),var(--primary-100));border:2px solid var(--primary-200);border-radius:var(--radius-lg);display:flex;gap:1rem;margin:1.5rem 0;padding:1.5rem}.sms-balance-card svg{color:var(--primary-600)}.sms-balance-card h4{color:var(--gray-600);font-size:.9rem;margin-bottom:.25rem}.balance-value{color:var(--primary-700);font-size:1.5rem;font-weight:700}.current-year-card{background:linear-gradient(135deg,var(--success-50),var(--success-100));border:2px solid var(--success-200);border-radius:var(--radius-lg);margin-bottom:1.5rem;padding:1.5rem;position:relative}.current-year-badge{background:var(--success-600);border-radius:var(--radius-md);color:#fff;font-size:.75rem;font-weight:700;letter-spacing:.05em;padding:.375rem .875rem;position:absolute;right:1rem;text-transform:uppercase;top:1rem}.current-year-card h4{color:var(--success-900);font-size:1.25rem;font-weight:700;margin-bottom:.5rem}.current-year-card p{color:var(--success-700);font-size:.9rem}.academic-years-list{display:flex;flex-direction:column;gap:.75rem}.year-item{align-items:center;background:#fff;border:2px solid var(--gray-200);border-radius:var(--radius-lg);display:flex;justify-content:space-between;padding:1.25rem;transition:all var(--transition-base)}.year-item:hover{border-color:var(--gray-300);box-shadow:var(--shadow-sm)}.year-item.active{background:var(--success-50);border-color:var(--success-300)}.year-info h4{color:var(--gray-900);font-size:1rem;font-weight:600;margin-bottom:.25rem}.year-info p{color:var(--gray-600);font-size:.875rem;margin-bottom:.25rem}.year-info small{color:var(--gray-500);font-size:.8rem}.btn{border-radius:var(--radius-md);font-size:.9rem;font-weight:600;transition:all var(--transition-base)}.btn-primary{background:var(--primary-600)}.btn-primary:hover:not(:disabled){background:var(--primary-700);box-shadow:var(--shadow-md);transform:translateY(-1px)}.btn-outline{background:#fff;border:2px solid var(--gray-300);color:var(--gray-700)}.btn-outline:hover:not(:disabled){background:var(--gray-50);border-color:var(--gray-400)}.btn-secondary{background:var(--gray-100);color:var(--gray-700)}.btn-secondary:hover:not(:disabled){background:var(--gray-200)}.btn-sm{font-size:.85rem;padding:.5rem 1rem}.btn:disabled{cursor:not-allowed;opacity:.5}.loading-spinner{gap:1rem;height:300px}.spinner{border:4px solid var(--gray-200);border-top-color:var(--primary-600)}.modal-overlay{animation:fadeIn .2s ease-in-out;padding:1.5rem}.modal-content{animation:slideIn .3s ease-in-out;border-radius:var(--radius-lg);box-shadow:0 20px 25px -5px #0000001a;max-width:600px;overflow-y:auto}.modal-header{border-bottom:1px solid var(--gray-200)}.modal-header h2{color:var(--gray-900);font-size:1.25rem}.modal-close{align-items:center;background:var(--gray-100);border:none;border-radius:var(--radius-md);color:var(--gray-600);cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;transition:all .2s;width:32px}.modal-close:hover{background:var(--gray-200);transform:scale(1.1)}.modal-footer{border-top:1px solid var(--gray-200);gap:.75rem}.card{border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.settings-container{padding:1rem}.settings-header{align-items:flex-start;flex-direction:column;gap:1rem}.settings-tabs{flex-wrap:nowrap;overflow-x:auto}.tab-btn{font-size:.85rem;padding:.75rem 1rem}.settings-content{padding:1.25rem}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions .btn{justify-content:center;width:100%}.year-item{align-items:flex-start;flex-direction:column;gap:1rem}.year-item .btn{justify-content:center;width:100%}.section-header{align-items:stretch;flex-direction:column;gap:1rem}.section-header .btn{justify-content:center;width:100%}}.logo-upload-wrapper{align-items:center;background-color:var(--bg-secondary);border:1px dashed var(--border-color);border-radius:var(--radius-lg);display:flex;gap:2rem;margin-bottom:2rem;padding:1.5rem}.logo-preview-container{align-items:center;background-color:var(--bg-primary);border:4px solid #fff;border-radius:50%;box-shadow:var(--shadow-md);display:flex;flex-shrink:0;height:120px;justify-content:center;overflow:hidden;position:relative;width:120px}.logo-img-preview{height:100%;object-fit:cover;width:100%}.logo-placeholder{align-items:center;background-color:#f8f9fa;color:var(--text-tertiary);display:flex;height:100%;justify-content:center;width:100%}.logo-upload-info{display:flex;flex-direction:column;gap:.75rem}.logo-actions{align-items:center;display:flex;gap:1rem}.logo-upload-info label.btn{margin:0;width:-webkit-fit-content;width:fit-content}.logo-upload-info .text-muted{color:var(--gray-500);font-size:.85rem;line-height:1.5;margin:0}.toast-notification{align-items:center;animation:slideInRight .3s ease-out forwards;border-radius:var(--radius-md);box-shadow:0 4px 12px #00000026;display:flex;font-weight:500;gap:.75rem;min-width:300px;padding:1rem 1.5rem;position:fixed;right:2rem;top:2rem;z-index:1100}.toast-notification.success{background-color:#d1fae5;border-left:5px solid #059669;color:#065f46}.toast-notification svg{font-size:1.25rem}@keyframes slideInRight{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@media (max-width:640px){.logo-upload-wrapper{flex-direction:column;gap:1.5rem;text-align:center}.logo-upload-info{align-items:center}.logo-actions{justify-content:center}.toast-notification{left:1rem;min-width:auto;right:1rem;top:1rem}}.devices-container{margin:0 auto;max-width:1400px;padding:2rem}.devices-header{flex-wrap:wrap;justify-content:space-between;margin-bottom:2rem}.devices-header,.header-left{align-items:center;display:flex;gap:1rem}.header-icon{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;display:flex;height:60px;justify-content:center;width:60px}.devices-header h1{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0}.devices-header p{color:#6b7280;margin:.25rem 0 0}.header-actions{align-items:center;display:flex;gap:1rem}.auto-refresh-toggle label{align-items:center;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem}.auto-refresh-toggle input[type=checkbox],.btn-refresh{cursor:pointer}.btn-refresh{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;display:flex;font-weight:500;gap:.5rem;padding:.625rem 1.25rem;transition:all .2s}.btn-refresh:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f64d;transform:translateY(-1px)}.devices-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.device-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:1.5rem;transition:all .2s}.device-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-2px)}.device-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1.5rem}.device-info{gap:1rem}.device-icon,.device-info{align-items:center;display:flex}.device-icon{border-radius:10px;font-size:1.5rem;height:48px;justify-content:center;width:48px}.device-info h3{color:#1f2937;font-size:1.125rem;font-weight:600;margin:0}.device-serial{color:#9ca3af;font-family:Monaco,monospace;font-size:.75rem;margin:.25rem 0 0}.device-status{align-items:center;display:flex;font-size:1.25rem;gap:.5rem}.status-badge{border-radius:20px;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.device-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-bottom:1.5rem}.stat-item{align-items:center;display:flex;gap:.75rem}.stat-icon{color:#6b7280;font-size:1.25rem}.stat-item>div{display:flex;flex-direction:column}.stat-label{color:#9ca3af;font-size:.75rem;letter-spacing:.5px;text-transform:uppercase}.stat-value{color:#1f2937;font-size:.875rem;font-weight:600;margin-top:.125rem}.sync-progress{margin-bottom:1.5rem}.progress-header{color:#6b7280;display:flex;font-size:.875rem;font-weight:500;justify-content:space-between;margin-bottom:.5rem}.progress-bar{background:#e5e7eb;border-radius:10px;height:8px;overflow:hidden;width:100%}.progress-fill{border-radius:10px;height:100%;transition:width .3s ease}.device-actions{display:flex;flex-wrap:wrap;gap:.75rem}.btn-action{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;min-width:100px;padding:.625rem 1rem;transition:all .2s}.btn-action:disabled{cursor:not-allowed;opacity:.5}.btn-view{background:#f3f4f6;color:#374151}.btn-view:hover:not(:disabled){background:#e5e7eb}.btn-verify{background:#dbeafe;color:#1e40af}.btn-verify:hover:not(:disabled){background:#bfdbfe}.btn-sync{background:#d1fae5;color:#065f46}.btn-sync:hover:not(:disabled){background:#a7f3d0}.btn-action .spin{animation:spin 1s linear infinite}.device-warning{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;display:flex;font-size:.875rem;gap:.5rem;margin-top:1rem;padding:.75rem}.empty-state{color:#9ca3af;padding:4rem 2rem;text-align:center}.empty-state svg{margin-bottom:1rem;opacity:.5}.empty-state h3{color:#6b7280;font-size:1.25rem;margin:.5rem 0}.empty-state p{color:#9ca3af}.loading-state{padding:4rem 2rem;text-align:center}.spinner{animation:spin .8s linear infinite;border:4px solid #e5e7eb;border-top-color:#3b82f6;height:50px;margin:0 auto 1rem;width:50px}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;display:flex;flex-direction:column;max-height:90vh;max-width:900px;overflow:hidden;width:100%}.sync-modal{max-width:1000px}.modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.5rem}.modal-header h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0}.btn-close{align-items:center;background:none;border:none;border-radius:6px;color:#9ca3af;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.btn-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{overflow-y:auto;padding:1.5rem}.modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}.sync-device-info{background:#f9fafb;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.sync-device-info h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0 0 .5rem}.device-meta{color:#6b7280;display:flex;flex-wrap:wrap;font-size:.875rem;gap:1rem}.status-indicator{border-radius:12px;font-size:.75rem;font-weight:500;padding:.25rem .75rem}.status-indicator.online{background:#d1fae5;color:#065f46}.status-indicator.offline{background:#fee2e2;color:#991b1b}.sync-summary{margin-bottom:1.5rem}.sync-summary h4{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 1rem}.summary-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:1rem}.summary-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:1rem;text-align:center}.summary-card.success{background:#ecfdf5;border-color:#86efac}.summary-card.warning{background:#fffbeb;border-color:#fde047}.summary-card.danger{background:#fef2f2;border-color:#fca5a5}.summary-value{color:#1f2937;font-size:2rem;font-weight:700}.summary-label{color:#6b7280;font-size:.75rem;letter-spacing:.5px;margin-top:.25rem;text-transform:uppercase}.sync-health-bar{margin-top:1rem}.health-label{color:#6b7280;display:flex;font-size:.875rem;font-weight:500;justify-content:space-between;margin-bottom:.5rem}.health-percentage{color:#1f2937;font-weight:700}.health-progress{background:#e5e7eb;border-radius:10px;height:12px;overflow:hidden;width:100%}.health-fill{border-radius:10px;height:100%;transition:width .3s ease}.sync-students-list{margin-top:1.5rem}.sync-students-list h4{color:#1f2937;font-size:1rem;font-weight:600;margin:0 0 1rem}.students-table-container{border:1px solid #e5e7eb;border-radius:8px;max-height:400px;overflow-y:auto}.students-sync-table{border-collapse:collapse;width:100%}.students-sync-table thead{background:#f9fafb;position:-webkit-sticky;position:sticky;top:0;z-index:1}.students-sync-table th{border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.75rem 1rem;text-align:left;text-transform:uppercase}.students-sync-table td{border-bottom:1px solid #f3f4f6;color:#1f2937;font-size:.875rem;padding:.75rem 1rem}.students-sync-table tbody tr:hover{background:#f9fafb}.sync-status-badge{align-items:center;border-radius:12px;display:inline-flex;font-size:.75rem;font-weight:600;gap:.25rem;padding:.25rem .75rem;text-transform:capitalize}.sync-status-badge.status-synced{background:#d1fae5;color:#065f46}.sync-status-badge.status-pending{background:#fef3c7;color:#92400e}.sync-status-badge.status-failed{background:#fee2e2;color:#991b1b}.sync-status-badge.status-sent{background:#dbeafe;color:#1e40af}.sync-status-badge.status-not_synced{background:#f3f4f6;color:#6b7280}.pending-commands-alert{align-items:center;background:#fef3c7;border:1px solid #fde047;border-radius:8px;color:#92400e;display:flex;font-size:.875rem;gap:.5rem;margin-top:1rem;padding:.75rem 1rem}.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-weight:500;padding:.625rem 1.5rem;transition:all .2s}@media (max-width:768px){.device-stats,.devices-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,1fr)}.device-actions{flex-direction:column}.btn-action{width:100%}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fafafa;color:#111827;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;overflow-x:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app-layout{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden}.app-body{display:flex;flex:1 1;padding-top:72px}.app-content{background:#fafafa;flex:1 1;margin-left:260px;min-height:calc(100vh - 72px);overflow-x:hidden;position:relative;transition:margin-left .3s cubic-bezier(.4,0,.2,1)}@media (max-width:1024px){.app-content{margin-left:260px}}@media (max-width:768px){.app-content{margin-left:0;padding-top:0}.sidebar{transform:translateX(-100%);transition:transform .3s}.sidebar.open{transform:translateX(0)}}.coming-soon{align-items:center;display:flex;flex-direction:column;height:calc(100vh - 200px);justify-content:center;margin:0 auto;max-width:1400px;padding:24px;text-align:center}.coming-soon h1{color:#1f2937;font-size:32px;margin-bottom:12px}.coming-soon p{color:#6b7280;font-size:16px}.btn{align-items:center;border:none;border-radius:10px;box-shadow:0 1px 2px #0000000a;cursor:pointer;display:inline-flex;font-size:.9375rem;font-weight:500;gap:.5rem;padding:.625rem 1.25rem;transition:all .2s ease}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f64d;transform:translateY(-1px)}.btn-primary:disabled{background:#93c5fd;box-shadow:none;cursor:not-allowed;transform:none}.btn-secondary{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151}.btn-secondary:hover{background:#e5e7eb}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-success{background:#16a34a;color:#fff}.btn-success:hover{background:#15803d}.form-group{margin-bottom:20px}.form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-group .input,.form-group input,.form-group select,.form-group textarea{border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:14px;padding:10px 14px;transition:border-color .3s;width:100%}.form-group .input:focus,.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;outline:none}.form-group .input:disabled,.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background-color:#f3f4f6;cursor:not-allowed}.alert{align-items:center;border-radius:8px;display:flex;font-size:14px;gap:10px;margin-bottom:20px;padding:14px 18px}.alert-success{background-color:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.alert-error{background-color:#fee2e2;border:1px solid #fecaca;color:#991b1b}.alert-warning{background-color:#fef3c7;border:1px solid #fde68a;color:#92400e}.alert-info{background-color:#dbeafe;border:1px solid #bfdbfe;color:#1e40af}.spinner{animation:spin 1s linear infinite;border:3px solid #f3f4f6;border-radius:50%;border-top-color:#2563eb;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-spinner{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;padding:40px}.loading-spinner p{color:#6b7280;font-size:14px}.badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 10px}.badge-primary{background:#dbeafe;color:#1e40af}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#991b1b}.badge-secondary{background:#f3f4f6;color:#6b7280}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px}.card-header{border-bottom:1px solid #e5e7eb;margin-bottom:20px;padding-bottom:16px}.card-header h2{color:#1f2937;font-size:18px;font-weight:600;margin:0}.card-body{padding:0}.table-responsive{overflow-x:auto}table{border-collapse:collapse;width:100%}table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}table th{color:#6b7280;font-size:13px;font-weight:600;letter-spacing:.5px;padding:12px 16px;text-align:left;text-transform:uppercase}table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .2s}table tbody tr:hover{background:#f9fafb}table td{color:#374151;font-size:14px;padding:12px 16px}.text-center{text-align:center}.text-right{text-align:right}.text-muted{color:#6b7280}.text-primary{color:#2563eb}.text-success{color:#16a34a}.text-danger{color:#dc2626}.text-warning{color:#f59e0b}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}.p-1{padding:8px}.p-2{padding:16px}.p-3{padding:24px}.p-4{padding:32px}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:8px}.gap-2{gap:16px}.gap-3{gap:24px}.gap-4{gap:32px}
/*# sourceMappingURL=main.84f5fac1.css.map*/