
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--navy-dark);
}
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.875rem;
}
a {
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffb777;
  outline-offset: 3px;
}
button {
  touch-action: manipulation;
}
.login-scene {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--navy-dark) url("../images/construction.png") center/cover
    no-repeat;
  padding: clamp(24px, 3.2vw, 64px);
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 128px);
  width: 100%;
  max-width: var(--layout-max-width);
  margin-inline: auto;
}
.hero {
  color: white;
  min-width: 0;
  max-width: 600px;
}
.hero-brand {
  display: block;
  width: clamp(170px, 15vw, 230px);
  background: white;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 0 0 28px 34px;
}
.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  object-fit: contain;
}
.hero h1 {
  font-size: clamp(26px, 2.05vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.7px;
  font-weight: 750;
  margin: 0 0 14px;
}
.hero h1 span {
  display: block;
  color: #ff8b29;
}
.hero p {
  max-width: 395px;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.5;
  margin: 0;
  color: #e4edf7;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 420px;
  margin-top: 26px;
}
.feature {
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}
.feature i {
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #ff8b29;
  width: 62px;
  height: 60px;
  margin: 0 auto 8px;
  border: 1px solid #346385;
  border-radius: 7px;
  background: #06284966;
}
.hero-footer {
  position: relative;
  margin-top: 64px;
  padding-left: 19px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 650;
  line-height: 1.8;
}
.hero-footer:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: 29px;
  background: var(--orange);
}
.login-card {
  width: 100%;
  max-width: var(--login-card-max-width);
  justify-self: end;
  min-width: 0;
  padding: 26px 30px 22px;
  background: #fffffffa;
  border-radius: 12px;
  box-shadow: 0 18px 60px #00172a30;
}
.card-logo {
  display: block;
  width: 172px;
  max-width: 70%;
  height: auto;
  aspect-ratio: 2;
  object-fit: contain;
  margin: 0 auto 17px;
}
.login-card h2 {
  text-align: center;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.5px;
  margin: 0 0 5px;
}
.subtitle {
  text-align: center;
  color: #52627b;
  font-size: 12px;
  margin: 0 0 25px;
}
.field {
  margin-bottom: 17px;
}
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin: 0 0 7px;
}
.input-wrap {
  position: relative;
}
.input-wrap > .bi {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #263d58;
  pointer-events: none;
}
.input-wrap .form-control {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 10px 42px 10px 37px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: linear-gradient(white, #fbfcfe);
  color: var(--text);
}
.form-control::placeholder {
  color: #8290a3;
}
.form-control:focus {
  border-color: #7e9fbe;
  box-shadow: 0 0 0 3px #06284910;
}
.form-control[aria-invalid="true"] {
  border-color: #c93838;
}
.password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #53647a;
  font-size: 15px;
  border-radius: 6px;
}
.field-error {
  font-size: 11px;
  color: #b42318;
  margin: 6px 0 0;
}
.field-error:empty {
  display: none;
}
.login-options {
  font-size: 10px;
  margin: 0 0 18px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}
.remember input {
  float: none;
  margin: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.remember input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}
.text-button {
  color: #ba4c05;
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  font-size: inherit;
}
.sign-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(110deg, #ff7d20, #ff7011);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.sign-in:hover,
.sign-in:focus-visible {
  background: #e7650c;
  color: white;
}
.sign-in:disabled {
  background: #d56011;
  color: #fff;
}


.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: #738198;
  margin: 20px 0 16px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}
.google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: #24364d;
  font-size: 11px;
  font-weight: 600;
}
.google:hover {
  background: #f7f9fc;
  border-color: #afc0d3;
}
.google .bi {
  color: #4285f4;
  font-size: 17px;
}
.login-foot {
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  color: #5a6b80;
  margin: 17px 0 0;
}
.login-foot a {
  color: #bc4d06;
  font-weight: 500;
}
.login-foot a:hover {
  text-decoration: underline;
}
.helper-note,
.form-status {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 10px 0 0;
}
.form-status:empty {
  display: none;
}
.form-status a {
  display: inline-block;
  color: #0c659f;
  font-weight: 650;
  margin-top: 5px;
}
.login-layout > * {
  min-width: 0;
}
