:root {
  --navy-900: #061a4d;
  --navy-800: #0b2566;
  --navy-700: #0f2f7a;
  --gold-500: #f2c94c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --card: rgba(255, 255, 255, 0.1);
  --card2: rgba(255, 255, 255, 0.06);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);

  background:
    radial-gradient(
      900px 400px at 50% 15%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(180deg, #071a52 0%, #0a1f5a 35%, #2f2c53 60%, #f0c24a 100%);
}

.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.card {
  width: min(520px, 92vw);
  padding: 34px 34px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card) 0%, var(--card2) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  text-align: center;
  margin-bottom: 18px;
}

.logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}

.brand h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 400;
}

.form {
  margin-top: 22px;
}

.field {
  position: relative;
  margin: 12px 0;
}

.field input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: none;
  border-radius: 12px;
  padding: 0 44px 0 44px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2a44;
  font-size: 13px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.field input::placeholder {
  color: rgba(31, 42, 68, 0.55);
}

.field input:focus {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.12),
    0 0 0 3px rgba(242, 201, 76, 0.35);
}

.field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0b2566;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: #6b7280;
  display: grid;
  place-items: center;
}

.field__toggle:hover {
  background: rgba(15, 47, 122, 0.08);
  color: #0b2566;
}

.form__row {
  display: flex;
  justify-content: flex-end;
  margin: 2px 2px 14px;
}

.forgot {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
}
.forgot:hover {
  color: #fff;
  text-decoration: underline;
}

.btn {
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn--primary {
  margin-top: 6px;
  background: #0b1f5d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.btn--primary:hover {
  background: #091a4f;
}

.btn--google {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2a44;
  border: 1px solid rgba(15, 47, 122, 0.12);
  text-decoration: none;
}
.btn--google:hover {
  background: #ffffff;
}

.hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  min-height: 16px;
  text-align: center;
}

.logo__img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

.divider span {
  display: inline-block;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
}

@media (max-width: 420px) {
  .card {
    padding: 28px 20px 22px;
  }
  .brand h1 {
    font-size: 26px;
  }
}
