/* MahaHR public entrance: navy, lotus red and white. */
:root{--ink:#102e4c;--green:#003b71;--line:#dce4ef;--muted:#65758a;--red:#e32636}
body{background:#f6f8fc;font-family:Inter,"Segoe UI",Arial,sans-serif}.login{padding:22px}.login-card{max-width:1560px;margin:auto;min-height:calc(100svh - 44px);grid-template-columns:1.08fr 1fr;border:1px solid #e1e7ef;border-radius:26px;overflow:hidden;box-shadow:0 18px 65px #1436570c;background:#fff}
.intro{background:linear-gradient(145deg,#00284d,#003b71 65%,#07518b);padding:clamp(30px,4vw,64px);gap:28px}.intro:before{border-color:#ffffff12;box-shadow:0 0 0 85px #ffffff03,0 0 0 170px #ffffff03}.intro:after{border:60px solid #ffffff04;width:370px;height:370px;left:auto;right:-230px;bottom:-160px;box-shadow:none}
.intro .brand-mark{width:225px!important;padding:3px 12px!important;border-radius:10px!important;box-shadow:0 8px 24px #001c371a}.brand small{color:#cedded;margin-top:8px;font-size:12px}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:10px;color:#dbe8f6;letter-spacing:2px;margin-bottom:22px}.eyebrow:before{content:'';height:3px;width:26px;border-radius:4px;background:#ff6672}.ad-slides{min-height:220px}.ad-slide h1,.ad-slide h2{font-size:clamp(36px,3.65vw,58px);letter-spacing:-2px;line-height:1.09;font-weight:750;max-width:580px}.ad-slide h1 span,.ad-slide h2 span{color:#fff;position:relative}.ad-slide h1 span:after,.ad-slide h2 span:after{content:'';display:block;width:65px;height:5px;background:#e32636;border-radius:4px;margin-top:20px}.ad-slide p{font-size:15px;color:#d1deed;max-width:440px;line-height:1.75}
.showcase{box-shadow:none;border:0;background:transparent;border-radius:0;padding:0;margin-top:30px}.showcase-title{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#d6e4f3}.showcase-title small{display:none}.showcase-grid{gap:12px}.feature-tile{padding:13px 12px;background:#ffffff07;border-color:#ffffff16;border-radius:12px;font-size:12px;line-height:1.5}.feature-icon{background:#ffffff0d;color:#fff;border:1px solid #ffffff1f;border-radius:9px;flex-shrink:0}.feature-tile small{color:#bed0e3}.ad-controls{margin-top:22px}.ad-dot[aria-pressed=true]{background:#ff6672}.ad-pause{color:#d1deed}.intro-foot{color:#afc5dd;font-size:11px;border-top:1px solid #ffffff1c;padding-top:20px;gap:5px 16px}.intro-foot span:first-child{color:#e8f0f8}
.login-side{padding:40px clamp(28px,4.7vw,78px);background:#fff}.login-form{max-width:390px}.login-platform-brand{margin-bottom:26px;display:inline-block}.login-platform-brand img{width:176px}.welcome-badge{display:flex;align-items:center;gap:8px;color:#68798f;font-size:10px;letter-spacing:1.7px;margin-bottom:10px}.welcome-badge:before{content:'';width:6px;height:6px;background:#e32636;border-radius:50%}.login-form h2{font-size:36px;letter-spacing:-1.2px;font-weight:750}.login-form>p{font-size:14px;margin:12px 0 27px;line-height:1.6}.field{margin:17px 0;gap:7px}.field label{font-size:12px;color:#233e5a;font-weight:650}.field input{padding:13px 14px;border-radius:9px;border-color:#dce4ee;background:#fbfcfe;min-height:48px}.field input:focus{border-color:#003b71;box-shadow:0 0 0 3px #003b7110}.field input::placeholder{color:#8d9aab;font-size:12px}.remember-login{margin:18px 0}.remember-login label{font-size:12px;color:#40556d}.remember-login input{accent-color:#003b71;width:15px;height:15px}.remember-login small{font-size:10px;max-width:350px;color:#7a8899}.sign-in{border-radius:9px;min-height:49px;background:#003b71;box-shadow:0 7px 18px #003b711c;padding:13px 18px;font-size:14px}.sign-in:hover{background:#002e59}.sign-in span:last-child{font-size:21px;line-height:1}.recovery{flex-direction:row;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}.recovery .btn{font-size:11px;color:#003b71}.recovery .btn:hover{text-decoration:underline}.login-footer{border-top:1px solid #e8edf3;padding-top:18px;margin-top:27px;font-size:10px;color:#8591a2;line-height:1.8}.password-toggle{color:#63788f}.btn:focus-visible,.ad-dot:focus-visible{outline:3px solid #e32636;outline-offset:4px}.client-login-content>p{color:#d1deed}.client-media-controls button[aria-pressed=true]{background:#fff;color:#003b71}
@media(min-width:1450px){.login-card{min-height:850px}.login{display:grid;align-items:center;min-height:100svh}.login-card{width:100%}}
@media(max-width:950px){.login{padding:0}.login-card{border:0;border-radius:0;min-height:100svh;grid-template-columns:1fr 1fr}.intro{padding:30px}.ad-slide h1,.ad-slide h2{font-size:38px}.showcase-grid{grid-template-columns:1fr}.feature-tile{padding:9px}.login-side{padding:34px 28px}}
@media(max-width:700px){.login-card{display:block}.intro{padding:24px;gap:0;border-radius:0 0 22px 22px;min-height:0}.intro .brand{display:none}.intro .ad-content{display:block}.eyebrow{margin:0 0 12px;font-size:9px}.ad-slides{min-height:0}.ad-slide h1,.ad-slide h2{font-size:29px;letter-spacing:-.8px;margin-bottom:0;line-height:1.15}.ad-slide h1 br,.ad-slide h2 br{display:none}.ad-slide h1 span,.ad-slide h2 span{display:block}.ad-slide h1 span:after,.ad-slide h2 span:after{margin-top:13px;width:40px;height:3px}.ad-slide p,.showcase,.ad-controls{display:none}.login-side{padding:27px 24px 36px}.login-platform-brand{margin-bottom:20px}.login-platform-brand img{width:164px}.login-form{max-width:430px}.login-form h2{font-size:30px}.login-form>p{margin-bottom:20px}.login-footer{margin-top:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Module splash, matching the public website. */
.module-splash{background:#f5f8fc;color:#102e4c;justify-content:center;gap:38px;border-right:1px solid #e3eaf2;padding:40px clamp(26px,4vw,64px)}.module-splash:before,.module-splash:after{display:none}.module-splash .brand{display:flex;justify-content:center}.module-splash .brand-mark{width:195px!important;height:64px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.module-splash .brand-mark img{width:195px!important;height:64px!important;object-fit:contain!important}.module-splash .ad-content{width:100%;max-width:510px;margin:0 auto}.module-splash .ad-slides{min-height:420px}.module-splash .module-number{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#e32636;margin:0 0 14px}.module-splash .ad-slide h2{font-size:clamp(26px,2.5vw,38px);color:#102e4c;letter-spacing:-1px;line-height:1.16;margin:0 0 12px}.module-splash .ad-slide>p:not(.module-number){font-size:14px;line-height:1.6;color:#65758a;margin:0;min-height:46px}.module-preview{background:#fff;border:1px solid #dce4ef;border-top:4px solid #003b71;border-radius:15px;margin-top:27px;box-shadow:0 18px 40px #19395c0a;overflow:hidden}.preview-top{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #edf1f6;font-size:13px;font-weight:650}.preview-top b{margin-left:auto;color:#9aabba;letter-spacing:2px}.preview-icon{background:#edf3fa;border-radius:9px;display:grid;place-items:center;width:34px;height:34px;color:#003b71;font-size:22px}.preview-body{padding:22px 24px;display:grid;gap:20px}.module-row{display:grid;grid-template-columns:138px 1fr;align-items:center;gap:14px;font-size:12px;color:#5d7188}.module-track{background:#edf2f8;border-radius:4px;height:9px;overflow:hidden}.module-track i{display:block;height:100%;background:#003b71;border-radius:4px}.module-row:nth-child(2) i{background:#8eaacc}.module-row:last-child i{background:#e32636}.preview-foot{border-top:1px solid #edf1f6;padding:12px 22px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.8px;color:#8b9aae}.module-splash .ad-controls{justify-content:center;gap:8px;margin-top:18px;flex-wrap:wrap}.module-splash .ad-dot{background:#c6d3e3;width:7px;height:7px}.module-splash .ad-dot[aria-pressed=true]{background:#e32636;width:23px}.module-splash .ad-pause{color:#65758a;border-color:#dce4ef;font-size:10px;padding:5px 9px}.module-splash .ad-slide:not([hidden]){animation:none}
@media(max-width:950px){.module-splash{padding:30px 24px}.module-row{grid-template-columns:115px 1fr;gap:8px}.preview-body{padding:20px 16px}.preview-top{padding:16px;font-size:12px}}
@media(max-width:700px){.module-splash{display:none}.login-side{min-height:100svh}.login-platform-brand img{width:176px}}
.module-splash[data-client]{background:#003b71;color:white}.module-splash[data-client] .client-login-content>p{color:#d1deed}
/* Fit the entrance to the viewport; allow natural overflow for extra content. */
html{scrollbar-gutter:auto}.login{padding:12px;min-height:100svh}.login-card{min-height:calc(100svh - 24px);width:100%}.login-side{padding:24px clamp(24px,4vw,64px)}.login-platform-brand{margin-bottom:14px}.login-platform-brand img{width:160px}.login-form h2{font-size:30px}.login-form>p{margin:8px 0 18px}.field{margin:12px 0;gap:5px}.field input{min-height:44px;padding:10px 13px}.remember-login{margin:12px 0}.sign-in{min-height:44px;padding:10px 16px}.recovery{margin-top:14px}.msg:empty{min-height:0;margin:0}.login-footer{margin-top:18px;padding-top:12px;line-height:1.5}.module-splash{padding:24px clamp(24px,4vw,64px);gap:22px}.module-splash .ad-slides{min-height:360px}
@media(min-width:701px) and (max-height:760px){.login{padding:8px}.login-card{min-height:calc(100svh - 16px);border-radius:18px}.login-side{padding-top:16px;padding-bottom:16px}.login-platform-brand{margin-bottom:8px}.login-platform-brand img{width:142px}.welcome-badge{margin-bottom:6px;font-size:9px}.login-form h2{font-size:27px}.login-form>p{font-size:12px;margin:6px 0 12px}.field{margin:9px 0;gap:4px}.field input{min-height:40px;padding:8px 12px}.remember-login{margin:9px 0}.remember-login small{font-size:9px}.sign-in{min-height:40px;margin-top:7px}.recovery{margin-top:11px}.login-footer{margin-top:13px;padding-top:9px;font-size:9px}.module-splash{gap:14px;padding-top:18px;padding-bottom:18px}.module-splash .brand-mark,.module-splash .brand-mark img{height:52px!important;width:174px!important}.module-splash .ad-slides{min-height:320px}.module-splash .ad-slide h2{font-size:29px}.module-splash .module-number{margin-bottom:10px}.module-splash .ad-slide>p:not(.module-number){font-size:12px;min-height:38px}.module-preview{margin-top:16px}.preview-top{padding:13px 18px}.preview-body{padding:16px 20px;gap:15px}.preview-foot{padding:9px 18px}.module-splash .ad-controls{margin-top:12px}}
@media(max-width:700px){.login{padding:0}.login-card{min-height:100svh}.login-side{min-height:100svh;padding:24px;align-items:center}.login-form{margin:auto}}
/* Distinct module illustrations, without showcase controls or numbering. */
.module-splash .ad-slide h2{font-size:clamp(28px,2.7vw,40px)}.module-splash .ad-slides{min-height:350px}.module-art{height:220px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff,#f1f5fc);padding:22px}.module-preview{margin-top:24px}.people-tree{width:100%;text-align:center}.person{display:flex;align-items:center;flex-direction:column;gap:6px;font-size:10px;color:#5a7088}.person b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e4edf9;color:#003b71;border:4px solid white;box-shadow:0 3px 12px #003b7112}.lead b{background:#003b71;color:white}.tree-line{height:25px;width:1px;background:#b4c7df;margin:auto}.team-row{display:flex;justify-content:space-around;border-top:1px solid #b4c7df;padding-top:12px;max-width:330px;margin:auto}.team-row .person:last-child b{background:#ffebed;color:#e32636}.time-visual,.leave-visual,.pay-visual,.self-visual,.insight-visual{display:flex;align-items:center;justify-content:center;gap:24px;width:100%}.clock-face{width:120px;height:120px;border:8px solid #dce7f4;border-top-color:#e32636;border-radius:50%;position:relative;flex-shrink:0;background:white}.clock-face i,.clock-face b{position:absolute;left:50%;top:24px;width:3px;height:30px;background:#003b71;transform-origin:bottom}.clock-face b{transform:rotate(90deg);height:24px;top:30px;background:#e32636}.clock-face span{position:absolute;bottom:13px;left:29px;font-size:12px;color:#65758a}.time-story{display:grid;gap:12px;max-width:200px}.time-story strong,.leave-note strong{font-size:20px;line-height:1.3;letter-spacing:-.5px}.mini-pill{font-size:9px!important;color:#e32636!important;letter-spacing:.4px}.day-line{display:flex;gap:7px}.day-line i{width:20px;height:7px;background:#003b71;border-radius:4px}.day-line i:last-child{background:#e32636}.module-art small{font-size:10px;color:#74869b}.mini-calendar{background:white;border:1px solid #e0e8f2;border-radius:12px;padding:13px;min-width:155px;box-shadow:0 8px 22px #003b7109}.mini-calendar>strong{font-size:9px;letter-spacing:1px;color:#003b71}.mini-calendar>div{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:12px}.mini-calendar span{font-size:9px;width:17px;height:21px;display:grid;place-items:center;color:#73849a}.mini-calendar .day-off{background:#e32636;color:white;border-radius:4px}.leave-note{display:grid;gap:12px}.pay-sheet{transform:rotate(-5deg);padding:18px;background:white;border:1px solid #dce4ef;border-radius:9px;width:160px;box-shadow:0 12px 24px #003b7110;display:grid;gap:8px}.pay-sheet>span{font-size:8px;letter-spacing:1px;color:#788ba1}.pay-sheet>strong{font-size:35px;color:#003b71}.pay-sheet>b{font-size:11px}.pay-lines{display:grid;gap:5px}.pay-lines i{height:5px;background:#e5edf7;border-radius:3px}.pay-lines i:nth-child(2){width:70%}.pay-lines i:last-child{width:85%;background:#ffdbdf}.pay-bars{display:flex;align-items:flex-end;gap:9px;height:130px}.pay-bars i{width:18px;background:#9ab4d5;border-radius:5px 5px 0 0}.pay-bars i:last-child{background:#e32636}.approval-visual{display:flex;align-items:center;gap:14px}.approval-step{display:grid;text-align:center;gap:9px}.approval-step b{margin:auto;display:grid;place-items:center;border-radius:16px;width:52px;height:52px;background:#e6eef8;color:#003b71;font-size:23px}.approval-step strong{font-size:12px}.approval-step.final b{background:#003b71;color:white}.approval-visual>span{color:#e32636}.profile-disc{width:100px;height:100px;position:relative;border-radius:50%;background:#003b71;color:white;font-size:25px;display:grid;place-items:center;box-shadow:0 0 0 9px #e4edf8}.profile-disc span{position:absolute;bottom:0;right:0;color:#e32636;font-size:20px;background:white;border-radius:50%;padding:0 4px}.self-options{display:grid;gap:10px;min-width:170px}.self-options>span{display:flex;align-items:center;gap:10px;padding:10px 12px;background:white;border:1px solid #e2eaf4;border-radius:8px;color:#003b71;font-size:13px}.self-options b{font-size:10px}.self-options i{margin-left:auto;color:#e32636}.insight-ring{width:120px;height:120px;border-radius:50%;background:conic-gradient(#003b71 0 65%,#e32636 65% 80%,#dce6f3 80%);display:grid;place-items:center;flex-shrink:0}.insight-ring span{width:88px;height:88px;border-radius:50%;background:#f8faff;display:grid;align-content:center;text-align:center;font-size:11px;color:#65758a}.insight-ring b{color:#003b71;font-size:14px}.insight-chart{width:180px}.insight-chart>span{font-size:10px;color:#65758a}.insight-chart>div{display:flex;align-items:flex-end;height:100px;gap:9px;margin:9px 0}.insight-chart i{width:18px;border-radius:4px 4px 0 0;background:#91add0}.insight-chart i:last-child{background:#e32636}
@media(min-width:701px) and (max-height:760px){.module-art{height:190px;padding:16px}.module-splash .ad-slides{min-height:320px}.module-splash .ad-slide h2{font-size:29px}}
@media(min-width:701px) and (max-width:950px){.module-art{padding:14px}.time-visual,.leave-visual,.pay-visual,.self-visual,.insight-visual{gap:14px}.clock-face,.profile-disc{transform:scale(.8)}.time-story strong,.leave-note strong{font-size:16px}.mini-calendar{min-width:135px;padding:9px}.mini-calendar span{width:14px}.self-options{min-width:125px}.insight-ring{width:95px;height:95px}.insight-ring span{width:70px;height:70px}.approval-visual{gap:9px}.approval-step b{width:43px;height:43px}.approval-step strong{font-size:10px}}
/* Attendance module illustration: selfie and geolocation. */
.geo-attendance{display:flex;align-items:center;justify-content:center;gap:28px;width:100%}.selfie-phone{width:104px;height:175px;background:#fff;border:3px solid #003b71;border-radius:19px;padding:9px;box-shadow:0 10px 20px #003b7114;position:relative;flex-shrink:0;transform:rotate(-5deg)}.phone-speaker{height:3px;width:26px;margin:0 auto 10px;background:#bfd0e5;border-radius:4px}.selfie-frame{background:#edf3fb;border-radius:10px;padding:3px}.selfie-frame svg{display:block;width:100%}.selfie-caption{font-size:8px;text-align:center;margin-top:9px;color:#65758a}.phone-check{width:22px;height:22px;background:#003b71;color:white;border-radius:50%;display:grid;place-items:center;font-size:12px;margin:7px auto 0}.geo-story{display:grid;gap:9px;max-width:220px}.geo-story strong{font-size:21px;line-height:1.25;letter-spacing:-.5px}.geo-map{height:65px;border:1px solid #dce6f3;border-radius:10px;background:#f9fbfe;overflow:hidden}.geo-map svg{display:block;width:100%;height:100%}.geo-story small{font-size:9px;white-space:nowrap}@media(min-width:701px) and (max-height:760px){.selfie-phone{height:158px;width:94px}.geo-story{gap:7px}.geo-map{height:54px}}@media(min-width:701px) and (max-width:950px){.geo-attendance{gap:18px}.geo-story strong{font-size:17px}.geo-story small{font-size:8px}.selfie-phone{width:86px;height:155px}}

.signin-help{font-size:11px;color:#65758a;margin-top:14px}.signin-help summary{cursor:pointer;color:#003b71;font-weight:650}.signin-help>div{padding:8px 12px;margin-top:8px;border:1px solid #dce4ef;border-left:3px solid #e32636;border-radius:8px;background:#f5f8fc}.signin-help p{margin:7px 0;line-height:1.6}.signin-help summary:focus-visible{outline:2px solid #e32636;outline-offset:3px}
