.auth-body {
  margin: 0;
  min-height: 100vh;
  background: #eef3fa;
  color: #10233f;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
}

.auth-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 159, 110, 0.35), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(37, 99, 235, 0.28), transparent 36%),
    linear-gradient(155deg, #0c1829 0%, #132a4a 48%, #0f223d 100%);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
}

.auth-hero-inner {
  display: grid;
  gap: 2rem;
  height: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.auth-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: 0.9rem;
  text-decoration: none;
  width: fit-content;
}

.auth-brand strong,
.auth-brand small {
  display: block;
}

.auth-brand small {
  color: #9eb4d4;
}

.auth-brand-mark {
  align-items: center;
  background: #0f9f6e;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 159, 110, 0.35);
  display: grid;
  font-size: 1.45rem;
  font-weight: 700;
  height: 52px;
  justify-items: center;
  width: 52px;
}

.auth-hero-copy h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
}

.auth-hero-copy p {
  color: #c5d5ec;
  line-height: 1.6;
  margin: 0;
  max-width: 42ch;
}

.auth-hero-eyebrow {
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.auth-feature-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.auth-feature-list li {
  align-items: flex-start;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
}

.auth-feature-icon {
  color: #6ee7b7;
  font-size: 0.75rem;
  line-height: 1.8;
}

.auth-feature-list strong {
  display: block;
  font-size: 0.98rem;
}

.auth-feature-list span {
  color: #b8c9e2;
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.15rem;
}

.auth-main {
  align-items: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.auth-main-toolbar {
  display: flex;
  justify-content: flex-end;
  max-width: 440px;
  width: 100%;
}

.auth-language-form {
  width: 140px;
}

.auth-card {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.1);
  max-width: 440px;
  padding: clamp(1.35rem, 3vw, 2rem);
  width: 100%;
}

.auth-card-head {
  margin-bottom: 1.35rem;
}

.auth-card-head h2 {
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
}

.auth-card-head p {
  color: #63728a;
  margin: 0;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field label {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.auth-field .form-control {
  border-color: #c7d4e7;
  border-radius: 12px;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
}

.auth-field .form-control:focus {
  border-color: #0f9f6e;
  box-shadow: 0 0 0 0.2rem rgba(15, 159, 110, 0.15);
}

.auth-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

.auth-remember {
  align-items: center;
  color: #526174;
  display: inline-flex;
  gap: 0.45rem;
  margin: 0;
}

.auth-remember input {
  accent-color: #0f9f6e;
}

.auth-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.auth-submit {
  background: linear-gradient(135deg, #0f9f6e 0%, #0b7a56 100%);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(15, 159, 110, 0.28);
  font-size: 1rem;
  font-weight: 700;
  min-height: 50px;
  width: 100%;
}

.auth-submit:hover,
.auth-submit:focus {
  background: linear-gradient(135deg, #10b981 0%, #0f9f6e 100%);
  box-shadow: 0 16px 30px rgba(15, 159, 110, 0.34);
}

.auth-divider {
  align-items: center;
  color: #8a98ad;
  display: grid;
  font-size: 0.85rem;
  gap: 0.75rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 0.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  background: #dbe4f0;
  content: "";
  height: 1px;
}

.auth-external-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.auth-external-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #c7d4e7;
  border-radius: 12px;
  color: #10233f;
  display: inline-flex;
  font-weight: 600;
  gap: 0.55rem;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.auth-external-btn:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 20px rgba(16, 35, 63, 0.08);
  color: #10233f;
}

.auth-google-icon {
  background: conic-gradient(from 45deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335);
  border-radius: 50%;
  display: inline-grid;
  height: 18px;
  place-items: center;
  width: 18px;
}

.auth-google-icon::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.auth-switch {
  color: #63728a;
  margin: 1.1rem 0 0;
  text-align: center;
}

.auth-switch a {
  font-weight: 700;
}

.auth-demo {
  background: #f7fafc;
  border: 1px dashed #c7d4e7;
  border-radius: 14px;
  margin-top: 1rem;
  padding: 0.9rem;
}

.auth-demo-title {
  color: #526174;
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.auth-demo-list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.auth-demo-list li {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
}

.auth-demo-list code {
  color: #0f766e;
  font-size: 0.86rem;
}

.auth-demo-list span {
  color: #64748b;
  font-size: 0.82rem;
}

.auth-footer-note {
  color: #8a98ad;
  font-size: 0.82rem;
  margin: 0;
  max-width: 440px;
  text-align: center;
}

.auth-alert {
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: auto;
    padding-bottom: 1.5rem;
  }

  .auth-feature-list {
    display: none;
  }

  .auth-hero-copy h1 {
    font-size: 1.55rem;
  }
}

@media (max-width: 480px) {
  .auth-card {
    border-radius: 16px;
    padding: 1.15rem;
  }

  .auth-main {
    padding: 1rem;
  }
}
