:root {
  --bg: #f2f8fb;
  --text: #182848;
  --muted: #5f6f86;
  --surface: #ffffff;
  --line: #dde6f2;
  --red: #ff3131;
  --primary: #2a60e8;
  --primary-hover: #1f4ec2;
  --danger: #be123c;
  --success: #166534;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #edf4ff 0%, var(--bg) 50%, #f7fbff 100%);
  position: relative;
}

.bg-blur {
  position: fixed;
  border-radius: 999px;
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

.bg-blur-1 {
  width: 320px;
  height: 320px;
  top: -70px;
  left: -80px;
  background: rgba(42, 96, 232, 0.18);
}

.bg-blur-2 {
  width: 280px;
  height: 280px;
  bottom: -50px;
  right: -40px;
  background: rgba(255, 49, 49, 0.11);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 30px 16px 24px;
}

.brand {
  text-align: center;
  margin-bottom: 16px;
}

.logo {
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 500;
  color: #020202;
  letter-spacing: -0.5px;
}

.logo .droplet-icon,
.logo .blood {
  color: var(--red);
}

.tagline {
  margin: 10px 0 0;
  color: #3f4f6a;
  font-size: 1.15rem;
}

.register-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(20, 43, 79, 0.09);
}

h1,
h2 {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.subtitle {
  margin: 0 0 18px;
  color: var(--muted);
}

.field {
  margin-bottom: 12px;
}

label {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

input,
select,
button {
  width: 100%;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
}

input,
select {
  border: 1px solid #d6e0ed;
  background: #ffffff;
  color: #12213c;
  padding: 11px 12px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(42, 96, 232, 0.25);
  border-color: #8caefb;
}

.helper {
  display: block;
  margin-top: 6px;
  color: #66758d;
  font-size: 12px;
}

button {
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 11px 14px;
  transition: background-color 0.16s ease;
}

button:hover {
  background: var(--primary-hover);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}

#recaptcha-container {
  margin: 4px 0 12px;
}

.inline-status {
  color: var(--muted);
  font-size: 14px;
  justify-self: start;
}

.status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--success);
}

.submit-btn {
  margin-top: 8px;
}

.footer {
  text-align: center;
  margin-top: 16px;
  color: #6f7e92;
  font-size: 13px;
}

.footer a {
  color: #2a60e8;
}

.hidden {
  display: none;
}

@media (min-width: 680px) {
  .action-row {
    grid-template-columns: 1fr auto;
  }

  .action-row button {
    width: auto;
    min-width: 150px;
  }
}

@media (max-width: 520px) {
  .logo {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .register-card {
    padding: 18px;
    border-radius: 14px;
  }
}
