.hs-landing.hs-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.2), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.12), transparent 28%),
    var(--hs-bg);
}

.hs-auth-page .site-header {
  position: relative;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 36px 0 64px;
  min-height: calc(100vh - 72px);
}

.auth-shell {
  width: min(100%, 480px);
}

.auth-shell--wide {
  width: min(100%, 560px);
}

.auth-card {
  border: 1px solid var(--hs-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 31, 53, 0.96), rgba(12, 18, 32, 0.98));
  box-shadow: var(--hs-shadow);
  padding: 32px 28px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.auth-sub {
  margin: 0 0 24px;
  color: var(--hs-muted);
  font-size: 0.95rem;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 14px;
  margin-bottom: 18px;
}

.auth-alert--error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: var(--hs-text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.auth-input::placeholder {
  color: #64748b;
}

.auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phone-field:focus-within {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  color: #93c5fd;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(59, 130, 246, 0.08);
}

.phone-input {
  border: 0;
  background: transparent;
  padding: 13px 14px;
  color: var(--hs-text);
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  min-width: 0;
}

.phone-input:focus {
  outline: none;
}

.phone-input::placeholder {
  color: #64748b;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  font-size: 15px;
}

.auth-footer-text {
  margin: 20px 0 0;
  text-align: center;
  color: var(--hs-muted);
  font-size: 14px;
}

.auth-footer-text a {
  color: #93c5fd;
  font-weight: 700;
}

.auth-footer-text a:hover {
  color: #bfdbfe;
}

.auth-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hs-muted);
  font-size: 14px;
  font-weight: 600;
}

.auth-back-home:hover {
  color: var(--hs-text);
}

@media (max-width: 575px) {
  .auth-card {
    padding: 24px 18px;
  }

  .auth-row-2 {
    grid-template-columns: 1fr;
  }
}
