:root {
  color-scheme: light;
  --bg: #f5f6fa;
  --ink: #171923;
  --muted: #555b69;
  --border: #d7dbe5;
  --accent: #2449bf;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
[hidden] { display: none !important; }
.registration-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(14px, 3vw, 30px);
}
.registration-header img { width: 40px; height: 40px; object-fit: contain; }
.registration-header select {
  color: var(--ink); background: white; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 9px;
}
.registration-card {
  width: min(480px, calc(100% - 24px));
  margin: clamp(8px, 3vh, 30px) auto 32px;
}
.registration-card h1 {
  margin: 0 0 5px; font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.15;
  letter-spacing: -.035em; text-align: center;
}
.registration-card form { display: grid; gap: 12px; }
.registration-card p { margin: 0; color: var(--muted); }
.registration-card a { color: var(--accent); }
input, button, select { font: inherit; }
.registration-card input:not([type="checkbox"]) {
  min-width: 0; width: 100%; color: var(--ink); background: white;
  border: 1px solid var(--border); border-radius: 13px; padding: 10px 12px;
}
.registration-field { position: relative; }
.registration-field label {
  position: absolute; top: 8px; left: 15px; color: var(--muted); font-size: .78rem;
}
.registration-field input:not([type="checkbox"]) { height: 60px; padding: 22px 14px 6px; }
.password-field input:not([type="checkbox"]) { padding-right: 56px; }
.registration-card button { min-height: 50px; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 650; }
.registration-card .primary { color: #fff; background: #191b25; border: 1px solid #191b25; }
.registration-card .secondary { color: var(--ink); background: white; border: 1px solid var(--border); }
.registration-card .google-button { display: flex; align-items: center; justify-content: center; gap: 10px; }
.registration-card button:disabled { opacity: .6; cursor: default; }
#password-visibility {
  position: absolute; top: 8px; right: 7px; width: 44px; height: 44px; min-height: 44px;
  padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: #474d61;
}
#password-visibility .eye-slash { display: none; }
#password-visibility[aria-pressed="true"] .eye-slash { display: initial; }
.registration-check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.registration-check input { flex: none; margin-top: .35rem; accent-color: var(--accent); }
.registration-login { text-align: center; font-size: .9rem; }
.captcha-slot { min-height: 65px; justify-self: center; }
.birthdate-fields { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.registration-card progress { width: 100%; height: 8px; accent-color: var(--accent); }
#registration-error { color: #a21834; margin-top: 12px; }
@media (max-width: 340px) { .registration-card { width: calc(100% - 16px); } }
