html:has(.ehr-login),body:has(.ehr-login){background:#003a78}
.fi-simple-layout:has(.ehr-login){min-height:100svh;background:none}
.fi-simple-main-ctn:has(.ehr-login){display:block}
.fi-simple-main:has(.ehr-login){max-width:none!important;min-height:100svh;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;--tw-ring-shadow:0 0 #0000!important}
.ehr-login{position:relative;display:flex;min-height:100svh;align-items:center;justify-content:center;overflow:hidden;isolation:isolate;padding:56px 16px;color:#fff;font-family:Inter,Phetsarath,ui-sans-serif,system-ui,sans-serif;background:radial-gradient(circle at 67% 46%,#087bcd 0,#0055a3 35%,#003b79 71%,#002d63 100%)}
.ehr-login::before{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(rgba(100,188,245,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(100,188,245,.12) 1px,transparent 1px);background-size:31px 31px;content:"";mask-image:linear-gradient(#000,transparent 98%)}
.ehr-login::after{position:absolute;z-index:-1;width:120vmax;height:120vmax;top:-85vmax;left:27%;border:1px solid rgba(108,201,255,.15);border-radius:50%;content:"";pointer-events:none}
.ehr-login__page-note{position:absolute;color:#99c7e8;font-size:10px;font-weight:700;letter-spacing:.24em;line-height:2;text-transform:uppercase}
.ehr-login__page-note--top{top:5.8%;right:4.3%}.ehr-login__page-note--top::after{display:block;width:18px;height:2px;margin:8px 0 0 auto;background:#ffe184;box-shadow:0 0 10px #ffe184;content:""}
.ehr-login__page-note--bottom{bottom:5.4%;left:4.2%}
.ehr-login__outer-star{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff2ad;box-shadow:0 0 15px 3px #ffdb6a;animation:ehr-twinkle 3.8s ease-in-out infinite}.ehr-login__outer-star--one{top:24%;left:6.5%}.ehr-login__outer-star--two{top:50%;left:6.5%;animation-delay:1.2s}.ehr-login__outer-star--three{bottom:7%;right:20%;animation-delay:2s}
.ehr-login__card{position:relative;width:min(1188px,100%);height:min(770px,calc(100svh - 40px));overflow:hidden;border:2px solid #5bbfff;border-radius:46px;background:radial-gradient(circle at 73% 42%,#066cc0 0,#034c9a 31%,#073a78 64%,#002e65 100%);box-shadow:0 30px 75px rgba(0,20,55,.47),0 0 35px rgba(49,180,255,.17),inset 0 0 40px rgba(66,177,252,.15);animation:ehr-enter .7s cubic-bezier(.2,.8,.2,1) both}
.ehr-login__card::after{position:absolute;z-index:5;inset:0;border:1px solid rgba(185,231,255,.23);border-radius:44px;box-shadow:inset 0 0 30px rgba(40,172,255,.17);content:"";pointer-events:none}
.ehr-login__art-stage{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}
.ehr-art{position:absolute;top:51px;right:40px;width:650px;height:auto;overflow:visible}
.ehr-art__halo{transform-origin:374px 316px;animation:ehr-halo 7s ease-in-out infinite alternate}
.ehr-art__orbit{transform-origin:360px 305px;animation:ehr-orbit 55s linear infinite}
.ehr-art__orbit-ring{transform-origin:362px 287px;animation:ehr-orbit 34s linear infinite reverse}
.ehr-art__rays{animation:ehr-rays 4.5s ease-in-out infinite alternate}
.ehr-art__medallion{animation:ehr-art-float 5.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.ehr-art__shop{animation:ehr-art-float 6.4s ease-in-out -2s infinite;transform-box:fill-box;transform-origin:center}
.ehr-art__metric{animation:ehr-art-float 6s ease-in-out -3s infinite;transform-box:fill-box;transform-origin:center}
.ehr-art__sparkles{animation:ehr-twinkle 3.4s ease-in-out infinite alternate}
.ehr-art__diamond{animation:ehr-rays 4s ease-in-out infinite alternate}
.ehr-login__brand{position:absolute;z-index:4;top:62px;left:73px;display:flex;align-items:center;gap:18px}
.ehr-login__brand-mark{display:grid;width:80px;height:80px;flex:0 0 80px;place-items:center;border-radius:20px;box-shadow:0 12px 22px rgba(0,16,56,.27)}.ehr-login__brand-mark > svg{display:block;width:100%;height:100%}
.ehr-login__brand-word{display:block;color:#fff;font-size:42px;font-weight:900;line-height:1;letter-spacing:-.055em;white-space:nowrap;text-shadow:0 2px 8px rgba(0,17,54,.23)}.ehr-login__brand-word span,.ehr-login h1 span{color:#ffd052}.ehr-login__brand-word small{display:block;margin-top:9px;font-size:17px;font-weight:800;letter-spacing:.6em}
.ehr-login__secure{position:absolute;z-index:3;top:50px;right:69px;display:flex;align-items:center;gap:9px;color:#a8d2f4;font-size:10px;font-weight:700;letter-spacing:.045em}.ehr-login__secure-lock{display:grid;width:31px;height:31px;place-items:center;border-radius:50%;background:rgba(99,194,255,.12);color:#aedafa}.ehr-login__secure-lock svg{width:17px;height:17px}
.ehr-login__form-panel{position:relative;z-index:3;display:flex;width:49%;height:100%;flex-direction:column;padding:193px 20px 44px 73px;background:linear-gradient(90deg,#002f69 0%,#002e67 67%,rgba(0,48,103,.75) 88%,transparent 100%)}
.ehr-login__intro{max-width:420px}.ehr-login__eyebrow{display:flex;align-items:center;gap:16px;color:#27c6ff;font-size:11px;font-weight:900;letter-spacing:.27em}.ehr-login__eyebrow::before{width:31px;height:2px;background:#30d5ff;box-shadow:0 0 11px #30d5ff;content:""}
.ehr-login h1{margin:17px 0 5px;color:#fff;font-size:clamp(39px,4vw,54px);font-weight:900;line-height:1.07;letter-spacing:-.055em;white-space:nowrap}.ehr-login__intro p{margin:10px 0 28px;color:#bfdaf6;font-size:19px;font-weight:500;line-height:1.45}
.ehr-login__form{display:grid;gap:16px;width:100%;max-width:394px}
.ehr-login__field{display:flex;height:58px;align-items:center;overflow:hidden;border:1px solid #578fbe;border-radius:11px;background:#062b60;box-shadow:inset 0 1px 4px rgba(0,15,50,.17);transition:border-color .2s,box-shadow .2s}.ehr-login__field:focus-within{border-color:#8bd7fc;box-shadow:0 0 0 3px rgba(81,198,252,.16),0 0 18px rgba(55,174,243,.09)}
.ehr-login__field>svg{width:21px;height:21px;flex:0 0 21px;margin-left:16px;color:#b2d8f5}.ehr-login__field input{box-sizing:border-box;width:100%;height:100%;min-width:0;padding:0 14px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;caret-color:#fff;font:inherit;font-size:15px;appearance:none}.ehr-login__field input::placeholder{color:#9abfe0;opacity:1}.ehr-login__field input:-webkit-autofill,.ehr-login__field input:-webkit-autofill:hover,.ehr-login__field input:-webkit-autofill:focus{-webkit-text-fill-color:#fff!important;caret-color:#fff!important;transition:background-color 9999s ease-out 0s!important;box-shadow:0 0 0 100px #062b60 inset!important;border:0!important}.ehr-login__field input:-moz-autofill{background:#062b60!important;color:#fff!important}
.ehr-login__eye{display:grid;width:46px;height:100%;flex:0 0 46px;place-items:center;border:0;background:none;color:#b3daf7;cursor:pointer}.ehr-login__eye svg{width:21px;height:21px}.ehr-login__eye:hover{color:#fff}
.ehr-login__field-error{display:block;margin:-11px 0 0;color:#ffdc92;font-size:12px;line-height:1.4}
.ehr-login__options{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#cce2f7;font-size:13px}.ehr-login__remember{display:flex;align-items:center;gap:10px;cursor:pointer}.ehr-login__remember input{width:20px;height:20px;margin:0;accent-color:#eac762;cursor:pointer}.ehr-login__help-link{color:#2bcaff;text-decoration:underline;text-underline-offset:3px}
.ehr-login__submit{position:relative;display:flex;height:58px;align-items:center;justify-content:center;gap:18px;overflow:hidden;margin-top:11px;border:1px solid #ffec98;border-radius:12px;color:#211b12;background:linear-gradient(105deg,#fff29a,#ffdc6e 44%,#f7bb45);box-shadow:0 0 25px rgba(255,220,93,.19),0 10px 23px rgba(0,21,60,.18);font:inherit;font-size:18px;font-weight:900;letter-spacing:.045em;cursor:pointer;transition:transform .2s,box-shadow .2s}.ehr-login__submit::after{position:absolute;inset:0;width:32%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);content:"";transform:skewX(-22deg) translateX(-420%);animation:ehr-button-shine 5s ease-in-out infinite}.ehr-login__submit:hover{transform:translateY(-2px);box-shadow:0 0 36px rgba(255,220,93,.32),0 14px 29px rgba(0,21,60,.22)}.ehr-login__submit:disabled{opacity:.7;cursor:wait}.ehr-login__submit svg{width:23px;height:23px}
.ehr-login__support{width:100%;max-width:394px;margin-top:auto;padding-top:24px;text-align:center;color:#a9c9eb;font-size:13px}.ehr-login__support-rule{display:flex;align-items:center;gap:20px;white-space:nowrap}.ehr-login__support-rule::before,.ehr-login__support-rule::after{height:1px;flex:1;background:#5686b7;content:""}.ehr-login__support a,.ehr-login__support span{display:inline-block;margin-top:13px;color:#2bcbff}.ehr-login__support a{text-decoration:underline;text-underline-offset:3px}
@keyframes ehr-enter{from{opacity:0;transform:translateY(17px) scale(.987)}to{opacity:1;transform:none}}@keyframes ehr-twinkle{0%,100%{opacity:.4}50%{opacity:1}}@keyframes ehr-orbit{to{transform:rotate(360deg)}}@keyframes ehr-rays{from{opacity:.55}to{opacity:1}}@keyframes ehr-halo{from{opacity:.5;transform:scale(.96)}to{opacity:1;transform:scale(1.07)}}@keyframes ehr-art-float{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes ehr-button-shine{0%,75%,100%{transform:skewX(-22deg) translateX(-420%)}88%{transform:skewX(-22deg) translateX(480%)}}
@media(max-width:1100px){.ehr-login__card{height:720px}.ehr-login__form-panel{width:54%;padding-left:clamp(35px,5vw,73px)}.ehr-login__brand{left:clamp(35px,5vw,73px)}.ehr-login__brand-mark{width:70px;height:70px;flex-basis:70px}.ehr-login__brand-word{font-size:36px}.ehr-login h1{font-size:45px}.ehr-art{right:50px;width:545px;height:auto}}
@media(min-width:901px) and (max-width:1100px) and (orientation:portrait){.ehr-login{padding:32px 24px}.ehr-login__page-note,.ehr-login__outer-star{display:none}.ehr-login__card{width:min(820px,100%);height:auto;min-height:950px;border-radius:36px}.ehr-login__card::after{border-radius:34px}.ehr-login__art-stage{height:405px;inset:0 0 auto;background:radial-gradient(circle at 69% 40%,rgba(21,142,236,.42),transparent 54%),linear-gradient(180deg,#064d91,#073974)}.ehr-login__art-stage::after{position:absolute;inset:0;background:linear-gradient(90deg,#073974 0%,rgba(7,57,116,.82) 16%,transparent 61%),linear-gradient(0deg,#073974,transparent 25%);content:"";pointer-events:none}.ehr-art{top:-70px;right:40px;width:520px;height:auto}.ehr-art__metric{display:none}.ehr-login__brand{top:34px;left:42px}.ehr-login__secure{display:none}.ehr-login__form-panel{width:100%;height:auto;min-height:545px;margin-top:405px;padding:24px max(60px,calc((100% - 420px)/2)) 40px;background:linear-gradient(180deg,#073974,#002f68)}.ehr-login h1{font-size:48px}.ehr-login__intro p{margin-bottom:24px}}
@media(min-width:901px) and (max-width:1100px) and (orientation:landscape){.ehr-login{padding-block:18px}.ehr-login__card{height:min(720px,calc(100svh - 36px))}.ehr-art{top:54px;width:520px}}
@media(min-width:901px) and (max-height:800px){.ehr-login{padding-block:20px}}
@media(min-width:1101px) and (max-height:950px){.ehr-login__page-note--top{top:12px}.ehr-login__page-note--bottom{bottom:20px}}
@media(min-width:901px) and (max-height:820px){.ehr-login__page-note{display:none}}
@media(max-width:900px){.ehr-login{padding:32px 20px}.ehr-login__page-note,.ehr-login__outer-star{display:none}.ehr-login__card{width:min(690px,100%);height:auto;min-height:825px;border-radius:35px}.ehr-login__card::after{border-radius:33px}.ehr-login__art-stage{height:280px;inset:0 0 auto;background:radial-gradient(circle at 66% 44%,rgba(21,142,236,.42),transparent 58%),linear-gradient(180deg,#054d91,#063b78 85%,#073974)}.ehr-login__art-stage::after{position:absolute;inset:0;background:linear-gradient(90deg,#073974 0%,rgba(7,57,116,.94) 17%,transparent 54%),linear-gradient(0deg,#073974,transparent 30%);content:"";pointer-events:none}.ehr-art{top:-90px;right:-100px;width:650px;height:590px}.ehr-art__shop,.ehr-art__metric{display:none}.ehr-login__brand{top:30px;left:36px}.ehr-login__secure{display:none}.ehr-login__form-panel{width:100%;height:auto;min-height:545px;margin-top:280px;padding:24px max(46px,calc((100% - 394px)/2)) 34px;background:linear-gradient(180deg,#073974,#002f68)}.ehr-login h1{font-size:48px}.ehr-login__intro p{margin-bottom:24px}.ehr-login__support{margin-top:26px}}
@media(min-width:601px) and (max-width:900px) and (orientation:portrait){.ehr-login__card{min-height:905px}.ehr-login__art-stage{height:360px}.ehr-login__art-stage::after{background:linear-gradient(90deg,#073974 0%,rgba(7,57,116,.85) 13%,transparent 57%),linear-gradient(0deg,#073974,transparent 23%)}.ehr-art{top:-39px;right:3px;width:465px;height:auto}.ehr-art__shop{display:block}.ehr-login__form-panel{margin-top:360px}}
@media(max-width:600px){.ehr-login{min-height:100svh;align-items:flex-start;padding:12px 11px 20px}.ehr-login__card{min-height:calc(100svh - 32px);border-width:1px;border-radius:25px}.ehr-login__card::after{border-radius:24px}.ehr-login__art-stage{height:185px}.ehr-login__art-stage::after{background:linear-gradient(90deg,#073974 0%,rgba(7,57,116,.96) 34%,transparent 78%),linear-gradient(0deg,#073974,transparent 34%)}.ehr-art{top:-97px;right:-170px;width:450px;height:409px}.ehr-art__shop,.ehr-art__metric,.ehr-art__orbit,.ehr-art__diamond{display:none}.ehr-login__brand{top:20px;left:20px;gap:11px}.ehr-login__brand-mark{width:55px;height:55px;flex-basis:55px;border-radius:14px}.ehr-login__brand-word{font-size:29px}.ehr-login__brand-word small{margin-top:5px;font-size:11px}.ehr-login__form-panel{min-height:calc(100svh - 217px);margin-top:185px;padding:18px 21px 27px}.ehr-login__eyebrow{font-size:9px}.ehr-login h1{margin-top:12px;font-size:clamp(30px,8vw,41px)}.ehr-login__desktop-break{display:none}.ehr-login__intro p{margin:8px 0 21px;font-size:15px}.ehr-login__form{max-width:none;gap:13px}.ehr-login__field{height:55px}.ehr-login__options{font-size:12px}.ehr-login__submit{height:56px;margin-top:5px}.ehr-login__support{max-width:none;margin-top:auto;padding-top:25px}}
@media(max-width:360px){.ehr-login__form-panel{padding-inline:16px}.ehr-login h1{font-size:30px}.ehr-login__options{align-items:flex-start;flex-direction:column;gap:6px}}
@media(prefers-reduced-motion:reduce){.ehr-login__card,.ehr-login__outer-star,.ehr-art__halo,.ehr-art__orbit,.ehr-art__orbit-ring,.ehr-art__rays,.ehr-art__medallion,.ehr-art__shop,.ehr-art__metric,.ehr-art__sparkles,.ehr-art__diamond,.ehr-login__submit::after{animation:none!important}.ehr-login__submit{transition:none}}
/* EasyHR adaptations: natural scroll, semantic fields, and keyboard feedback. */
.ehr-login{color-scheme:light;--ehr-primary:#0c5da3;--ehr-gold:#ffd052;--ehr-field:#062b60}
.ehr-login__card{height:auto;min-height:770px}
.ehr-login__form-panel{min-height:770px;padding-bottom:42px}
.ehr-login__form{gap:14px}
.ehr-login__label{display:block;margin-bottom:7px;color:#dcecff;font-size:12px;font-weight:600;letter-spacing:.01em}
.ehr-login__intro p{font-size:17px;line-height:1.6;margin-bottom:24px}
.ehr-login__brand-word small{letter-spacing:.38em;font-size:11px;margin-top:11px}
.ehr-login__brand-mark{color:#063d76;background:linear-gradient(140deg,#fff5ad,#ffd052 60%,#bb7414)}
.ehr-login__brand-mark svg{width:54px;height:54px}
.ehr-login__field[aria-invalid=true]{border-color:#ffdc92}
.ehr-login__field-error{margin:6px 0 0}
.ehr-login__eye:focus-visible,.ehr-login__submit:focus-visible,.ehr-login a:focus-visible{outline:3px solid #8bd7fc;outline-offset:4px}
.ehr-login__form-panel [x-cloak]{display:none!important}
.ehr-login__submit .ehr-login__spinner{display:none}
.ehr-login__submit[disabled] .ehr-login__spinner{display:block;animation:ehr-spin .8s linear infinite}
.ehr-login__submit[disabled] .ehr-login__arrow{display:none}
.ehr-login__trust{display:flex;align-items:center;gap:7px;color:#91b9db;font-size:11px;line-height:1.5;margin-top:17px}
.ehr-login__trust svg{width:14px;height:14px;flex:none}
.ehr-login__support{padding-top:22px;margin-top:22px}
.ehr-login__art-caption{position:absolute;right:91px;bottom:55px;z-index:2;text-align:center;color:#a4c9e8;font-size:12px;line-height:1.7;letter-spacing:.02em}
.ehr-login__art-caption strong{display:block;color:#fff;font-size:22px;letter-spacing:-.025em}
@keyframes ehr-spin{to{transform:rotate(360deg)}}
@media(min-width:901px){.ehr-login__art-stage .ehr-art{top:48px;right:-4px;width:650px}.ehr-login__form-panel{width:49%}.ehr-login__secure{right:45px;font-size:9px}.ehr-login__brand{top:58px}}
@media(max-width:1100px) and (min-width:901px){.ehr-login__card,.ehr-login__form-panel{min-height:730px}.ehr-login__form-panel{width:53%;padding-top:180px}.ehr-login__art-stage .ehr-art{right:-70px;top:96px;width:570px}.ehr-login__art-caption{right:40px;bottom:55px}}
@media(max-width:900px){.ehr-login__card{min-height:0}.ehr-login__form-panel{min-height:0;padding-top:20px;padding-bottom:34px}.ehr-login__art-caption{display:none}.ehr-login__intro p{font-size:16px}.ehr-login__support{margin-top:24px}}
@media(min-width:901px) and (max-width:1100px) and (orientation:portrait){.ehr-login__form-panel{width:100%;min-height:0;padding-top:24px}.ehr-login__art-stage .ehr-art{top:-70px;right:40px;width:520px}.ehr-login__art-caption{display:none}}
@media(max-width:600px){.ehr-login__card{min-height:calc(100svh - 32px)}.ehr-login__form-panel{min-height:calc(100svh - 217px);padding-top:16px}.ehr-login__intro p{font-size:15px}.ehr-login__form{gap:12px}.ehr-login__support{margin-top:22px;padding-top:14px}.ehr-login__label{font-size:12px;margin-bottom:6px}.ehr-login__brand-mark svg{width:37px;height:37px}}
@media(prefers-reduced-motion:reduce){.ehr-login *,.ehr-login *::before,.ehr-login *::after{animation:none!important;transition:none!important}.ehr-login__submit:hover{transform:none}}
@media(max-width:600px){.ehr-login__brand-word small{font-size:9px;letter-spacing:.22em}.ehr-login h1{font-size:clamp(29px,7.9vw,41px)}}

/* Restore the first EasyHR adaptation: team emblem, workplace card and team pass. */
.ehr-login__art-stage .ehr-art--original{height:auto;aspect-ratio:760/690}
@media(min-width:1101px){.ehr-login__art-stage .ehr-art--original{top:50%;right:20px;width:51%;max-width:610px;transform:translateY(-57%)}}
@media(min-width:901px) and (max-width:1100px) and (orientation:landscape){.ehr-login__art-stage .ehr-art--original{top:50%;right:12px;width:47%;transform:translateY(-50%)}}
@media(min-width:901px) and (max-width:1100px) and (orientation:portrait){.ehr-login__art-stage{--ehr-login-art-width:420px;height:calc(154px + 420px*690/760)}.ehr-login__art-stage .ehr-art--original{top:144px;left:50%;right:auto;width:var(--ehr-login-art-width);transform:translateX(-50%)}.ehr-login__form-panel{margin-top:calc(154px + 420px*690/760)}.ehr-login__art-stage::after{background:none}}
@media(min-width:601px) and (max-width:900px){.ehr-login__art-stage{--ehr-login-art-width:360px;height:calc(110px + 360px*690/760)}.ehr-login__art-stage .ehr-art--original{top:100px;left:50%;right:auto;width:var(--ehr-login-art-width);transform:translateX(-50%)}.ehr-login__form-panel{margin-top:calc(110px + 360px*690/760)}.ehr-login__art-stage::after{background:none}}
.ehr-art--original .ehr-art__shop,.ehr-art--original .ehr-art__metric,.ehr-art--original .ehr-art__orbit,.ehr-art--original .ehr-art__diamond{display:block}
/* Keep the complete original scene below the wordmark on phones. */
@media(max-width:600px){.ehr-login__art-stage{height:calc(102px + min(100vw - 48px,300px)*690/760)}.ehr-login__art-stage .ehr-art--original{top:90px;left:50%;right:auto;width:min(calc(100vw - 48px),300px);transform:translateX(-50%)}.ehr-login__form-panel{margin-top:calc(102px + min(100vw - 48px,300px)*690/760);min-height:0}.ehr-login__art-stage::after{background:none}}
