.auth-shell {
  min-height: calc(100vh - 48px);
}

.auth-hero {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.auth-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(76, 199, 255, 0.20);
  border-radius: 18px;
  background: rgba(2, 13, 24, 0.58);
}

.auth-card strong,
.auth-card span {
  display: block;
}

.auth-card span {
  margin-top: 4px;
  color: var(--soft);
  line-height: 1.5;
}

.auth-login-card {
  align-content: start;
  gap: 22px;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.auth-form label {
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.auth-input-row input {
  width: 100%;
  min-height: 50px;
  padding: 0 50px 0 15px;
  border: 1px solid rgba(76, 199, 255, 0.28);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(2, 10, 18, 0.72);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.auth-input-row input:focus {
  border-color: rgba(76, 199, 255, 0.62);
  background: rgba(2, 10, 18, 0.90);
  box-shadow: 0 0 0 4px rgba(76, 199, 255, 0.10);
}

.auth-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(76, 199, 255, 0.24);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 96, 113, 0.38);
  border-radius: 14px;
  color: #ffc4cc;
  background: rgba(255, 96, 113, 0.08);
  font-size: 14px;
  line-height: 1.45;
}

.auth-note {
  margin-top: 18px;
}

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