:root {
  --navy: #09294f;
  --blue: #1d70b8;
  --pale: #e9f3fb;
  --ink: #17283b;
  --muted: #6b7b8d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #061e3a 0%, #0d3968 48%, #ddecf8 48%);
  display: grid;
  place-items: center;
  padding: 28px;
}
.login-shell {
  width: min(1050px, 100%);
  min-height: 620px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 80px #001a3470;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
}
.login-brand {
  padding: 70px;
  background: linear-gradient(145deg, #0b2c55, #104a80);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.login-brand:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 50px solid #ffffff0c;
  border-radius: 50%;
  right: -100px;
  bottom: -100px;
}
.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(145deg, #38a3e8, #e8f6ff);
  color: #0b2c55;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 27px;
  box-shadow: 0 12px 30px #001a3440;
}
.eyebrow {
  font-size: 12px !important;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #67b9ef !important;
  margin: 28px 0 8px !important;
}
.login-brand h1 {
  font-size: 38px;
  line-height: 1.12;
  margin: 0 0 18px;
}
.login-brand > p {
  font-size: 17px;
  line-height: 1.7;
  color: #d8ebfa;
  max-width: 520px;
}
.trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 13px;
  color: #d8ebfa;
}
.login-card {
  padding: 65px 58px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.login-card h2 {
  font-size: 30px;
  margin: 0 0 6px;
}
.login-card > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 28px;
}
.login-card label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}
.login-card input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #cfdae5;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  outline: 0;
}
.login-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #1d70b818;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 22px;
  font-size: 13px;
}
.row .check {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin: 0;
  font-weight: 500;
}
.row a,
.back {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}
.login-card button {
  border: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 12px;
  padding: 15px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 10px 22px #1d70b830;
  transition:
    transform 0.15s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.login-card button:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px #1d70b842;
}
.login-card button:active {
  transform: translateY(0);
  box-shadow: 0 7px 16px #1d70b82b;
}
.login-card button:focus-visible {
  outline: 3px solid #5db9ef;
  outline-offset: 3px;
}
.notice {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 13px;
}
.notice.error {
  background: #fff0f0;
  color: #9f2020;
  border: 1px solid #ffd0d0;
}
.notice.success {
  background: #edf9f1;
  color: #176c3a;
  border: 1px solid #c9efd6;
}
.login-card footer {
  font-size: 11px;
  color: #8493a2;
  margin-top: 34px;
  text-align: center;
}
@media (max-width: 760px) {
  body {
    padding: 14px;
    background: #08274a;
  }
  .login-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
  }
  .login-brand {
    padding: 30px;
  }
  .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 20px;
  }
  .login-brand h1 {
    font-size: 24px;
  }
  .login-brand > p,
  .trust {
    display: none;
  }
  .login-card {
    padding: 34px 26px;
  }
  .login-card .eyebrow {
    margin-top: 0 !important;
  }
  .login-card h2 {
    font-size: 26px;
  }
}
