@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";:root{--sidebar-bg: #0f172a;--sidebar-hover: #1e293b;--sidebar-active: #6366f1;--sidebar-text: #94a3b8;--sidebar-text-active: #ffffff;--sidebar-width: 260px;--primary: #6366f1;--primary-dark: #4f46e5;--primary-light: #818cf8;--secondary: #8b5cf6;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--info: #3b82f6;--bg: #f1f5f9;--card-bg: #ffffff;--border: #e2e8f0;--text-primary: #0f172a;--text-secondary: #64748b;--text-muted: #94a3b8;--header-height: 64px;--radius: 12px;--radius-sm: 8px;--radius-lg: 16px;--shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);--shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);--shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);--shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);--transition: all .2s cubic-bezier(.4, 0, .2, 1)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased}.layout{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);position:fixed;top:0;left:0;height:100vh;display:flex;flex-direction:column;z-index:100;transition:var(--transition);overflow:hidden}.sidebar-logo{padding:20px 20px 16px;border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;gap:12px;text-decoration:none}.sidebar-logo-icon{width:40px;height:40px;background:linear-gradient(135deg,var(--primary),var(--secondary));border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.sidebar-logo-text{flex:1;min-width:0}.sidebar-logo-title{font-size:15px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-logo-sub{font-size:11px;color:var(--sidebar-text);font-weight:400}.sidebar-nav{flex:1;overflow-y:auto;padding:12px 0;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.1) transparent}.sidebar-section-title{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#94a3b880;padding:16px 20px 6px}.sidebar-link{display:flex;align-items:center;gap:12px;padding:10px 20px;color:var(--sidebar-text);text-decoration:none;font-size:14px;font-weight:500;border-radius:0;transition:var(--transition);cursor:pointer;border:none;background:none;width:100%;text-align:left;position:relative}.sidebar-link:hover{background:var(--sidebar-hover);color:#fff}.sidebar-link.active{background:#6366f126;color:var(--primary-light)}.sidebar-link.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--primary);border-radius:0 2px 2px 0}.sidebar-link-icon{font-size:18px;flex-shrink:0;opacity:.8}.sidebar-link.active .sidebar-link-icon{opacity:1}.sidebar-footer{padding:12px;border-top:1px solid rgba(255,255,255,.06)}.sidebar-user{display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--radius-sm);background:#ffffff0a}.sidebar-avatar{width:34px;height:34px;background:linear-gradient(135deg,var(--primary),var(--secondary));border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:#fff;flex-shrink:0}.sidebar-user-info{flex:1;min-width:0}.sidebar-user-name{font-size:13px;font-weight:600;color:#fff}.sidebar-user-role{font-size:11px;color:var(--sidebar-text)}.main-content{margin-left:var(--sidebar-width);flex:1;display:flex;flex-direction:column;min-height:100vh}.main-content svg,.main-content .icon,.main-content [class*=icon]{color:#111827!important;fill:currentColor!important;stroke:currentColor!important;filter:grayscale(1) contrast(1.2)!important}.header{height:var(--header-height);background:var(--card-bg);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:50}.header-left{display:flex;align-items:center;gap:16px}.page-title{font-size:20px;font-weight:700;color:var(--text-primary)}.page-subtitle{font-size:13px;color:var(--text-secondary);margin-top:1px}.header-right{display:flex;align-items:center;gap:12px}.header-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--border);background:var(--card-bg);border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:var(--transition);text-decoration:none}.header-btn:hover{background:var(--bg);color:var(--text-primary)}.page-content{padding:28px;flex:1}.card{background:var(--card-bg);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow)}.card-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}.card-title{font-size:16px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:10px}.card-body{padding:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;margin-bottom:28px}.stat-card{background:var(--card-bg);border-radius:var(--radius);padding:20px;border:1px solid var(--border);box-shadow:var(--shadow);display:flex;align-items:center;gap:16px;transition:var(--transition);cursor:default}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.stat-info{flex:1}.stat-value{font-size:26px;font-weight:800;color:var(--text-primary);line-height:1}.stat-label{font-size:12px;color:var(--text-secondary);margin-top:4px;font-weight:500}.stat-sub{font-size:11px;color:var(--text-muted);margin-top:2px}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;border:none;transition:var(--transition);text-decoration:none;white-space:nowrap}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #6366f14d}.btn-secondary{background:var(--bg);color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background:var(--border)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626;transform:translateY(-1px)}.btn-success{background:var(--success);color:#fff}.btn-sm{padding:6px 12px;font-size:13px}.btn-lg{padding:13px 24px;font-size:15px}.btn-icon{padding:8px}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:600}.badge-success{background:#dcfce7;color:#15803d}.badge-danger{background:#fee2e2;color:#dc2626}.badge-warning{background:#fef3c7;color:#d97706}.badge-info{background:#dbeafe;color:#1d4ed8}.badge-purple{background:#ede9fe;color:#7c3aed}.badge-gray{background:#f1f5f9;color:#64748b}.badge-secondary{background:#f1f5f9;color:#475569}.form-group{margin-bottom:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}label{display:block;font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:6px}.input,select.input,textarea.input{width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;color:var(--text-primary);background:var(--card-bg);transition:var(--transition);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}.input::placeholder{color:var(--text-muted)}textarea.input{resize:vertical;min-height:100px}select.input{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 10px center;background-repeat:no-repeat;background-size:20px;padding-right:36px}.form-error{font-size:12px;color:var(--danger);margin-top:4px}.table-container{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border);background:var(--card-bg)}table{width:100%;border-collapse:collapse}th{background:#f8fafc;padding:12px 16px;text-align:left;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);border-bottom:1px solid var(--border);white-space:nowrap}td{padding:14px 16px;font-size:14px;border-bottom:1px solid var(--border);color:var(--text-primary);vertical-align:middle}tr:last-child td{border-bottom:none}tr:hover td{background:#fafafa}.table-actions{display:flex;align-items:center;gap:8px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.toolbar-left{flex:1;min-width:0}.toolbar-right{flex-shrink:0}.search-box{display:flex;align-items:center;gap:8px;padding:9px 14px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--card-bg);transition:var(--transition)}.search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}.search-box input{border:none;outline:none;font-size:14px;color:var(--text-primary);background:transparent;width:200px;font-family:inherit}.search-box input::placeholder{color:var(--text-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:200;padding:20px;animation:fadeIn .15s ease}.modal{background:var(--card-bg);border-radius:var(--radius-lg);width:100%;max-width:560px;max-height:90vh;display:flex;flex-direction:column;box-shadow:var(--shadow-xl);animation:slideUp .2s ease}.modal-lg{max-width:720px}.modal-sm{max-width:420px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}.modal-title{font-size:17px;font-weight:700;color:var(--text-primary)}.modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:var(--bg);border-radius:8px;cursor:pointer;font-size:18px;color:var(--text-secondary);transition:var(--transition)}.modal-close:hover{background:var(--border);color:var(--text-primary)}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border)}.login-page{min-height:100vh;display:flex;align-items:stretch}.login-left{flex:1;background:linear-gradient(135deg,#0f172a,#1e1b4b,#0f172a);display:flex;align-items:center;justify-content:center;padding:60px;position:relative;overflow:hidden}.login-left:before{content:"";position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(99,102,241,.15) 0%,transparent 70%);top:-100px;right:-100px;border-radius:50%}.login-left:after{content:"";position:absolute;width:400px;height:400px;background:radial-gradient(circle,rgba(139,92,246,.1) 0%,transparent 70%);bottom:-50px;left:-50px;border-radius:50%}.login-hero{position:relative;z-index:1;max-width:420px}.login-hero-icon{width:72px;height:72px;background:linear-gradient(135deg,#0f172a,#334155);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;margin-bottom:28px;box-shadow:0 20px 40px #0f172a33}.login-hero-title{font-size:36px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:16px}.login-hero-sub{font-size:16px;color:#fff9;line-height:1.6}.login-features{margin-top:36px;display:flex;flex-direction:column;gap:14px}.login-feature{display:flex;align-items:center;gap:14px;color:#fffc;font-size:14px}.login-feature-icon{width:36px;height:36px;background:#ffffff14;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.login-right{width:480px;display:flex;align-items:center;justify-content:center;padding:60px 52px;background:#fff}.login-form-container{width:100%}.login-form-title{font-size:28px;font-weight:800;color:var(--text-primary);margin-bottom:6px}.login-form-sub{font-size:14px;color:var(--text-secondary);margin-bottom:36px}.login-alert{padding:12px 16px;border-radius:var(--radius-sm);font-size:14px;margin-bottom:20px;display:flex;align-items:center;gap:8px}.login-alert-error{background:#fee2e2;color:#dc2626}.login-alert-success{background:#dcfce7;color:#15803d}.attendance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.attendance-card{background:var(--card-bg);border:1.5px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;align-items:center;gap:14px;transition:var(--transition)}.attendance-card:hover{box-shadow:var(--shadow-md)}.attendance-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--secondary));display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#fff;flex-shrink:0}.attendance-info{flex:1;min-width:0}.attendance-name{font-size:14px;font-weight:600;color:var(--text-primary)}.attendance-sub{font-size:12px;color:var(--text-secondary);margin-top:2px}.attendance-status{flex-shrink:0}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px}.status-dot-present{background:var(--success)}.status-dot-absent{background:var(--danger)}.status-dot-late{background:var(--warning)}.empty-state{text-align:center;padding:60px 20px;color:var(--text-secondary)}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state-title{font-size:18px;font-weight:600;color:var(--text-primary);margin-bottom:8px}.empty-state-text{font-size:14px;color:var(--text-secondary)}.spinner{width:24px;height:24px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}.loading-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:16px;color:var(--text-secondary)}.alert{padding:14px 18px;border-radius:var(--radius-sm);font-size:14px;margin-bottom:20px;display:flex;align-items:flex-start;gap:10px}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d}.alert-error,.alert-danger{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#d97706}.alert-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8}.tabs{display:flex;gap:4px;background:var(--bg);padding:4px;border-radius:var(--radius-sm);margin-bottom:24px}.tab-btn{padding:8px 20px;border:none;background:transparent;border-radius:6px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:var(--transition)}.tab-btn.active{background:var(--card-bg);color:var(--primary);font-weight:600;box-shadow:var(--shadow)}.notice-card{padding:16px;border-left:4px solid var(--primary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--card-bg);border:1px solid var(--border);border-left-width:4px;border-left-color:var(--primary);margin-bottom:12px}.notice-title{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.notice-content{font-size:13px;color:var(--text-secondary);line-height:1.5}.notice-meta{font-size:12px;color:var(--text-muted);margin-top:8px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-day-header{text-align:center;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:8px 0}.calendar-day{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;font-size:13px;cursor:default;transition:var(--transition);position:relative}.calendar-day.today{background:var(--primary);color:#fff;font-weight:700}.calendar-day.holiday{background:#fee2e2;color:#dc2626;font-weight:600}.calendar-day.other-month{opacity:.3}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse{animation:pulse 1.5s ease-in-out infinite}.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}.flex-between{display:flex;align-items:center;justify-content:space-between}.flex-end{display:flex;align-items:center;justify-content:flex-end}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.text-center{text-align:center}.text-sm{font-size:13px}.text-xs{font-size:12px}.text-muted{color:var(--text-muted)}.text-secondary{color:var(--text-secondary)}.text-primary-color{color:var(--primary)}.font-bold{font-weight:700}.font-semibold{font-weight:600}.w-full{width:100%}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.divider{border:none;border-top:1px solid var(--border);margin:20px 0}@media(max-width:768px){.sidebar{transform:translate(-100%)}.main-content{margin-left:0}.login-left{display:none}.login-right{width:100%}.form-row,.form-row-3{grid-template-columns:1fr}}.super-admin-header{background:linear-gradient(135deg,#0f172a,#1e1b4b);padding:16px 28px;display:flex;align-items:center;justify-content:space-between;color:#fff}.org-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:20px;transition:var(--transition)}.org-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.org-badge{display:inline-flex;align-items:center;gap:4px;background:#6366f11a;color:var(--primary);padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;font-family:monospace}.filter-dropdown{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;padding:8px 38px 8px 14px;border:1px solid #e2e8f0;border-radius:12px;font-size:13.5px;font-weight:500;color:#334155;outline:none;height:40px;line-height:22px;transition:border-color .15s ease,box-shadow .15s ease;cursor:pointer;box-shadow:0 1px 2px #00000005}.filter-dropdown:hover{border-color:#cbd5e1}.filter-dropdown:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.filter-search-box{position:relative;display:flex;align-items:center}.filter-search-input{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px 14px 8px 38px;font-size:13.5px;font-weight:500;color:#334155;height:40px;outline:none;transition:border-color .15s ease,box-shadow .15s ease;box-shadow:0 1px 2px #00000005}.filter-search-input::placeholder{color:#94a3b8;font-weight:400}.filter-search-input:hover{border-color:#cbd5e1}.filter-search-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.dashboard-page{width:100%;max-width:100%}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:14px}.dashboard-stat-card{min-width:0;height:86px;min-height:86px;padding:12px 14px!important;display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0f172a14,0 1px 2px #0f172a0a;transition:all .2s ease}.dashboard-stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0f172a1a}.dashboard-stat-card:after{content:"";position:absolute;width:76px;height:76px;right:-28px;top:-30px;border-radius:50%;opacity:.65;pointer-events:none}.dashboard-stat-card .stat-icon{width:42px!important;height:42px!important;min-width:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.dashboard-stat-card .stat-icon svg{width:21px;height:21px;color:inherit!important;fill:currentColor!important;stroke:none!important;filter:none!important}.dashboard-stat-card .stat-info{min-width:0;position:relative;z-index:2}.dashboard-stat-card .stat-value{font-size:25px!important;line-height:1;font-weight:800;margin-bottom:5px}.dashboard-stat-card .stat-label{font-size:11px!important;line-height:1.2;color:#475569;font-weight:500;white-space:nowrap}.dashboard-stat-card.blue{border-left:4px solid #3b82f6}.dashboard-stat-card.blue .stat-icon{background:#dbeafe!important;color:#2563eb!important}.dashboard-stat-card.blue .stat-value{color:#2563eb!important}.dashboard-stat-card.blue:after{background:#dbeafe}.dashboard-stat-card.green{border-left:4px solid #10b981}.dashboard-stat-card.green .stat-icon{background:#d1fae5!important;color:#059669!important}.dashboard-stat-card.green .stat-value{color:#059669!important}.dashboard-stat-card.green:after{background:#d1fae5}.dashboard-stat-card.yellow{border-left:4px solid #f59e0b}.dashboard-stat-card.yellow .stat-icon{background:#fef3c7!important;color:#d97706!important}.dashboard-stat-card.yellow .stat-value{color:#d97706!important}.dashboard-stat-card.yellow:after{background:#fef3c7}.dashboard-stat-card.purple{border-left:4px solid #8b5cf6}.dashboard-stat-card.purple .stat-icon{background:#ede9fe!important;color:#7c3aed!important}.dashboard-stat-card.purple .stat-value{color:#7c3aed!important}.dashboard-stat-card.purple:after{background:#ede9fe}.dashboard-stat-card.orange{border-left:4px solid #f97316}.dashboard-stat-card.orange .stat-icon{background:#ffedd5!important;color:#ea580c!important}.dashboard-stat-card.orange .stat-value{color:#ea580c!important}.dashboard-stat-card.orange:after{background:#ffedd5}.dashboard-stat-card.red{border-left:4px solid #ef4444}.dashboard-stat-card.red .stat-icon{background:#fee2e2!important;color:#dc2626!important}.dashboard-stat-card.red .stat-value{color:#dc2626!important}.dashboard-stat-card.red:after{background:#fee2e2}.dashboard-stat-card.teal{border-left:4px solid #14b8a6}.dashboard-stat-card.teal .stat-icon{background:#ccfbf1!important;color:#0f766e!important}.dashboard-stat-card.teal .stat-value{color:#0f766e!important}.dashboard-stat-card.teal:after{background:#ccfbf1}.dashboard-stat-card.indigo{border-left:4px solid #6366f1}.dashboard-stat-card.indigo .stat-icon{background:#e0e7ff!important;color:#4f46e5!important}.dashboard-stat-card.indigo .stat-value{color:#4f46e5!important}.dashboard-stat-card.indigo:after{background:#e0e7ff}.main-content .dashboard-page .dashboard-stat-card .stat-icon{filter:none!important}.main-content .dashboard-page .dashboard-stat-card .stat-icon svg{filter:none!important;color:inherit!important;fill:currentColor!important;stroke:none!important}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,.95fr);gap:14px;align-items:start;margin-top:0}.dashboard-attendance-card{min-width:0;overflow:hidden;margin-top:0!important;background:#fff}.dashboard-attendance-header{min-height:58px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#4f46e5,#6366f1);border-bottom:none;color:#fff}.dashboard-attendance-title{display:flex;align-items:center;gap:10px;min-width:0}.dashboard-title-icon{width:34px;height:34px;min-width:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#ffffff2e!important;color:#fff!important;font-size:18px;filter:none!important}.main-content .dashboard-page .dashboard-title-icon{color:#fff!important;filter:none!important}.dashboard-title-icon svg{width:18px;height:18px;color:#fff!important;fill:currentColor!important;stroke:none!important;filter:none!important}.dashboard-attendance-title h2{font-size:15px;line-height:1.2;font-weight:700;color:#fff}.dashboard-attendance-title p{margin-top:2px;font-size:10px;color:#ffffffbf}.dashboard-attendance-date{height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;background:#fff;border:none;border-radius:7px;color:#475569;flex-shrink:0}.dashboard-attendance-date svg{width:15px;height:15px;color:#4f46e5!important;fill:currentColor!important;stroke:none!important;filter:none!important}.dashboard-attendance-date input{border:none;outline:none;background:transparent;color:#334155;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}.dashboard-attendance-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 14px;background:#fff;border-bottom:1px solid var(--border)}.dashboard-tabs{display:flex;align-items:center;gap:2px;padding:3px;background:#f1f5f9;border-radius:7px;margin-bottom:0!important}.dashboard-tabs button{border:none;background:transparent;padding:6px 16px;border-radius:5px;color:#64748b;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s ease}.dashboard-tabs button:hover{color:#4f46e5}.dashboard-tabs button.active{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #00000014}.dashboard-filter-select{height:34px;min-width:135px;padding:0 30px 0 10px;border:1px solid #dbe2ea;border-radius:7px;background-color:#fff;color:#334155;font-family:inherit;font-size:11px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 7px center;background-repeat:no-repeat;background-size:16px}.dashboard-filter-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f114}.dashboard-search{height:34px;min-width:180px;max-width:260px;flex:1;display:flex;align-items:center;gap:6px;padding:0 10px;margin-left:auto;border:1px solid #dbe2ea;border-radius:7px;background:#fff}.dashboard-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f114}.dashboard-search svg{width:15px;height:15px;color:#94a3b8!important;fill:currentColor!important;stroke:none!important;filter:none!important;flex-shrink:0}.dashboard-search input{width:100%;border:none;outline:none;background:transparent;color:#334155;font-family:inherit;font-size:11px}.dashboard-search input::placeholder{color:#94a3b8}.dashboard-attendance-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px 14px;background:#f8fafc;border-bottom:1px solid var(--border)}.dashboard-summary-item{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;position:relative;overflow:hidden}.dashboard-summary-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px}.dashboard-summary-item.total:before{background:#6366f1}.dashboard-summary-item.present:before{background:#10b981}.dashboard-summary-item.absent:before{background:#ef4444}.dashboard-summary-item.late:before{background:#f59e0b}.summary-number{font-size:19px;line-height:1;font-weight:800}.summary-label{margin-top:4px;font-size:9px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.dashboard-summary-item.total .summary-number{color:#6366f1}.dashboard-summary-item.present .summary-number{color:#10b981}.dashboard-summary-item.absent .summary-number{color:#ef4444}.dashboard-summary-item.late .summary-number{color:#f59e0b}.dashboard-table-container{max-height:360px;overflow-y:auto;overflow-x:auto}.dashboard-table-container::-webkit-scrollbar{width:6px;height:6px}.dashboard-table-container::-webkit-scrollbar-track{background:#f8fafc}.dashboard-table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.dashboard-table-container table{min-width:650px}.dashboard-table-container thead th{position:sticky;top:0;z-index:5;background:#f8fafc;padding:9px 12px;font-size:9px;height:32px}.dashboard-table-container tbody td{padding:7px 12px;font-size:11px;height:34px}.dashboard-table-container tbody tr:hover td{background:#f8faff}.dashboard-person{display:flex;align-items:center;gap:8px;min-width:150px}.dashboard-person-avatar{width:28px;height:28px;min-width:28px;border-radius:8px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;filter:none!important}.dashboard-person-name{font-size:11px;font-weight:600;color:#0f172a}.dashboard-person-id{margin-top:1px;font-size:9px;color:#94a3b8}.dashboard-status{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:700;text-transform:capitalize}.dashboard-status.present{color:#047857;background:#d1fae5}.dashboard-status.absent{color:#b91c1c;background:#fee2e2}.dashboard-status.late{color:#b45309;background:#fef3c7}.dashboard-status.other{color:#1d4ed8;background:#dbeafe}.dashboard-right-column{min-width:0;display:flex;flex-direction:column;gap:14px}.dashboard-side-card{overflow:hidden;background:#fff;border-radius:12px}.dashboard-side-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.dashboard-side-header h3{font-size:13px;font-weight:700;color:#0f172a}.dashboard-side-header p{margin-top:2px;font-size:9px;color:#94a3b8}.dashboard-side-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#ecfdf5!important;color:#059669!important;font-size:16px;filter:none!important}.main-content .dashboard-page .dashboard-side-icon{filter:none!important}.dashboard-side-icon svg{width:16px;height:16px;color:inherit!important;fill:currentColor!important;stroke:none!important;filter:none!important}.dashboard-side-icon.purple{background:#f5f3ff!important;color:#7c3aed!important}.dashboard-chart{height:190px;padding:2px 10px 0}.dashboard-chart svg{filter:none!important}.dashboard-chart-legend{display:flex;flex-direction:column;gap:7px;padding:2px 14px 13px}.dashboard-legend-item{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;font-size:10px;color:#64748b}.dashboard-legend-item strong{font-size:10px;color:#0f172a}.dashboard-legend-dot{width:7px;height:7px;border-radius:50%}.dashboard-no-chart{min-height:190px;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;font-size:11px;color:#94a3b8}.dashboard-notices-card{flex:1}.dashboard-notices{padding:6px 10px;max-height:285px;overflow-y:auto}.dashboard-notices::-webkit-scrollbar{width:5px}.dashboard-notices::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.dashboard-notice{display:flex;gap:9px;padding:9px 5px;border-bottom:1px solid #f1f5f9}.dashboard-notice:last-child{border-bottom:none}.dashboard-notice-icon{width:28px;height:28px;min-width:28px;border-radius:7px;background:#eef2ff!important;color:#6366f1!important;display:flex;align-items:center;justify-content:center;font-size:14px;filter:none!important}.main-content .dashboard-page .dashboard-notice-icon{filter:none!important}.dashboard-notice-icon svg{width:14px;height:14px;color:#6366f1!important;fill:currentColor!important;stroke:none!important;filter:none!important}.dashboard-notice-content{min-width:0;flex:1}.dashboard-notice-title{font-size:10px;line-height:1.4;font-weight:700;color:#0f172a}.dashboard-notice-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:2px;font-size:9px;line-height:1.45;color:#64748b}.dashboard-notice-meta{margin-top:5px}.dashboard-audience{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;font-size:8px;font-weight:700;text-transform:capitalize}.dashboard-audience.purple{background:#ede9fe;color:#7c3aed}.dashboard-audience.blue{background:#dbeafe;color:#1d4ed8}.dashboard-audience.green{background:#dcfce7;color:#15803d}.dashboard-empty-state{padding:35px 20px;text-align:center;font-size:12px;color:#94a3b8}.dashboard-no-notices{padding:25px 10px;text-align:center;color:#94a3b8;font-size:11px}@media(max-width:1400px){.dashboard-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:minmax(0,2.5fr) minmax(280px,1fr)}}@media(max-width:1150px){.dashboard-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-right-column{display:grid;grid-template-columns:1fr 1fr}}@media(max-width:900px){.dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-attendance-header{align-items:flex-start;flex-direction:column}.dashboard-attendance-date,.dashboard-attendance-date input{width:100%}.dashboard-search{min-width:100%;max-width:none;margin-left:0}.dashboard-right-column{grid-template-columns:1fr}}@media(max-width:768px){.dashboard-stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px}.dashboard-stat-card{height:78px;min-height:78px;padding:10px!important}.dashboard-stat-card .stat-icon{width:36px!important;height:36px!important;min-width:36px}.dashboard-stat-card .stat-value{font-size:20px!important}.dashboard-stat-card .stat-label{font-size:10px!important}.dashboard-attendance-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.dashboard-stats-grid{grid-template-columns:1fr}.dashboard-stat-card{height:72px;min-height:72px}.dashboard-tabs{width:100%}.dashboard-tabs button{flex:1}.dashboard-filter-select,.dashboard-search{width:100%}}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:62px;gap:4px}.calendar-day{aspect-ratio:auto;height:62px;min-height:62px;border-radius:8px;font-size:13px}.calendar-day-header{padding:4px 0;font-size:11px}.calendar-day.today,.calendar-day.holiday{height:62px;min-height:62px}.calendar-grid+div{margin-top:10px!important}.sidebar-top{position:relative;display:flex;align-items:center;min-height:76px;border-bottom:1px solid rgba(255,255,255,.06)}.sidebar-top .sidebar-logo{flex:1;min-width:0;border-bottom:none}.sidebar-toggle{position:absolute;right:10px;top:18px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:#ffffff0f;color:#94a3b8;cursor:pointer;transition:all .2s ease;z-index:5}.sidebar-toggle:hover{background:#ffffff1f;color:#fff}.sidebar-toggle svg{font-size:22px}.sidebar.sidebar-collapsed{width:72px}.sidebar.sidebar-collapsed{width:78px;background:#0b4f71}.sidebar.sidebar-collapsed .sidebar-top{height:76px;min-height:76px;width:78px;display:flex;align-items:center;justify-content:center;background:#0b4f71;border-bottom:1px solid rgba(255,255,255,.15)}.sidebar.sidebar-collapsed .sidebar-logo{display:none}.sidebar.sidebar-collapsed .sidebar-toggle{position:static;width:78px;height:76px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#fff}.sidebar.sidebar-collapsed .sidebar-toggle:hover{background:#ffffff14}.sidebar.sidebar-collapsed .sidebar-toggle svg{font-size:26px;color:#fff!important;fill:#fff!important;stroke:#fff!important;filter:none!important}.sidebar.sidebar-collapsed .sidebar-nav{width:78px;padding:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.sidebar.sidebar-collapsed .sidebar-nav::-webkit-scrollbar{display:none}.sidebar.sidebar-collapsed .sidebar-section-title{display:none}.sidebar.sidebar-collapsed .sidebar-link{width:78px;height:60px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border-radius:0;background:transparent;color:#fff;gap:0}.sidebar.sidebar-collapsed .sidebar-link-icon{width:100%;display:flex;align-items:center;justify-content:center;margin:0;font-size:24px;color:#fff!important;opacity:1}.sidebar.sidebar-collapsed .sidebar-link-icon svg{color:#fff!important;fill:#fff!important;stroke:#fff!important;filter:none!important;font-size:24px}.sidebar.sidebar-collapsed .sidebar-link-label{display:none}.sidebar.sidebar-collapsed .sidebar-link.active{background:#ffffff2e;color:#fff}.sidebar.sidebar-collapsed .sidebar-link.active:before{display:none}.sidebar.sidebar-collapsed .sidebar-link:hover{background:#ffffff1a;color:#fff}.sidebar.sidebar-collapsed .sidebar-link:hover:after{content:attr(title);position:absolute;left:88px;top:50%;transform:translateY(-50%);background:#111827;color:#fff;padding:7px 10px;border-radius:5px;font-size:12px;font-weight:500;white-space:nowrap;z-index:9999;pointer-events:none;box-shadow:0 4px 12px #0003}.sidebar.sidebar-collapsed .sidebar-footer{width:78px;padding:10px 0;background:#0b4f71;border-top:1px solid rgba(255,255,255,.15)}.sidebar.sidebar-collapsed .sidebar-user{width:78px;padding:8px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:transparent}.sidebar.sidebar-collapsed .sidebar-avatar{width:38px;height:38px;color:#fff}.sidebar.sidebar-collapsed .sidebar-user-info{display:none}.sidebar.sidebar-collapsed .sidebar-user button{margin:0!important;color:#fff!important}.sidebar.sidebar-collapsed .sidebar-user button svg{color:#fff!important;fill:#fff!important;stroke:#fff!important;filter:none!important}.layout:has(.sidebar.sidebar-collapsed) .main-content{margin-left:78px}.sidebar.sidebar-collapsed svg{filter:none!important}
