.auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 164, 71, 0.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255, 140, 0, 0.14), transparent 30%),
    #fff9f1;
}

.auth-main {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
}

.auth-card {
  max-width: 460px;
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  justify-self: end;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-brand .brand-logo {
  flex-shrink: 0;
}

.auth-product {
  font-weight: 700;
}

.auth-tagline {
  opacity: 0.75;
  font-size: 0.95rem;
}

.auth-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.auth-description {
  font-size: 0.92rem;
  color: #5a4a35;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.auth-field > .form-control {
  height: calc(3rem + 2px);
  padding-top: 1.1rem;
  padding-bottom: 0.45rem;
  font-size: 0.96rem;
}

.auth-field > label {
  padding: 0.85rem 0.75rem;
  font-size: 0.95rem;
}

.auth-primary {
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.auth-validation {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

.auth-validation ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.auth-footer {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  opacity: 0.9;
}

.auth-subfooter {
  margin-top: 0.85rem;
  text-align: center;
}

.auth-link {
  text-decoration: none;
  font-weight: 600;
}

.auth-subtle-link {
  text-decoration: none;
  opacity: 0.75;
  font-size: 0.9rem;
}

.auth-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-hero img {
  width: min(560px, 100%);
  height: auto;
}

@media (max-width: 992px) {
  .auth-shell {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 1.5rem;
  }

  .auth-hero {
    order: -1;
  }

  .auth-card {
    max-width: 100%;
    justify-self: stretch;
  }
}


.auth-hero {
  flex-direction: column;
  gap: 1.25rem;
}

.auth-hero-copy {
  width: min(560px, 100%);
  text-align: left;
  color: #2f2415;
}

.auth-hero-lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9a5b13;
}

.auth-hero-title {
  margin: 0.3rem 0 0.9rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.auth-hero-steps {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.auth-hero-steps li::marker {
  font-weight: 800;
  color: #d47912;
}

.auth-hero-steps h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.auth-hero-steps p {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 992px) {
  .auth-hero-copy {
    text-align: center;
  }

  .auth-hero-steps {
    text-align: left;
  }
}

/* Centered single-column layout for confirmation pages */
.auth-shell--center {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

.auth-card--wide {
  max-width: 600px;
  justify-self: center;
}

/* Step list on RegisterConfirmation */
.confirm-steps {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 1rem;
}

.confirm-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: 12px;
}

.confirm-step-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.confirm-steps li div strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.confirm-steps li div p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a4a35;
  line-height: 1.45;
}

/* Dev-mode note on RegisterConfirmation */
.confirm-dev-note {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 10px;
  color: #664d03;
  font-size: 0.85rem;
}

.confirm-dev-note a {
  font-weight: 600;
}

/* Result block on ConfirmEmail */
.confirm-result {
  text-align: center;
}

.confirm-result-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.confirm-result--success .auth-title {
  color: #155724;
}

.confirm-result--error .auth-title {
  color: #721c24;
}
