html{--unit-dark:#76151f;--unit-light:#a72030;--unit-button:#aa1f2c}
html[data-hcns-unit="VFH"]{--unit-dark:#0b1627;--unit-light:#263e60;--unit-button:#173b66}
html[data-hcns-unit="THB"]{--unit-dark:#641a22;--unit-light:#a73b3f;--unit-button:#a72432}
html[data-hcns-unit="TBS"]{--unit-dark:#eb0a1e;--unit-light:#eb0a1e;--unit-button:#eb0a1e}
app-login .login-container{background:#e9edf3!important;min-height:100vh!important;display:flex!important;align-items:center;justify-content:center}
app-login .login-form{box-sizing:border-box;position:relative;width:min(1030px,calc(100vw - 32px))!important;max-width:1030px!important;min-height:600px!important;padding:115px 7% 80px 54%!important;border-radius:18px!important;background:#fff!important;box-shadow:0 20px 50px #0b254a30!important;overflow:hidden}
app-login .login-form form>img.logo{display:none!important}
app-login .hcns-brand-panel{position:absolute;left:0;top:0;bottom:0;width:48%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:radial-gradient(ellipse at 50% 40%,var(--unit-light),var(--unit-dark));font-family:"Segoe UI",Arial,sans-serif;text-align:center;padding:30px}
app-login .hcns-logo{width:225px;height:150px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:20px}
app-login .hcns-logo img{width:100%;height:100%;object-fit:contain}
html[data-hcns-unit="VFH"] app-login .hcns-logo{background:transparent}
html[data-hcns-unit="VFH"] app-login .hcns-logo img{width:190px;height:125px;object-fit:cover;object-position:top}
app-login .hcns-brand-name{font-size:28px;font-weight:650;line-height:1.2}
app-login .hcns-brand-subtitle{font-size:14px;color:#e4e7ed;margin-top:9px}
app-login .hcns-login-heading{font:650 32px/1.2 "Segoe UI",Arial,sans-serif;color:#13253c;text-align:left;margin:0 0 26px}
app-login .login-form input.ant-input{height:46px;border-radius:7px}
app-login .login-form .login-form-button{height:46px!important;border-radius:7px!important;background:var(--unit-button)!important;border-color:var(--unit-button)!important}
@media(max-width:700px){
 app-login .login-container{align-items:flex-start}
 app-login .login-form{margin:20px auto!important;min-height:0!important;padding:220px 22px 28px!important;border-radius:16px!important}
 app-login .hcns-brand-panel{right:0;bottom:auto;width:100%;height:190px;padding:15px}
 app-login .hcns-logo{width:140px;height:80px;margin-bottom:8px}
 html[data-hcns-unit="VFH"] app-login .hcns-logo img{width:105px;height:62px}
 app-login .hcns-brand-name{font-size:21px}
 app-login .hcns-brand-subtitle{font-size:12px;margin-top:4px}
 app-login .hcns-login-heading{font-size:26px;margin-bottom:20px}
}
app-login .hcns-logo{background-size:contain;background-position:center;background-repeat:no-repeat}
html[data-hcns-unit="VFH"] app-login .hcns-logo{background-image:url('/hrm-brand/vinfast.png');background-size:130% auto;background-position:center top}
html[data-hcns-unit="VFH"] app-login .hcns-logo img{visibility:hidden}
app-login .login-form input[formcontrolname]{height:46px!important;border-radius:7px!important}
app-login .login-form .login-form-button:not([disabled]){background:var(--unit-button)!important;border-color:var(--unit-button)!important}
html[data-hcns-unit="VFH"] app-login .hcns-logo{background-size:110% auto}
app-login .login-form button.login-form-button[disabled]{background:#d5dce5!important;border-color:#d5dce5!important;color:#465971!important}
app-login .hcns-field-label{display:block;color:#162d49;font:600 14px/1.4 "Segoe UI",Arial,sans-serif;margin:14px 0 6px}
app-login .hcns-login-footer{text-align:center;color:#657891;font:12px "Segoe UI",Arial,sans-serif;margin-top:65px}
app-login .login-container + *{display:none}
@media(max-width:700px){app-login .hcns-login-footer{margin-top:45px}}
app-login .app-info{display:none!important}
@media(max-width:767px){
.vfh-timesheet-grid table{width:1666px!important;table-layout:fixed!important}
.vfh-timesheet-grid .vfh-directory-room,
.vfh-timesheet-grid tr:first-child th:first-child{width:140px!important}
.vfh-timesheet-grid .user-detail,
.vfh-timesheet-grid thead tr:first-child th:nth-child(2){width:170px!important}
.vfh-timesheet-grid .code-row{width:54px!important}
.vfh-timesheet-grid .vfh-work-day,.vfh-timesheet-grid .work-cell{
width:42px!important;min-width:42px!important}
.vfh-timesheet-grid .ui-table-scrollable-body{overflow-x:auto!important;
-webkit-overflow-scrolling:touch;max-height:60vh!important}
}
