/* Auth — светлая форма, коричневая палитра лендинга */

html:has(.auth-body),
.auth-body {
  --primary: #69461f;
  --primary-foreground: #ffffff;
  --color-primary: #69461f;
  --color-primary-foreground: #ffffff;
}

.auth-body {
  background-color: #fff;
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -10%, color-mix(in srgb, #69461f 12%, transparent), transparent);
  background-repeat: no-repeat;
}

.auth-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 0;
}

.auth-logo-svg .auth-logo-a { fill: #c9ad8e; }
.auth-logo-svg .auth-logo-b { fill: #69461f; }
.auth-logo-svg .auth-logo-c { fill: #3a2208; }

.auth-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  background-image: linear-gradient(to right, #3a2208, #69461f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-card {
  border: 1px solid var(--border, #e4e4e7);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(58, 34, 8, 0.06);
}

.auth-card form,
.auth-card .auth-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .auth-card form,
  .auth-card .auth-card-body {
    padding: 2.25rem;
  }
}

.auth-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground, #09090b);
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground, #71717a);
}

.auth-link {
  color: #69461f;
  font-weight: 500;
  text-decoration: none;
}

.auth-link:hover {
  color: #3a2208;
  text-decoration: underline;
}

.auth-error {
  font-size: 0.875rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  background: linear-gradient(90deg, #3a2208, #69461f) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
}

.auth-submit:hover {
  filter: brightness(1.08);
}
