@import url("theme.css");

:root {
  --navy: #123a5c;
  --navy-deep: #0b2b45;
  --blue: #1f6fad;
  --orange: #e88918;
  --line: #d7e1e8;
  --muted: #667784;
}
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(31, 111, 173, 0.14), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(232, 137, 24, 0.12), transparent 28%), #f2f6f8;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: min(33vw, 500px);
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.box {
  box-sizing: border-box;
  width: min(calc(100vw - 24px), 420px);
  padding: 38px;
  border: 1px solid rgba(215, 225, 232, 0.95);
  border-top: 5px solid var(--orange);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(11, 43, 69, 0.16);
}
h1 {
  color: var(--navy-deep);
  font-size: 28px;
  letter-spacing: -0.025em;
}
.subtitle {
  color: var(--muted);
  margin-bottom: 27px;
}
label {
  color: #344c5e;
  font-size: 14px;
}
input {
  min-height: 50px;
  border: 1.5px solid #cbd7df;
  border-radius: 11px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 173, 0.12);
}
button {
  min-height: 50px;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(18, 58, 92, 0.15);
}
button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.passkey {
  background: #edf3f7;
  color: var(--navy);
  box-shadow: none;
}
.divider {
  color: #83919b;
}
.box > .theme-picker {
  margin-top: 22px;
}
.environment-badge {
  position: fixed;
  top: 0;
  right: 24px;
  padding: 8px 13px;
  border-radius: 0 0 10px 10px;
  background: #fff3e2;
  color: #824500;
  border: 1px solid #f1b35f;
  border-top: 0;
  font-size: 12px;
  font-weight: 800;
  z-index: 10;
}
@media (max-width: 760px) {
  body::before {
    width: 100%;
    height: 210px;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
  }
  .box {
    margin-top: 48px;
    padding: 29px 24px;
  }
  .environment-badge {
    right: 12px;
  }
}
