:root,[data-theme=dark]{--bg-primary: #0a0f1d;--bg-header: #0d1527;--bg-card: #131b2e;--bg-table-header: #0f172a;--bg-hover: #1c273e;--border: #1e293b;--text-main: #f8fafc;--text-muted: #94a3b8;--accent: #f59e0b;--accent-blue: #38bdf8;--accent-red: #dc2626;--status-present-bg: #15803d;--status-present-fg: #ffffff;--status-half-bg: #a16207;--status-half-fg: #ffffff;--status-absent-bg: #b91c1c;--status-absent-fg: #ffffff;--status-off-bg: #334155;--status-off-fg: #cbd5e1}[data-theme=light]{--bg-primary: #f8fafc;--bg-header: #0d1527;--bg-card: #ffffff;--bg-table-header: #f1f5f9;--bg-hover: #f1f5f9;--border: #e2e8f0;--text-main: #0f172a;--text-muted: #64748b;--accent: #d97706;--accent-blue: #0284c7;--accent-red: #dc2626;--status-present-bg: #16a34a;--status-present-fg: #ffffff;--status-half-bg: #ca8a04;--status-half-fg: #ffffff;--status-absent-bg: #dc2626;--status-absent-fg: #ffffff;--status-off-bg: #e2e8f0;--status-off-fg: #475569}*{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-primary);color:var(--text-main);min-height:100vh;transition:background-color .2s,color .2s}#root{min-height:100vh;display:flex;flex-direction:column}.app-header{background-color:var(--bg-header);height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:2px solid rgba(245,158,11,.4);box-shadow:0 4px 12px #0000004d}.app-brand{display:flex;align-items:center;gap:10px;margin-right:24px}.brand-logo-icon{width:32px;height:32px;background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;font-weight:900;font-size:17px;border-radius:6px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(245,158,11,.6);box-shadow:0 2px 8px #dc262680}.brand-text-block{display:flex;align-items:center;gap:6px}.brand-title-magadh{font-size:15px;font-weight:900;color:#fff;letter-spacing:.8px}.brand-badge-tmt{background:#dc2626;color:#fff;font-size:11px;font-weight:900;padding:1px 6px;border-radius:4px;letter-spacing:.5px;border:1px solid rgba(245,158,11,.5)}.header-nav{display:flex;gap:24px;height:100%}.nav-link{background:none;border:none;color:#cbd5e1;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;padding:0 4px;cursor:pointer;height:100%;display:flex;align-items:center;border-bottom:3px solid transparent;text-decoration:none!important;transition:all .2s}.nav-link:hover{color:#fff}.nav-link.active{color:#f59e0b;border-bottom-color:#f59e0b}.user-controls{display:flex;align-items:center;gap:16px;font-size:13px;color:#f8fafc;font-weight:600}.theme-toggle-btn{background:#ffffff14;border:1px solid rgba(255,255,255,.2);color:#cbd5e1;font-size:11px;font-weight:700;border-radius:6px;padding:5px 10px;cursor:pointer;letter-spacing:.5px;transition:all .2s}.theme-toggle-btn:hover{background:#ffffff2e;color:#fff;border-color:#f59e0b99}.user-profile{display:flex;align-items:center;gap:8px;background:#ffffff0d;padding:4px 12px 4px 6px;border-radius:20px;border:1px solid rgba(255,255,255,.1);transition:background .2s}.user-profile:hover{background:#ffffff1a}.header-avatar{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#38bdf8,#0284c7);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}.user-display-name{color:#f1f5f9;font-size:13px;font-weight:600}.online-dot{width:8px;height:8px;border-radius:50%;background-color:#22c55e;box-shadow:0 0 8px #22c55e}.btn-logout{background:#dc262626;border:1px solid rgba(220,38,38,.4);color:#f87171;font-size:11px;font-weight:700;border-radius:6px;padding:6px 12px;cursor:pointer;display:flex;align-items:center;gap:6px;letter-spacing:.5px;transition:all .2s}.btn-logout:hover{background:#dc26264d;color:#fff}.main-content{padding:24px 32px;max-width:1440px;margin:0 auto;width:100%;flex:1}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-title{font-size:20px;font-weight:600;color:var(--text-main)}.month-navigator{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;color:var(--text-main)}.nav-btn{background:var(--bg-card);border:1px solid var(--border);color:var(--text-main);width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px}.nav-btn:hover{background:var(--bg-hover)}.btn-today{background:none;border:none;color:var(--accent);font-size:12px;font-weight:700;text-transform:uppercase;cursor:pointer;margin-right:8px;letter-spacing:.5px}.btn-today:hover{text-decoration:underline}.metrics-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-bottom:24px}@media (max-width: 1024px){.metrics-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width: 640px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}.metric-card{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:16px 12px;text-align:center;transition:transform .2s,border-color .2s}.metric-card:hover{border-color:#f59e0b66;transform:translateY(-2px)}.metric-val{font-size:22px;font-weight:700;color:var(--text-main);margin-bottom:4px}.metric-label{font-size:11px;color:var(--text-muted)}.table-container{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;overflow:hidden}.data-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.data-table th{background:var(--bg-table-header);color:var(--text-muted);font-weight:600;padding:12px 18px;border-bottom:1px solid var(--border);font-size:12px;text-transform:uppercase;letter-spacing:.5px}.data-table td{padding:12px 18px;border-bottom:1px solid var(--border);color:var(--text-main);font-size:13px}.data-table tr:hover{background:var(--bg-hover)}.data-table tr:last-child td{border-bottom:none}.status-pill{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:11px;font-weight:700}.status-P{background:var(--status-present-bg);color:var(--status-present-fg)}.status-P2{background:var(--status-half-bg);color:var(--status-half-fg);border-radius:12px;padding:2px 8px;width:auto;height:auto}.status-A{background:var(--status-absent-bg);color:var(--status-absent-fg)}.status-off{background:var(--status-off-bg);color:var(--status-off-fg)}.badge-tag{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500;background:var(--status-off-bg);color:var(--status-off-fg)}.link-request{color:var(--accent);font-size:11px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:.5px;cursor:pointer}.link-request:hover{text-decoration:underline}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:24px;max-width:420px;margin:0 auto;width:100%}.input-group{margin-bottom:20px}.input-label{display:block;font-size:12px;font-weight:700;color:var(--text-muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.input-field{width:100%;padding:14px 16px;background:var(--bg-primary);border:1px solid var(--border);border-radius:10px;color:var(--text-main);font-size:14px;outline:none;transition:border-color .2s}.input-field:focus{border-color:var(--accent)}.btn{width:100%;padding:14px;border:none;border-radius:10px;font-size:14px;font-weight:700;letter-spacing:.5px;cursor:pointer;transition:opacity .2s,background .2s}.btn-primary{background:var(--accent);color:#0b172a}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.login-split-container{min-height:100vh;width:100%;display:flex;background-color:#0b111e}.login-hero-side{flex:1.2;position:relative;background-image:url(/magadh_tmt_hero.jpg);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;padding:60px}@media (max-width: 900px){.login-hero-side{display:none}}.login-hero-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg,#0b111e66,#0b111ef2)}.login-hero-content{position:relative;z-index:2;color:#fff;max-width:620px}.brand-badge-wrapper{display:flex;align-items:center;gap:12px;margin-bottom:20px}.brand-tmt-badge{background:#dc2626;color:#fff;font-size:13px;font-weight:900;padding:4px 12px;border-radius:4px;letter-spacing:1px;border:1px solid rgba(245,158,11,.6)}.brand-tagline{color:#f59e0b;font-size:12px;font-weight:700;letter-spacing:1px}.hero-heading{font-size:38px;font-weight:800;line-height:1.25;margin-bottom:16px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.5)}.hero-subtext{font-size:15px;color:#cbd5e1;line-height:1.6;margin-bottom:32px}.hero-features-list{display:flex;flex-direction:column;gap:12px;font-size:14px;color:#e2e8f0}.feature-item{display:flex;align-items:center;gap:12px;font-weight:500}.feature-bullet{width:8px;height:8px;border-radius:50%;background:#f59e0b;box-shadow:0 0 8px #f59e0bcc}.login-form-side{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:#0d1424}.login-form-card{width:100%;max-width:440px;background:#131b2e;border:1px solid #1e293b;border-radius:16px;padding:36px 32px;box-shadow:0 16px 40px #00000080}.brand-mini-header{display:flex;align-items:center;gap:14px;margin-bottom:32px}.mini-logo{width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;font-size:22px;font-weight:900;display:flex;align-items:center;justify-content:center;border:1px solid rgba(245,158,11,.6);box-shadow:0 4px 12px #dc262666}.form-brand-title{font-size:16px;font-weight:800;color:#fff;letter-spacing:.5px}.form-brand-subtitle{font-size:12px;color:#94a3b8}.country-code-pill{padding:14px;background:#0f172acc;border:1px solid var(--border);border-radius:10px;color:#94a3b8;font-weight:600;font-size:14px}.otp-info-bar{margin-bottom:16px;font-size:13px;color:#94a3b8;display:flex;justify-content:space-between;align-items:center}.btn-link{background:none;border:none;color:#38bdf8;cursor:pointer;font-size:13px;text-decoration:underline}.dev-otp-box{background:#38bdf826;border:1px dashed #38bdf8;color:#38bdf8;padding:10px;border-radius:8px;font-size:13px;margin-bottom:16px}.otp-input{text-align:center;letter-spacing:10px;font-size:22px;font-weight:700}.error-alert{background:#ef444433;border:1px solid rgba(239,68,68,.4);color:#f87171;padding:12px;border-radius:10px;font-size:13px;margin-bottom:20px}.login-footer{margin-top:28px;text-align:center;font-size:11px;color:#64748b}.mobile-bottom-nav{display:none}@media (max-width: 768px){.desktop-only-nav,.desktop-only-name{display:none!important}.app-header{padding:0 16px;height:52px}.main-content{padding:16px 12px 76px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.month-navigator{width:100%;justify-content:space-between}.metrics-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px}.metric-card{padding:12px 8px}.metric-val{font-size:18px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table th,.data-table td{padding:10px 12px;font-size:12px;white-space:nowrap}.mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:56px;background:var(--bg-header);border-top:2px solid rgba(245,158,11,.4);box-shadow:0 -4px 14px #0006;z-index:999}.mobile-nav-item{flex:1;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#94a3b8;font-size:11px;font-weight:700;letter-spacing:.5px;border-top:3px solid transparent;transition:all .2s}.mobile-nav-item.active{color:#f59e0b;border-top-color:#f59e0b;background:#f59e0b14}}
