@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-regular.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/inter-medium.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/inter-semibold.ttf") format("truetype");
}

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #122033;
  font-synthesis: none;
  --ui-scale: 1;
  --blue: #008cf2;
  --muted: #4d607b;
}

* { box-sizing: border-box; }
body { margin: 0; background: #071b2c; }
button, input, select { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, select { outline: none; }
button:focus-visible, select:focus-visible { outline: 3px solid #008cf2; outline-offset: 5px; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(90deg, rgb(0 12 25 / 76%) 0%, rgb(0 21 39 / 52%) 29%, rgb(3 24 45 / 12%) 60%, rgb(6 25 43 / 5%) 100%), url("/assets/data-center.png") center / cover no-repeat;
}
.retail-brand { position: absolute; top: 28px; left: 32px; z-index: 1; }
.retail-brand img { display: block; width: 190px; height: auto; }
.scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1536px;
  height: 1024px;
  transform: translate(-50%, -50%) scale(var(--ui-scale));
}
.brand { position: absolute; top: 126px; left: 136px; width: 395px; color: #f6f8fc; }
.brand-mark { width: 166px; height: 130px; margin-left: 44px; }
.brand-name { margin: 7px 0 17px; font-size: 58px; font-weight: 400; line-height: 1.02; letter-spacing: -2.1px; }
.brand-name span { color: #009cf5; }
.brand-description { margin: 20px 0 46px 3px; font-size: 27px; line-height: 1.28; font-weight: 400; color: #bdcbe0; letter-spacing: .1px; }
.features { display: grid; gap: 29px; list-style: none; padding: 0; margin: 0; }
.features li { display: flex; gap: 40px; align-items: flex-start; min-height: 50px; }
.feature-icon { width: 43px; height: 43px; flex-shrink: 0; color: #64a8ff; stroke-width: 1.65; margin-top: 1px; }
.features h2 { margin: 0 0 3px; font-size: 18px; line-height: 1.5; font-weight: 400; }
.features p { margin: 0; font-size: 15px; line-height: 1.45; color: #bfccde; white-space: nowrap; }
.brand-tagline { width: 334px; margin: 51px 0 0; border-top: 1px solid rgb(179 201 220 / 54%); padding-top: 25px; color: #c7d5e6; font-size: 18px; line-height: 1.5; letter-spacing: 2.4px; white-space: nowrap; }

.login-card {
  position: absolute;
  top: 196px;
  left: 896px;
  width: 558px;
  min-height: 610px;
  padding: 68px 60px 36px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(244 248 255 / 94%), rgb(247 248 252 / 95%) 43%, rgb(226 235 249 / 94%));
  box-shadow: 0 20px 36px rgb(0 13 37 / 20%), inset 0 1px 0 rgb(255 255 255 / 65%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.welcome { margin: 0 0 3px; color: #41526d; font-size: 22px; line-height: 1.5; }
.login-heading h2 { margin: 0; font-size: 42px; font-weight: 600; line-height: 1.257; letter-spacing: -1.6px; white-space: nowrap; }
.login-heading h2 span { color: #008bf1; }
.login-description { margin: 12px 0 36px; font-size: 20px; line-height: 1.5; color: #50617b; white-space: nowrap; }
.input-field { height: 58px; display: flex; align-items: center; border: 1px solid #c6cfdf; border-radius: 6px; background: rgb(255 255 255 / 66%); color: #475b76; transition: border-color .15s, box-shadow .15s; }
.input-field:focus-within { border-color: #008cf2; box-shadow: 0 0 0 3px rgb(0 140 242 / 13%); }
.input-icon { width: 24px; height: 24px; flex: 0 0 24px; margin: 0 17px; }
.username-field .input-icon { margin-right: 11px; }
.username-field input { border-left: 1px solid #dce2ec; padding-left: 10px; }
.input-field input { width: 100%; min-width: 0; height: 30px; padding-top: 0; padding-bottom: 0; padding-right: 12px; border: 0; background: transparent; font-size: 18px; color: #1b2b43; border-radius: 0; }
.input-field input::placeholder { color: #9ba9bf; opacity: 1; }
.password-field { margin-top: 22px; }
.password-field input { padding-left: 0; }
.password-toggle { display: grid; place-items: center; flex: 0 0 46px; align-self: stretch; border: 0; padding: 0; margin-right: 7px; color: #40536d; background: transparent; border-radius: 4px; }
.password-toggle svg { width: 23px; height: 23px; }
.password-toggle:hover { color: #007ee4; }
.form-options { display: flex; justify-content: space-between; align-items: center; margin: 23px 0 28px; height: 25px; font-size: 16px; color: #354761; }
.remember { display: flex; align-items: center; gap: 13px; cursor: pointer; position: relative; }
.remember input { position: absolute; left: 0; width: 20px; height: 20px; margin: 0; opacity: 0; }
.checkbox-art { width: 19px; height: 19px; border: 1px solid #6b809b; border-radius: 3px; background: rgb(255 255 255 / 57%); display: grid; place-items: center; }
.remember input:checked + .checkbox-art { background: #007ce6; border-color: #007ce6; }
.remember input:checked + .checkbox-art::after { content: ""; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.remember input:focus-visible + .checkbox-art { outline: 3px solid #008cf2; outline-offset: 4px; }
.text-button { color: #0063e7; background: none; border: none; padding: 0; font-size: 16px; }
.text-button:hover { text-decoration: underline; }
.sign-in-button { display: block; width: 100%; height: 58px; border: 0; border-radius: 8px; background: linear-gradient(105deg, #0063ce 0%, #006ee4 49%, #00a8ec 100%); color: white; font-size: 21px; font-weight: 500; box-shadow: 0 9px 16px rgb(0 100 201 / 10%); transition: filter .15s, box-shadow .15s; }
.sign-in-button:hover { filter: brightness(1.07); box-shadow: 0 9px 18px rgb(0 100 201 / 19%); }
.sign-in-button:active { filter: brightness(.95); }
.form-status { margin: 13px 0 0; font-size: 14px; color: #854400; line-height: 1.5; }
.form-status[hidden] { display: none; }
.language-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 43px; height: 22px; color: #4b607d; position: relative; }
.language-control > svg:first-child { width: 20px; height: 20px; }
.language-control select { cursor: pointer; appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit; font-size: 13px; width: 85px; padding: 1px 0; }
.language-control:has(select[value="ms-MY"]) select { width: 104px; }
.language-chevron { width: 13px; height: 13px; margin-left: -8px; pointer-events: none; }
.copyright { position: absolute; bottom: 26px; left: 0; width: 100%; padding: 0 24px; color: #c4d2e5; font-size: 13px; line-height: 1.65; text-align: center; text-wrap: balance; }

#help-dialog { width: min(440px, calc(100% - 36px)); padding: 34px; border: 1px solid #d9e1ee; border-radius: 18px; background: #f5f8fd; color: #15263f; box-shadow: 0 20px 90px rgb(0 10 30 / 35%); }
#help-dialog::backdrop { background: rgb(0 15 33 / 65%); backdrop-filter: blur(5px); }
#help-dialog h2 { font-size: 23px; font-weight: 600; margin: 7px 28px 12px 0; }
#help-dialog p { color: #526680; line-height: 1.65; font-size: 16px; margin: 0 0 25px; }
#help-dialog .sign-in-button { height: 46px; font-size: 17px; }
.dialog-close { position: absolute; top: 14px; right: 14px; border: 0; background: transparent; color: #526680; padding: 5px; border-radius: 4px; }
.dialog-close svg { width: 22px; height: 22px; }

@media (max-width: 900px), (max-height: 580px) {
  .page { min-height: 100svh; padding: 110px 20px 35px; overflow: visible; background-attachment: fixed; }
  .retail-brand { top: 18px; left: 20px; }
  .retail-brand img { width: 150px; }
  .scene { position: relative; top: auto; left: auto; width: auto; height: auto; transform: none; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .brand { position: static; display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; }
  .brand-mark { width: 71px; height: 60px; margin: 0; }
  .brand-name { font-size: 30px; letter-spacing: -.8px; margin: 0; line-height: 1.08; }
  .brand-description, .features, .brand-tagline { display: none; }
  .login-card { position: relative; top: auto; left: auto; width: 100%; max-width: 558px; min-height: 0; padding: 38px 38px 30px; border-radius: 19px; }
  .welcome { font-size: 19px; }
  .login-heading h2 { font-size: 35px; letter-spacing: -1.4px; }
  .login-description { font-size: 17px; margin-bottom: 30px; }
  .language-control { margin-top: 30px; }
  .copyright { position: static; max-width: 558px; margin: 28px auto 0; padding: 0; font-size: 12px; }
}

@media (max-width: 480px) {
  .page { padding: 110px 18px 26px; }
  .retail-brand { left: 18px; }
  .scene { gap: 23px; }
  .login-card { padding: 31px 24px 26px; }
  .login-heading h2 { font-size: clamp(22px, 6.9vw, 32px); letter-spacing: -1px; }
  .welcome { font-size: 18px; }
  .login-description { font-size: clamp(13px, 3.65vw, 17px); white-space: normal; margin: 12px 0 27px; }
  .input-field { height: 55px; }
  .input-field input { font-size: 16px; }
  .input-icon { width: 22px; height: 22px; flex-basis: 22px; margin-left: 13px; margin-right: 12px; }
  .password-field { margin-top: 17px; }
  .form-options { font-size: 14px; margin: 21px 0 25px; }
  .remember { gap: 8px; }
  .text-button { font-size: 14px; }
  .sign-in-button { height: 55px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
