:root {
  --blue: #006cae;
  --blue-dark: #004d83;
  --navy: #063c64;
  --teal: #00a99d;
  --white: #ffffff;
  --line: rgba(255, 255, 255, .26);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--blue-dark);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
  background: var(--navy);
}

.login-page::before {
  content: "CV";
  position: absolute;
  right: -40px;
  bottom: -150px;
  color: rgba(255, 255, 255, .045);
  font-size: 460px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.login-page::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  background: var(--blue);
  opacity: .72;
  pointer-events: none;
}

.login-panel {
  width: min(540px, 100%);
  position: relative;
  z-index: 2;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 55, 94, .72);
  box-shadow: 0 24px 70px rgba(0, 27, 52, .28);
  backdrop-filter: blur(10px);
}

.login-logo {
  width: 238px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}

.login-copy { margin-bottom: 25px; }

.login-eyebrow {
  margin: 0 0 10px;
  color: #8be1da;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.login-copy > p:last-child {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.login-form { display: grid; gap: 8px; }

.login-form label {
  margin-top: 5px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
}

.login-form input,
.login-form button {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  font: inherit;
}

.login-form input {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  outline: 0;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.login-form input::placeholder { color: rgba(255, 255, 255, .48); }

.login-form input:focus {
  border-color: #70d8d0;
  box-shadow: 0 0 0 3px rgba(0, 169, 157, .2);
}

.login-form button {
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid #65d7cf;
  background: var(--teal);
  color: #032f4c;
  font-weight: 900;
  cursor: pointer;
}

.login-form button:hover { background: #21c0b5; }

.login-error {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #ffb7b1;
  background: rgba(132, 24, 24, .36);
  color: #ffe4e1;
  font-size: 12px;
}

@media (max-width: 560px) {
  .login-page { padding: 14px; }
  .login-panel { padding: 28px 22px; }
  .login-logo { width: 205px; margin-bottom: 26px; }
  h1 { font-size: 28px; }
  .login-page::before { right: -25px; bottom: -70px; font-size: 230px; }
  .login-page::after { width: 28%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
