:root {
  --navy: #071d38;
  --blue: #1557a5;
  --orange: #f96518;
  --paper: #faf9f5;
  --ink: #14283e;
  --muted: #65788a;
  --line: #dce5ec;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
}
button, input { font: inherit; }
.login-layout {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
}
.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(32px, 5vw, 82px);
  color: #fff;
  background:
    radial-gradient(circle at 87% 21%, rgba(29, 129, 201, .42), transparent 31%),
    radial-gradient(circle at 4% 90%, rgba(12, 89, 156, .65), transparent 36%),
    linear-gradient(145deg, #071d38 0%, #082a50 62%, #0b4774 100%);
}
.brand-panel::before {
  position: absolute;
  z-index: -1;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  top: 20%;
  right: -38%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(255, 255, 255, .025), 0 0 0 200px rgba(255, 255, 255, .02);
  content: "";
}
.brand-panel::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .21;
  background-image: radial-gradient(rgba(255, 255, 255, .5) .7px, transparent .7px);
  background-size: 25px 25px;
  mask-image: linear-gradient(to bottom, transparent 6%, #000 80%);
  content: "";
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
}
.brand-mark img {
  display: block;
  width: 61px;
  height: 61px;
  padding: 5px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}
.brand-name {
  display: grid;
  gap: 1px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.brand-name span:last-child {
  color: #ff8b4a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.brand-message { max-width: 660px; padding: 56px 0 70px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffae7d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 2px; background: var(--orange); content: ""; }
.brand-message h1 {
  margin: 21px 0 25px;
  font-family: "Barlow Condensed", "Trebuchet MS", sans-serif;
  font-size: clamp(72px, 7.9vw, 124px);
  font-weight: 700;
  line-height: .87;
  letter-spacing: -.022em;
  text-transform: uppercase;
}
.brand-message h1 span { color: #ff7930; }
.brand-message p {
  max-width: 490px;
  margin: 0;
  color: #c2d5e5;
  font-size: 16px;
  line-height: 1.75;
}
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #b5cce0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.route {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  white-space: nowrap;
}
.route-line {
  width: 62px;
  height: 1px;
  border-top: 1px dashed rgba(255, 255, 255, .55);
}
.route-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(249, 101, 24, .15);
}
.form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px clamp(28px, 6vw, 110px);
  background:
    radial-gradient(circle at 90% 4%, rgba(249, 101, 24, .08), transparent 28%),
    var(--paper);
}
.form-content { width: min(100%, 430px); }
.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.form-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.form-content h2 {
  margin: 21px 0 9px;
  font-family: "Barlow Condensed", "Trebuchet MS", sans-serif;
  font-size: clamp(50px, 4.6vw, 66px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.015em;
}
.form-intro {
  margin: 0 0 39px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.login-alert {
  display: block;
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid #f5c8b5;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: #fff2ec;
  color: #8c3d21;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 9px;
  color: #263a4d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.input-wrap { position: relative; }
.input-wrap svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 19px;
  height: 19px;
  color: #8fa1b0;
  transform: translateY(-50%);
  pointer-events: none;
}
.login-input {
  display: block;
  width: 100%;
  height: 57px;
  padding: 0 16px 0 51px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
}
.login-input::placeholder { color: #a0adba; font-weight: 500; }
.login-input:hover { border-color: #b4c7d6; }
.login-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 87, 165, .11);
}
.login-submit {
  display: block;
  width: 100%;
  min-height: 57px;
  margin-top: 32px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 15px 28px rgba(249, 101, 24, .18);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.login-submit:hover { background: #e9580d; transform: translateY(-2px); box-shadow: 0 18px 30px rgba(249, 101, 24, .24); }
.login-submit:active { transform: translateY(0); }
.login-submit:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.form-bottom {
  margin-top: 61px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: #95a1ac;
  font-size: 11px;
  text-align: center;
}
.login-progress {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 29, 56, .5);
  backdrop-filter: blur(3px);
}
.login-progress-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 21px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .18);
}
.login-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #fbd3bd;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 920px) {
  .login-layout { grid-template-columns: 1fr; }
  .brand-panel { min-height: 350px; padding: 30px clamp(26px, 6vw, 70px); }
  .brand-message { padding: 35px 0 24px; }
  .brand-message h1 { font-size: clamp(60px, 12vw, 92px); margin: 15px 0; }
  .brand-message p { font-size: 14px; }
  .brand-footer { display: none; }
  .form-panel { padding: 62px 28px 70px; }
  .form-bottom { margin-top: 48px; }
}
@media (max-width: 540px) {
  .brand-panel { min-height: 266px; padding: 22px 24px; }
  .brand-mark img { width: 48px; height: 48px; border-radius: 14px; }
  .brand-name { font-size: 16px; }
  .brand-name span:last-child { font-size: 10px; }
  .brand-message { padding: 25px 0 0; }
  .brand-message h1 { font-size: clamp(52px, 13vw, 72px); }
  .brand-message p { display: none; }
  .form-panel { align-items: flex-start; padding: 40px 24px 50px; }
  .form-content h2 { font-size: 52px; }
  .form-intro { margin-bottom: 27px; }
  .form-bottom { margin-top: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
