:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #eef5ff;
  background: #07111f;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(41, 119, 224, .26), transparent 34rem),
    radial-gradient(circle at 90% 90%, rgba(31, 175, 196, .14), transparent 30rem),
    linear-gradient(145deg, #07111f, #0b192b 56%, #081522);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid rgba(151, 190, 238, .23);
  border-radius: 16px;
  background: rgba(10, 25, 43, .94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(151, 190, 238, .18);
}

.brand { display: grid; gap: 3px; font-weight: 500; }
.brand-mark { color: #69a9ff; font-size: .72rem; letter-spacing: .16em; }

.language-control { display: grid; gap: 5px; color: #bcd1e9; font-size: .75rem; font-weight: 700; }
.language-control select {
  border: 1px solid rgba(151, 190, 238, .35);
  border-radius: 8px;
  padding: 7px 9px;
  background: #071321;
  color: #eef5ff;
  font: inherit;
}

.login-content { padding: 32px 36px 34px; }
.eyebrow { margin: 0 0 14px; color: #70adff; font-size: .78rem; font-weight: 500; letter-spacing: .14em; }

.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  border: 1px solid #5ea4f3;
  border-radius: 8px;
  background: #1e70cc;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.google-button:hover { background: #2a80df; transform: translateY(-1px); }
.google-button:focus-visible { outline: 3px solid rgba(114, 178, 255, .55); outline-offset: 3px; }
.google-button svg { width: 23px; height: 23px; padding: 3px; border-radius: 50%; background: white; }

.login-error {
  display: grid;
  gap: 5px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 115, 132, .5);
  border-left: 4px solid #ff7082;
  border-radius: 10px;
  background: rgba(125, 27, 45, .22);
  color: #ffd5db;
}
.login-error[hidden] { display: none; }

.security-list { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: #adc2da; font-size: .82rem; }
.security-list li { position: relative; padding-left: 23px; }
.security-list li::before { content: "✓"; position: absolute; left: 0; color: #64d1a1; font-weight: 900; }

@media (max-width: 600px) {
  .login-shell { padding: 14px; }
  .card-topline { align-items: flex-start; flex-direction: column; }
  .login-content { padding: 26px 20px 28px; }
}
