/* =========================================================================
   auth.css — Tela de login
   ========================================================================= */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at top, rgba(189,160,95,0.08) 0%, transparent 60%),
    var(--color-bg);
  padding: var(--sp-5);
}

.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-brand {
  margin-bottom: var(--sp-5);
}
.auth-brand img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
}

.auth-title {
  margin: 0 0 var(--sp-1);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-text);
}
.auth-subtitle {
  margin: 0 0 var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.auth-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  text-align: left;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: left;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.auth-field span {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.auth-field input {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  color: var(--color-text);
  font-size: var(--fs-base);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(189, 160, 95, 0.04);
}

.auth-submit {
  margin-top: var(--sp-3);
  background: var(--color-gold);
  border: none;
  color: #1a1a1a;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.05s ease;
}
.auth-submit:hover { background: var(--color-gold-hover); }
.auth-submit:active { transform: translateY(1px); }

.auth-footer {
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
