/* Registration page skin matching the landing page (index.css). Load after register.css. */
.register-landing {
  --accent: #34764a;
  --accent-soft: rgba(121, 172, 105, .18);
  --ink: #243a2c;
  --muted: #748578;
  --line: #dce9dc;
  --dark: #24563b;
  --sage: #e1f3df;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(194, 228, 168, .38), transparent 33%),
    radial-gradient(ellipse at 91% 13%, rgba(168, 227, 199, .33), transparent 31%),
    #f4f8f1;
  color: var(--ink);
  min-height: 100vh;
}

.register-landing .brand {
  color: #24563b;
}

.register-landing .eyebrow {
  color: #618f54;
}

.register-landing .intro-copy h1 {
  color: #294632;
  font-weight: 700;
  letter-spacing: -.078em;
}

.register-landing .intro-copy h1 em {
  color: #548f46;
}

.register-landing .intro-copy p {
  color: #718274;
}

.register-landing .auth-language-switcher a {
  border-color: rgba(54, 111, 67, .2);
  color: #24563b;
  transition: background .2s, transform .2s;
}

.register-landing .auth-language-switcher a:hover {
  background: rgba(163, 207, 89, .16);
  transform: translateY(-2px);
}

.register-landing .auth-language-switcher a:focus-visible,
.register-landing button:focus-visible,
.register-landing a:focus-visible,
.register-landing input:focus-visible,
.register-landing select:focus-visible {
  outline-color: #79ac69;
}

.register-landing .register-panel {
  background:
    linear-gradient(rgba(84, 143, 70, .12) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(90deg, rgba(84, 143, 70, .12) 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at 72% 42%, rgba(105, 168, 82, .32) 0%, rgba(163, 207, 89, .18) 36%, transparent 72%),
    linear-gradient(145deg, rgba(225, 243, 223, .98), rgba(207, 231, 201, .97));
  border: 1px solid #a3c894;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(47, 91, 51, .16), 0 0 64px rgba(105, 168, 82, .3), inset 0 0 42px rgba(163, 207, 89, .13);
}

.register-landing .panel-top h2 {
  color: #294632;
}

.register-landing .step-label i {
  color: #7f9a7c;
}

.register-landing .provider-button {
  background: rgba(255, 255, 255, .88);
  border-color: #d9e8d7;
  color: #294632;
}

.register-landing .provider-button:hover,
.register-landing .provider-button.selected {
  border-color: #91ba7f;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.register-landing .provider-logo {
  border-color: #dce6dc;
}

.register-landing .divider {
  color: #7f9a7c;
}

.register-landing .divider:before,
.register-landing .divider:after {
  background: rgba(84, 143, 70, .28);
}

.register-landing label > span,
.register-landing .optional-heading {
  color: #45594a;
}

.register-landing .optional-heading {
  border-top-color: rgba(84, 143, 70, .25);
}

.register-landing input,
.register-landing select {
  background: #fbfdfb;
  border-color: #dce6dc;
  color: #243a2c;
}

.register-landing input:focus,
.register-landing select:focus {
  border-color: #79ac69;
  box-shadow: 0 0 0 3px rgba(121, 172, 105, .13);
}

.register-landing .submit-button {
  background: #39764b;
  box-shadow: 0 9px 22px rgba(41, 95, 55, .19);
  transition: background .2s, box-shadow .2s, transform .2s;
}

.register-landing .submit-button:hover {
  background: #397950;
  box-shadow: 0 12px 25px rgba(41, 95, 55, .25);
  transform: translateY(-2px);
}

.register-landing .signin-link a {
  color: #b76d62;
}

.register-landing .form-alert {
  background: #f6e4e1;
  color: #a05a52;
}

.register-landing .form-success {
  background: #e1f3df;
  color: #3e7a4d;
}

.register-landing .register-hero {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 560px);
}
.register-landing .register-hero .register-panel {
  align-self: start;
  max-width: none;
  width: 100%;
  z-index: 1;
}
.register-landing .register-hero .intro-copy h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.02;
  margin: 21px 0 0;
}
.register-landing .register-hero .intro-copy p {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.65;
  margin: 17px 0 0;
  max-width: 480px;
}
@media (max-width: 900px) {
  .register-landing .register-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.register-landing .signin-hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.register-landing .back-home-link {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, .55);
  border: 1px solid #a3c894;
  border-radius: 8px;
  color: #24563b;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.register-landing .back-home-link:hover {
  background: rgba(255, 255, 255, .9);
  transform: translateX(-2px);
}
/* Google button identical to the landing sign-in panel */
.register-landing .provider-button.google {
  border-color: #dbe7da;
  border-radius: 5px;
  font-size: 10px;
  gap: 8px;
  min-height: 39px;
  padding: 6px 8px;
}

.register-landing .provider-button.google .provider-logo {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.register-landing .provider-button.google .google-label {
  align-items: baseline;
  display: flex;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
}

.register-landing .provider-button.google small {
  font-size: 8px;
  margin-left: 4px;
}

@media (min-width: 901px) {
  .register-landing .provider-button.google {
    min-height: 52px;
    padding: 8px 12px;
  }

  .register-landing .provider-button.google .provider-logo {
    flex-basis: 30px;
    height: 30px;
    width: 30px;
  }

  .register-landing .provider-button.google,
  .register-landing .provider-button.google .google-label {
    font-size: 13px;
  }

  .register-landing .provider-button.google small {
    font-size: 10px;
  }
}

/* Account security pages (MFA, password reset) */
.register-landing .security-center {
  display: flex;
  justify-content: center;
  padding: 24px 12px 48px;
}

.register-landing .security-card {
  max-width: 440px;
  width: 100%;
}

.register-landing .security-card form {
  display: grid;
  gap: 12px;
}

.register-landing .otp-input {
  font-size: 22px;
  letter-spacing: .35em;
  text-align: center;
}

.register-landing .mfa-qr {
  background: #fff;
  border: 1px solid #dce6dc;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin: 14px auto 8px;
  padding: 10px;
  width: fit-content;
}

.register-landing .mfa-secret {
  background: rgba(255, 255, 255, .8);
  border-radius: 6px;
  color: #243a2c;
  display: block;
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 12px;
  padding: 8px 10px;
  text-align: center;
  word-break: break-all;
}

.register-landing .security-hint {
  color: #748578;
  font-size: 12px;
  margin: 4px 0;
}

.register-landing .security-note {
  background: #e1f3df;
  border-radius: 6px;
  color: #3e7a4d;
  font-size: 12px;
  padding: 8px 10px;
}

.register-landing .forgot-link {
  color: #34764a;
  font-size: 12px;
  justify-self: end;
  text-decoration: none;
}

.register-landing .security-link-button {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
}
