@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17233b;--muted:#718096;--navy:#172b4d;--navy2:#203b65;--teal:#18a889;--teal-dark:#087f68;--canvas:#f4f7fb;--line:#e5eaf2;--white:#fff;--shadow:0 8px 28px rgba(22,39,70,.055);--radius:16px}
*{box-sizing:border-box}html{min-height:100%;background:var(--canvas)}body{margin:0;font-family:'DM Sans',Arial,sans-serif;background:var(--canvas);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}a{color:var(--teal-dark);text-decoration:none}a:hover{color:#056b58}
.top{height:76px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,3vw,42px);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.45px;color:var(--navy)}.brand:before{content:'C';display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#20bea0,#087c70);font-size:23px;font-weight:800;box-shadow:0 5px 14px #18a88933}.brand .muted{font-family:'DM Sans',sans-serif;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700}.user{display:flex;align-items:center;gap:10px;color:#52627a;font-size:13px}.user:before{content:' ';display:block;width:34px;height:34px;border-radius:50%;background:#e4f7f2;border:1px solid #c7eee5;box-shadow:inset 0 0 0 8px #e4f7f2}.user a{font-weight:700;color:#ba4553!important;padding:8px 11px;border:1px solid #f0dfe3;border-radius:9px}.layout{display:flex;min-height:calc(100vh - 76px)}.side{width:252px;flex:0 0 252px;background:#fff;border-right:1px solid var(--line);padding:25px 15px 20px;position:sticky;top:76px;height:calc(100vh - 76px);overflow-y:auto}.side:before{content:'WORKSPACE';display:block;padding:0 13px 12px;color:#9aa6b8;font-size:10px;font-weight:800;letter-spacing:1.6px}.side a{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 13px;color:#5c6a80;text-decoration:none;border-radius:10px;margin:3px 0;font-size:13px;font-weight:600;transition:background .18s,color .18s,transform .18s}.side a:before{width:18px;display:inline-grid;place-items:center;font-size:16px;opacity:.85}.side a[href*="dashboard"]:before{content:'▦'}.side a[href*="employees"]:before{content:'♙'}.side a[href*="attendance"]:before{content:'◷'}.side a[href*="holidays"]:before{content:'▣'}.side a[href*="leaves"]:before{content:'▤'}.side a[href*="advances"]:before{content:'₹'}.side a[href*="loans"]:before{content:'↗'}.side a[href*="payroll"]:before{content:'▧'}.side a[href*="documents"]:before{content:'▱'}.side a[href*="reports"]:before{content:'▥'}.side a[href*="users"]:before{content:'♧'}.side a[href*="settings"]:before{content:'⚙'}.side a:hover{background:#f2f8fa;color:var(--navy);transform:translateX(2px)}.side a.active{background:linear-gradient(100deg,#e3f8f2,#f0fbf8);color:#087f68;font-weight:800;box-shadow:inset 3px 0 #18a889}.main{flex:1;padding:clamp(20px,3vw,38px);min-width:0;max-width:1800px;margin:0 auto;width:100%}
h1,h2,h3,h4{font-family:Manrope,'DM Sans',sans-serif;color:var(--navy);letter-spacing:-.5px}h2{font-size:clamp(23px,2.1vw,30px);margin:0 0 7px;font-weight:800}h3{font-size:16px;margin:0 0 15px;font-weight:800}.muted{color:var(--muted);font-size:12px;line-height:1.55}.toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap}.toolbar>div:first-child .muted{font-size:13px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);min-width:0}.grid .card{position:relative;overflow:hidden;min-height:125px}.grid .card:after{content:'';position:absolute;right:-22px;top:-25px;width:82px;height:82px;border-radius:26px;background:#eaf8f4;transform:rotate(25deg)}.grid .card:nth-child(2):after{background:#edf2ff}.grid .card:nth-child(3):after{background:#fff4df}.grid .card:nth-child(4):after{background:#f5eefe}.metric{position:relative;z-index:1;font-family:Manrope,sans-serif;font-size:clamp(23px,2.2vw,31px);font-weight:800;letter-spacing:-1px;margin-top:11px;color:var(--navy);overflow-wrap:anywhere}.section{margin-top:22px}.section.card{padding:22px}.section h3{display:flex;align-items:center;gap:9px}.section h3:before{content:'';width:4px;height:18px;border-radius:4px;background:var(--teal)}
button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--teal);border:1px solid var(--teal);color:#fff;padding:10px 15px;border-radius:9px;text-decoration:none;cursor:pointer;font:700 12px 'DM Sans',sans-serif;transition:transform .15s,box-shadow .15s,background .15s;white-space:nowrap}button:hover,.btn:hover{background:var(--teal-dark);color:#fff;transform:translateY(-1px);box-shadow:0 5px 13px #087f6822}.btn.dark{background:var(--navy);border-color:var(--navy);color:#fff}.btn.red{background:#c9495a;border-color:#c9495a;color:#fff}.btn.gray{background:#f4f6fa;border-color:#e2e7ef;color:#42516a}.btn.gray:hover{background:#e9eef5;color:#172b4d}.tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px}.table{width:100%;border-collapse:separate;border-spacing:0;min-width:700px}.table th,.table td{padding:14px 16px;border-bottom:1px solid #edf0f5;text-align:left;font-size:12px;vertical-align:middle}.table th{background:#f8fafc;color:#758198;font-size:10px;text-transform:uppercase;letter-spacing:.9px;font-weight:800;white-space:nowrap}.table tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:#fbfdfd}.table td b{color:#253752}.formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.field label,form>label{display:block;font-size:12px;font-weight:700;margin-bottom:7px;color:#43516a}.field input,.field select,.field textarea,input,select,textarea{font:13px 'DM Sans',sans-serif}.field input,.field select,.field textarea,.main input:not([type=checkbox]),.main select,.main textarea{max-width:100%;padding:11px 12px;border:1px solid #dce3ec;border-radius:9px;background:#fff;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus,.main input:focus,.main select:focus,.main textarea:focus{border-color:#55bea7;box-shadow:0 0 0 3px #18a88918}.field textarea{min-height:90px}.span3{grid-column:1/-1}.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:99px;background:#eef2f7;color:#58667b;font-size:10px;font-weight:800;white-space:nowrap}.badge.ok{background:#def7ed;color:#087f5b}.badge.warn{background:#fff3d4;color:#9a6500}.badge.bad{background:#ffe7e9;color:#b42336}
.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 15%,#24466e 0,transparent 35%),radial-gradient(ellipse at 90% 85%,#087f68 0,transparent 34%),linear-gradient(135deg,#101e35,#1b3152 58%,#11223b)}.loginbox{width:min(100%,430px);background:#fff;border:1px solid #ffffff60;border-radius:22px;padding:clamp(26px,5vw,42px);box-shadow:0 30px 90px #07122570}.loginbox:before{content:'CENTURION  /  HRMS';display:block;color:#0d8b73;font-size:10px;letter-spacing:1.6px;font-weight:800;margin-bottom:25px}.loginbox h1{font-family:Manrope,sans-serif;font-size:29px;line-height:1.2;color:var(--navy);margin:0 0 8px;letter-spacing:-1px}.loginbox .muted{font-size:13px}.loginbox form{margin-top:26px}.loginbox label{display:block;margin:16px 0 7px;font-size:12px;font-weight:700;color:#43516a}.loginbox input{display:block;width:100%;padding:13px 14px;margin:0;border:1px solid #dbe2ec;border-radius:10px;background:#fbfcfe;font-size:13px}.loginbox button{width:100%;margin-top:20px;padding:13px}.loginbox .small{font-size:11px;line-height:1.6}.loginbox .small:first-of-type{margin-top:22px}.loginbox .badge{margin:10px 0}.small{font-size:12px}.section p{line-height:1.65}.table form{margin:0}
@media(max-width:1150px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.side{width:220px;flex-basis:220px}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.top{height:66px;padding:0 15px}.brand{font-size:15px;gap:9px}.brand:before{width:35px;height:35px;border-radius:11px}.user{gap:6px;font-size:11px}.user:before{display:none}.user a{padding:7px}.layout{display:block;min-height:calc(100vh - 66px)}.side{position:sticky;top:66px;z-index:15;width:100%;height:auto;display:flex;gap:5px;padding:8px 12px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap}.side:before{display:none}.side a{flex:0 0 auto;min-height:37px;padding:8px 10px;margin:0;font-size:11px}.side a:before{display:none}.side a.active{box-shadow:inset 0 -3px var(--teal)}.main{padding:20px 14px}.toolbar{align-items:flex-start;margin-bottom:18px}.toolbar>div:last-child{max-width:100%}.grid{gap:11px}.grid .card{padding:16px;min-height:110px}.metric{font-size:22px}.card,.section.card{padding:17px;border-radius:13px}.formgrid{grid-template-columns:1fr}.span3{grid-column:auto}.table th,.table td{padding:12px}.loginbox{padding:28px 23px}}
@media(max-width:390px){.grid{grid-template-columns:1fr}.brand .muted{display:none}.user{font-size:10px}.toolbar .btn,.toolbar button{font-size:11px;padding:9px 10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Professional dashboard workspace */
.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(22px,3vw,34px);margin-bottom:28px;border-radius:22px;color:#fff;background:radial-gradient(circle at 80% 0%,#2c5579 0,transparent 36%),linear-gradient(120deg,#142844,#1d3b5e 66%,#116e68);box-shadow:0 16px 38px #14284420;overflow:hidden;position:relative}.welcome-banner:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #ffffff18;border-radius:50%;right:15%;top:-125px;box-shadow:0 0 0 28px #ffffff06,0 0 0 58px #ffffff04}.welcome-copy,.welcome-date{position:relative;z-index:1}.welcome-copy .eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#7ce0cd;margin-bottom:12px}.welcome-copy h1{color:#fff;font-size:clamp(23px,2.6vw,34px);margin:0 0 9px;letter-spacing:-1.1px}.welcome-copy p{color:#d2deeb;margin:0;line-height:1.6;font-size:13px}.welcome-date{min-width:180px;padding:15px 17px;border:1px solid #ffffff25;background:#ffffff0d;border-radius:14px;backdrop-filter:blur(8px)}.date-label,.stat-caption{display:block;font-size:9px;letter-spacing:1.4px;font-weight:800;opacity:.72}.welcome-date strong{display:block;margin:7px 0 10px;font-size:14px}.live-dot{font-size:11px;color:#a9f0dc}.live-dot:before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#4ce0a7;box-shadow:0 0 0 4px #4ce0a71c}.dashboard-toolbar{margin-bottom:17px}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.dashboard-stats{gap:15px}.dashboard-stats .stat-card{display:block;text-decoration:none;color:inherit;min-height:164px;padding:19px 20px;transition:transform .18s,box-shadow .18s,border-color .18s}.dashboard-stats .stat-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px #172b4d12;border-color:#d3e4e6}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.stat-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;font-size:20px;font-weight:800}.stat-teal .stat-icon,.q-teal{background:#def7f0;color:#087f68}.stat-blue .stat-icon,.q-blue{background:#e5edff;color:#315bb5}.stat-amber .stat-icon,.q-amber{background:#fff1d4;color:#a36b00}.stat-purple .stat-icon,.q-purple{background:#f0e7ff;color:#7950b5}.q-coral{background:#ffe8e7;color:#b94b4d}.q-green{background:#e1f7e9;color:#238451}.q-slate{background:#e9eef4;color:#53647a}.stat-caption{color:#8995a7}.dashboard-stats .metric{margin-top:5px;font-size:clamp(24px,2vw,30px)}.dashboard-stats .money-metric{font-size:clamp(19px,1.8vw,26px);letter-spacing:-.7px}.stat-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:13px;padding-top:11px;border-top:1px solid #edf1f5;font-size:10px;color:#718096;font-weight:700}.stat-foot span{font-size:15px;color:#0b9478}.dashboard-section{margin-top:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading h2{font-size:19px;margin:0 0 5px}.section-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.section-count{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#7c899b;background:#f0f4f8;padding:8px 10px;border-radius:8px;white-space:nowrap}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-link{display:flex;align-items:center;gap:12px;min-width:0;padding:15px 14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 14px #172b4d04;color:var(--ink);transition:transform .16s,border-color .16s,box-shadow .16s}.quick-link:hover{transform:translateY(-2px);border-color:#b9e5da;box-shadow:0 9px 20px #172b4d0b;color:var(--ink)}.quick-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;font-size:20px}.quick-link>span:nth-child(2){display:block;min-width:0;flex:1}.quick-link b{display:block;font-size:12px;margin-bottom:4px;color:#233650}.quick-link small{display:block;color:#8390a3;font-size:10px;line-height:1.45}.quick-link i{font-style:normal;color:#9aa7b7;font-size:16px}.dashboard-attendance{padding:23px;margin-top:26px}.dashboard-attendance .section-heading{margin-bottom:17px}.text-link{font-size:12px;font-weight:800;white-space:nowrap}.code-chip{display:inline-block;background:#f0f4f8;color:#52627a;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:800}.empty-state{text-align:center!important;color:#8793a5!important;padding:30px!important}
@media(max-width:1100px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-date{min-width:160px}}
@media(max-width:760px){.welcome-banner{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:22px;border-radius:17px}.welcome-date{width:100%;min-width:0}.dashboard-toolbar{align-items:flex-start}.toolbar-actions{width:100%}.quick-grid{grid-template-columns:1fr}.dashboard-stats .stat-card{min-height:145px}.section-heading{align-items:flex-start}.section-count{display:none}.dashboard-attendance{padding:16px}.welcome-copy h1{font-size:25px}}

/* Professional employee workspace */
.employee-workspace{background:#f5f7fb}.employee-side{background:#fff}.employee-main{max-width:1580px}.employee-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:clamp(23px,3vw,36px);margin-bottom:22px;border-radius:22px;color:#fff;background:radial-gradient(circle at 82% 0%,#2c5579 0,transparent 36%),linear-gradient(120deg,#142844,#1d3b5e 66%,#116e68);box-shadow:0 16px 38px #14284418;position:relative;overflow:hidden}.employee-hero:after{content:'';position:absolute;width:240px;height:240px;border:1px solid #ffffff18;border-radius:50%;right:17%;top:-155px;box-shadow:0 0 0 30px #ffffff06,0 0 0 62px #ffffff04;pointer-events:none}.employee-hero-copy{position:relative;z-index:1}.employee-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#82e4d0;margin-bottom:13px}.employee-hero h1{color:#fff;font-size:clamp(24px,2.6vw,34px);margin:0 0 9px;letter-spacing:-1.1px}.employee-hero p{color:#d1deeb;line-height:1.65;margin:0;max-width:650px;font-size:13px}.employee-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.employee-tags span{padding:7px 10px;border:1px solid #ffffff27;border-radius:8px;background:#ffffff0d;color:#eaf4fa;font-size:10px;font-weight:700}.employee-date-card{position:relative;z-index:1;flex:0 0 210px;padding:17px;border:1px solid #ffffff25;background:#ffffff0d;border-radius:15px;backdrop-filter:blur(8px)}.employee-label{display:block;font-size:9px;letter-spacing:1.25px;font-weight:800;color:#8492a5}.employee-date-card .employee-label{color:#c4d5e4}.employee-date-card strong{display:block;margin:8px 0 12px;font-size:14px;color:#fff}.employee-live{font-size:10px;color:#b8f1e1}.employee-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4ce0a7;margin-right:6px;box-shadow:0 0 0 4px #4ce0a71c}.employee-punch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);margin-bottom:22px}.employee-punch-copy h2{font-size:17px;margin:5px 0}.employee-punch-copy p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}.employee-punch-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.employee-action-btn{padding:12px 17px}.employee-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.employee-stat-card{min-width:0;padding:19px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.employee-stat-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.employee-stat-icon{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border-radius:12px;font-size:18px;font-weight:800}.employee-stat-card.stat-teal .employee-stat-icon{background:#def7f0;color:#087f68}.employee-stat-card.stat-blue .employee-stat-icon{background:#e5edff;color:#315bb5}.employee-stat-card.stat-purple .employee-stat-icon{background:#f0e7ff;color:#7950b5}.employee-stat-card.stat-amber .employee-stat-icon{background:#fff1d4;color:#a36b00}.employee-stat-card>strong{display:block;font-family:Manrope,sans-serif;font-size:clamp(20px,1.8vw,27px);letter-spacing:-.7px;color:var(--navy);overflow-wrap:anywhere}.employee-stat-card>strong .unit{font-family:'DM Sans',sans-serif;font-size:11px;color:#8b97a8;letter-spacing:0;font-weight:600}.employee-stat-card>small{display:block;margin-top:9px;color:#7c899c;font-size:10px;line-height:1.5}.employee-stat-card .employee-id-value{font-size:22px}.employee-progress{height:5px;margin-top:12px;border-radius:9px;background:#edf1f7;overflow:hidden}.employee-progress span{display:block;height:100%;border-radius:9px;background:#315bb5}.purple-progress span{background:#9363d2}.employee-section{margin-top:28px}.employee-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.employee-section-heading h2{font-size:19px;margin:0 0 5px}.employee-section-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.employee-section-kicker{padding:8px 10px;border-radius:8px;background:#eef2f7;color:#7c899b;font-size:9px;letter-spacing:1px;font-weight:800;white-space:nowrap}.employee-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-quick-card{display:flex;align-items:center;gap:13px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 14px #172b4d04;color:var(--ink);transition:transform .16s,border-color .16s,box-shadow .16s}.employee-quick-card:hover{transform:translateY(-2px);border-color:#b9e5da;box-shadow:0 9px 20px #172b4d0b;color:var(--ink)}.employee-quick-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:13px;font-size:21px;font-weight:700}.employee-quick-card>span:nth-child(2){flex:1;min-width:0}.employee-quick-card b{display:block;font-size:12px;margin-bottom:5px;color:#233650}.employee-quick-card small{display:block;color:#8390a3;font-size:10px;line-height:1.5}.employee-quick-card>i{font-style:normal;color:#9aa7b7;font-size:17px}.employee-salary-card,.employee-table-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.employee-large-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#def7f0;color:#087f68;font-size:24px;font-weight:800}.employee-slip-form{display:flex;align-items:flex-end;gap:13px;flex-wrap:wrap}.employee-slip-form>div{display:flex;flex-direction:column;gap:7px;min-width:220px}.employee-slip-form label{font-size:11px;font-weight:800;color:#53627a}.employee-slip-form input{min-width:220px}.employee-note{font-size:10px;color:#8793a5;margin:13px 0 0;line-height:1.5}.employee-table{min-width:560px}.employee-table th{background:#f8fafc}.employee-footer{padding:26px 0 8px;color:#98a3b3;font-size:10px;text-align:center}
@media(max-width:1150px){.employee-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-date-card{flex-basis:185px}}
@media(max-width:760px){.employee-hero{align-items:flex-start;flex-direction:column;gap:18px;border-radius:17px}.employee-date-card{width:100%;flex:0 0 auto}.employee-punch-row{align-items:flex-start;flex-direction:column;padding:17px}.employee-punch-actions{justify-content:flex-start;width:100%}.employee-stat-grid{gap:10px}.employee-stat-card{padding:15px}.employee-stat-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:12px}.employee-stat-card .employee-label{font-size:8px;letter-spacing:.7px}.employee-stat-card>strong{font-size:21px}.employee-quick-grid{grid-template-columns:1fr}.employee-section-heading{align-items:flex-start}.employee-section-kicker{display:none}.employee-salary-card,.employee-table-card{padding:16px}.employee-slip-form{align-items:stretch;flex-direction:column}.employee-slip-form>div,.employee-slip-form input{width:100%;min-width:0}.employee-slip-form button{align-self:flex-start}}

/* Attendance access workspace */
.access-page{max-width:1500px}.access-hero{padding:26px 29px;border-radius:20px;background:linear-gradient(115deg,#112c48,#164c62);display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;color:white}.access-kicker{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#79e0d0}.access-hero h1{color:white;font-size:26px;margin:10px 0}.access-hero p{color:#d4e4ef;font-size:12px;max-width:670px;line-height:1.7;margin:0}.access-add{white-space:nowrap;background:white;color:#174d52;padding:12px 18px;border-radius:10px;font-size:12px;font-weight:800}.access-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 22px}.access-stat{padding:20px 22px;background:#fff;border:1px solid #e3eaf1;border-radius:15px}.access-stat span{display:block;font-size:11px;color:#64768d;font-weight:700}.access-stat strong{display:block;font-size:30px;color:#172e49;margin:7px 0}.access-stat small{color:#8996a8}.access-panel{background:white;border:1px solid #e3eaf1;border-radius:17px;margin-bottom:20px;overflow:hidden;box-shadow:0 7px 20px #1c35500a}.access-panel-head{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:18px}.access-panel-head h2{font-size:17px;margin:0 0 5px}.access-panel-head p{font-size:11px;color:#8390a3;margin:0}.access-panel-head input{max-width:295px;min-width:220px}.access-table-scroll{overflow-x:auto}.access-table{width:100%;border-collapse:collapse}.access-table th{background:#f7f9fc;font-size:10px;letter-spacing:.7px;color:#6d7e91;text-align:left;padding:13px 19px;white-space:nowrap}.access-table td{padding:14px 19px;border-top:1px solid #eef1f5;font-size:12px}.access-person{display:flex;gap:11px;align-items:center}.access-person strong,.access-person small{display:block}.access-person small{color:#8390a3;margin-top:3px}.access-avatar{border-radius:11px;display:grid;place-items:center;width:36px;height:36px;background:#e4f3f1;color:#17766c;font-weight:800}.access-pill{display:inline-block;border-radius:20px;padding:5px 10px;background:#eff1f6;color:#67758b;font-size:10px;font-weight:700}.access-pill.is-active{background:#e5f8ed;color:#13844b}.access-mode{min-width:240px}.access-save{border:0;border-radius:9px;background:#157e73;color:white;font-size:11px;font-weight:800;padding:11px 13px;white-space:nowrap;cursor:pointer}.access-empty{padding:24px;text-align:center;color:#8693a4}.access-note{font-size:11px;color:#75859a;margin-bottom:20px}.access-success{background:#eaf9ef;color:#15734a;border-radius:12px;padding:13px 17px;margin-bottom:17px;font-weight:700;font-size:12px}.access-setup{margin-top:20px;border:1px solid #dce6f0;border-radius:16px;padding:21px;background:#f9fbfd}.access-setup-title{display:flex;gap:12px;align-items:center}.access-setup-title h3{margin:0 0 5px;font-size:17px}.access-setup-title p{margin:0;color:#7e8da2;font-size:12px}.access-setup-icon{font-size:27px;color:#187e75}.access-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}.access-choice{display:flex;align-items:flex-start;gap:12px;border:1px solid #d8e3ee;border-radius:13px;padding:18px;background:white;cursor:pointer}.access-choice:has(input:checked){border-color:#178878;background:#effaf7;box-shadow:0 0 0 2px #168b7812}.access-choice input{width:auto;margin:3px 0 0;accent-color:#168878}.access-choice strong,.access-choice small,.access-choice em{display:block}.access-choice strong{font-size:13px;color:#1d3c55}.access-choice small{font-size:11px;color:#75859a;line-height:1.6;margin:7px 0}.access-choice em{font-style:normal;color:#167e72;font-size:10px;font-weight:800}.access-info{padding:12px 14px;margin-top:14px;border-radius:9px;background:#edf3f9;color:#64768e;font-size:11px;line-height:1.5}@media(max-width:760px){.access-hero,.access-panel-head{flex-direction:column;align-items:flex-start}.access-stats{grid-template-columns:1fr}.access-choice-grid{grid-template-columns:1fr}.access-panel-head input{max-width:none;width:100%}.access-hero{padding:21px}}

/* HR-controlled employee lifecycle */
.staff-dropdown{position:relative;display:inline-block;vertical-align:middle}.staff-dropdown summary{cursor:pointer;list-style:none}.staff-dropdown summary::-webkit-details-marker{display:none}.staff-dropdown-menu{position:absolute;right:0;top:100%;z-index:30;background:#fff;border:1px solid #d9e2ee;box-shadow:0 15px 35px #102b4526;border-radius:12px;padding:12px;width:240px;display:grid;gap:8px;text-align:left}.staff-dropdown-menu button,.staff-dropdown-menu a{display:block;width:100%;background:#f2f6fa;border:0;border-radius:6px;padding:9px;text-align:left;color:#143550;font:inherit;cursor:pointer;text-decoration:none}.staff-dropdown-menu input,.staff-action-row input{width:100%;box-sizing:border-box;border:1px solid #cdd7e4;border-radius:7px;padding:8px;margin-bottom:4px}.staff-action-row{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.staff-action-row form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* Staff profile lifecycle cards */
.staff-panel{padding:24px!important}.staff-panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}.staff-panel-head h3{margin:0 0 6px}.staff-panel-head p{margin:0}.staff-status{font-size:12px;font-weight:700;padding:7px 12px;border-radius:30px;background:#e6f4ee;color:#0c7457}.staff-status-inactive,.staff-status-exited,.staff-status-archived{background:#fff1e7;color:#ad4c1d}.staff-action-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.staff-tile{border:1px solid #dfe8ef;background:#fff;border-radius:14px;padding:20px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.staff-symbol{background:#e6f8f3;color:#087d68;border-radius:10px;font-size:21px;padding:8px 12px}.staff-tile h4{font-size:16px;margin:14px 0 7px;color:#173951}.staff-tile p{color:#5b7282;font-size:13px;line-height:1.6;margin:0 0 15px}.staff-tile form{width:100%;margin-top:auto;display:grid;gap:9px}.staff-tile label{width:100%;color:#405367;font-weight:600;font-size:12px}.staff-tile input{width:100%;box-sizing:border-box;padding:11px;border:1px solid #c8d6e1;border-radius:9px;margin-top:5px;font:inherit}.staff-tile .btn{display:inline-block;text-align:center;margin-top:auto}.staff-tile form .btn{justify-self:start}.staff-help{color:#965c10;font-size:12px;line-height:1.5}.staff-danger{background:#b83636!important;color:white!important}.staff-tile a:not(.btn){color:#07816b}@media(max-width:820px){.staff-action-cards{grid-template-columns:1fr}.staff-panel{padding:15px!important}}

/* Live distance display for employee GPS attendance */
.geo-distance-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid #c9dbe0;background:#f2f9fb;border-radius:16px;padding:17px 20px;margin:14px 0 18px}.geo-distance-value{font-size:24px;font-weight:800;margin:6px 0}.geo-distance-panel .muted{font-size:13px;max-width:600px}

/* Salary Overview navigation icon (employee + admin/HR) */
.side a[href='/salary-overview']::before{content:'₹';display:inline-grid;place-items:center;flex:0 0 18px;width:18px;font-size:17px;font-weight:800;opacity:1;color:#087f68}
@media(max-width:760px){.side a[href='/salary-overview']::before{display:inline-grid}}

/* Colorful icon upgrade */
.side a::before{
  width:28px;
  height:28px;
  min-width:28px;
  border-radius:10px;
  display:inline-grid;
  place-items:center;
  font-size:15px;
  font-weight:800;
  opacity:1;
  box-shadow:0 6px 14px rgba(23,43,77,.08);
  border:1px solid transparent;
}
.side a.active::before{transform:scale(1.05)}
.side a[href*="dashboard"]::before{background:#e9f2ff;color:#316bdb;border-color:#cfe0ff}
.side a[href*="employees"]::before{background:#efe9ff;color:#7a46d8;border-color:#dfcffd}
.side a[href*="attendance"]::before{background:#e7fbf6;color:#0f9b78;border-color:#c5efe4}
.side a[href*="holidays"]::before{background:#fff7dd;color:#c48a00;border-color:#f6e3a6}
.side a[href*="leaves"]::before{background:#ffeceb;color:#cf4d4d;border-color:#f7cfcf}
.side a[href*="advances"]::before{background:#eafff0;color:#0a9250;border-color:#c9f3d6}
.side a[href*="loans"]::before{background:#edf1ff;color:#5067d9;border-color:#d6ddff}
.side a[href*="payroll"]::before{background:#fff0fb;color:#c348a8;border-color:#f6d1ec}
.side a[href*="documents"]::before{background:#eef8ff;color:#277bb7;border-color:#d1eaff}
.side a[href*="company-policy"]::before{background:#fff1df;color:#d06d13;border-color:#f6d2a8}
.side a[href*="reports"]::before{background:#f0edff;color:#7255d8;border-color:#dbd3fd}
.side a[href*="users"]::before{background:#ecfbf1;color:#0c9960;border-color:#ccefd9}
.side a[href*="settings"]::before{background:#f3f4f6;color:#667085;border-color:#e2e6ec}
.side a[href='/salary-overview']::before,
.side a[href*='salary-overview']::before{background:#ebfff6!important;color:#0a9368!important;border-color:#bfeeda!important;box-shadow:0 6px 14px rgba(10,147,104,.15)!important}

.employee-quick-icon{box-shadow:0 8px 18px rgba(23,43,77,.08)}
.employee-quick-card:nth-child(1) .employee-quick-icon{background:#e9f2ff;color:#316bdb}
.employee-quick-card:nth-child(2) .employee-quick-icon{background:#fff3dd;color:#c98a00}
.employee-quick-card:nth-child(3) .employee-quick-icon{background:#ffeceb;color:#cf4d4d}
.employee-quick-card:nth-child(4) .employee-quick-icon{background:#ecfbf1;color:#0c9960}
.employee-quick-card:nth-child(5) .employee-quick-icon{background:#f0edff;color:#7255d8}
.employee-quick-card:nth-child(6) .employee-quick-icon{background:#eef8ff;color:#277bb7}

.employee-large-icon:nth-of-type(1),.employee-large-icon{box-shadow:0 8px 18px rgba(23,43,77,.08)}
.employee-salary-card .employee-large-icon{background:#ebfff6;color:#0a9368}
.employee-table-card .employee-large-icon{background:#eef8ff;color:#277bb7}
.access-setup-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ebfff6;color:#0f9b78;box-shadow:0 8px 18px rgba(15,155,120,.12)}
.staff-symbol{box-shadow:0 8px 18px rgba(23,43,77,.08)}
.staff-action-cards .staff-tile:nth-child(1) .staff-symbol{background:#e9f2ff;color:#316bdb}
.staff-action-cards .staff-tile:nth-child(2) .staff-symbol{background:#fff3dd;color:#c98a00}
.staff-action-cards .staff-tile:nth-child(3) .staff-symbol{background:#ffeceb;color:#cf4d4d}
.staff-action-cards .staff-tile:nth-child(4) .staff-symbol{background:#ecfbf1;color:#0c9960}

/* Premium self-hosted SVG navigation icons: no CDN dependency */
.side a:before{content:none!important;display:none!important}
.side a{gap:12px;transition:background .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease}
.side .nav-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:12px;color:var(--icon-color);background:var(--icon-bg);box-shadow:0 5px 12px rgba(28,39,68,.07);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}
.side .nav-icon svg{width:19px;height:19px;display:block}
.side .nav-icon--blue{--icon-bg:linear-gradient(145deg,#e5f0ff,#cce0ff);--icon-color:#2563eb}
.side .nav-icon--purple{--icon-bg:linear-gradient(145deg,#f4e9ff,#e5ceff);--icon-color:#8440c4}
.side .nav-icon--teal{--icon-bg:linear-gradient(145deg,#dcfff6,#bdf1e6);--icon-color:#078b74}
.side .nav-icon--amber{--icon-bg:linear-gradient(145deg,#fff5d9,#ffe6a1);--icon-color:#ba7b08}
.side .nav-icon--rose{--icon-bg:linear-gradient(145deg,#ffe9ed,#ffcbd5);--icon-color:#d34b6b}
.side .nav-icon--green{--icon-bg:linear-gradient(145deg,#e1fce8,#b9f2cb);--icon-color:#14894e}
.side .nav-icon--indigo{--icon-bg:linear-gradient(145deg,#e9edff,#cdd6ff);--icon-color:#5767d7}
.side .nav-icon--pink{--icon-bg:linear-gradient(145deg,#ffe9fa,#f8d0f1);--icon-color:#b7399e}
.side .nav-icon--cyan{--icon-bg:linear-gradient(145deg,#e1f7ff,#c2eafb);--icon-color:#1687b6}
.side a:hover .nav-icon{transform:translateY(-2px) rotate(-4deg) scale(1.08);filter:saturate(1.2);box-shadow:0 8px 16px rgba(28,39,68,.14)}
.side a.active .nav-icon{transform:scale(1.06);box-shadow:0 5px 15px rgba(9,128,102,.14)}
.side .nav-label{line-height:1.35}
@media(prefers-reduced-motion:reduce){.side a,.side .nav-icon{transition:none!important}.side a:hover .nav-icon{transform:none!important}}

/* Employee document checklist */
.doc-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.doc-check-item{display:flex;align-items:center;gap:10px;border:1px solid #e4eaf3;background:#fbfcff;border-radius:11px;padding:11px 12px;font-size:12px;font-weight:600}.doc-check-item>span:nth-child(2){flex:1}.doc-check-num{background:linear-gradient(135deg,#e4f1ff,#e3fff1);color:#2768a0;border-radius:9px;min-width:26px;height:26px;display:grid;place-items:center;font-weight:800}@media(max-width:700px){.doc-check-grid{grid-template-columns:1fr}}

/* Employee attendance and location settings — polished two-column layout */
.access-modern{grid-column:1/-1;width:100%;box-sizing:border-box;background:#fff;border-color:#e0e8f0;padding:24px;margin-top:22px;box-shadow:0 5px 22px rgba(21,46,75,.04)}
.access-modern-head,.access-modern-heading,.access-panel-heading{display:flex;align-items:center;gap:12px}
.access-modern-head{justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}
.access-modern-heading h3{font-size:19px;margin:0 0 5px;color:#142b46}
.access-modern-heading p,.access-panel-heading p{margin:0;color:#71829a;font-size:12px;line-height:1.5}
.access-admin-tag{background:#e9f6f2;color:#0b806d;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:750}
.access-modern-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.access-modern-panel{min-width:0;background:#f6faff;border:1px solid #dce9f6;border-radius:15px;padding:17px}
.access-modern-panel.tracking-panel{background:#fcfaf6;border-color:#eee3d1}
.access-panel-heading{margin-bottom:15px;align-items:flex-start}
.access-panel-heading h4{font-size:15px;margin:0 0 5px;color:#1a344e}
.access-panel-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e2efff;color:#1475ca;font-size:23px}
.tracking-panel .access-panel-symbol{background:#fff0da;color:#c67a1d}
.access-modern-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.access-modern .access-choice{min-width:0;padding:15px 12px;min-height:136px;box-sizing:border-box}
.access-modern .access-choice strong{font-size:12px;line-height:1.5}
.access-modern .access-choice small{font-size:11px;line-height:1.55}
.access-modern-note{margin-top:15px;background:#eff7ff;border:1px solid #dbeafa;border-radius:10px;padding:13px 15px;color:#476781;font-size:11px;line-height:1.6}
.access-modern-note strong{color:#17567c}
@media(max-width:1150px){.access-modern-columns{grid-template-columns:1fr}}
@media(max-width:620px){.access-modern{padding:15px}.access-modern-options{grid-template-columns:1fr}.access-modern .access-choice{min-height:auto}}
