/* ============================================================
   Bailder · Auth (sign in / password reset / contact)
   Reusa tokens da landing.css (--lp-*). Card central, dark theme.
   ============================================================ */

.auth-body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.auth-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.auth-bg__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 20%, rgba(126,90,240,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 85% 75%, rgba(34,211,238,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 15% 80%, rgba(255,120,73,0.06) 0%, transparent 60%);
}
.auth-bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, black 0%, transparent 80%);
}

.auth-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
}
.auth-nav__links { display: flex; align-items: center; gap: 18px; }
@media (max-width: 520px) {
  .auth-nav { padding: 16px; }
  .auth-nav__links .lp-nav__link { display: none; }
}

.auth-main {
  position: relative; z-index: 1;
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  padding: 32px 20px;
}

.auth-flash {
  max-width: 460px; width: 100%;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}
.auth-flash--alert  { background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; }
.auth-flash--notice { background: rgba(16,185,129,0.10); border: 1px solid rgba(16,185,129,0.35); color: #6ee7b7; }

.auth-card {
  width: 100%; max-width: 460px;
  background: rgba(12,12,26,0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow:
    0 30px 80px -30px rgba(126,90,240,0.5),
    0 1px 0 rgba(255,255,255,0.04) inset;
  animation: authIn 600ms cubic-bezier(0.16,1,0.3,1) both;
}
.auth-card--wide { max-width: 580px; }

@keyframes authIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-card__head { text-align: center; margin-bottom: 28px; }
.auth-card__icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  color: #06060f;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
  box-shadow: 0 10px 30px -10px rgba(168,85,247,0.6);
}
.auth-card__title {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0 0 10px 0;
}
.auth-card__sub {
  font-size: 14.5px; color: var(--lp-text-muted);
  line-height: 1.55;
  margin: 0;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field__row { display: flex; align-items: baseline; justify-content: space-between; }
.auth-label {
  font-size: 13px; font-weight: 600;
  color: var(--lp-text-muted);
  letter-spacing: 0.01em;
}
.auth-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--lp-text);
  font: inherit; font-size: 15px;
  outline: none;
  width: 100%; box-sizing: border-box;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 200ms ease;
}
.auth-input:focus {
  border-color: var(--lp-cyan);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.10);
}
.auth-input::placeholder { color: var(--lp-text-dim); }
.auth-input--area { min-height: 140px; resize: vertical; line-height: 1.5; }
.auth-hint { font-size: 12px; color: var(--lp-text-dim); margin-top: 4px; }

.auth-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--lp-text-muted);
  cursor: pointer;
  user-select: none;
}
.auth-check input { accent-color: var(--lp-cyan); width: 16px; height: 16px; }

.auth-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 220ms ease, background 160ms ease, border-color 160ms ease;
}
.auth-btn--primary {
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  color: #06060f;
  box-shadow: 0 18px 40px -16px rgba(34,211,238,0.55);
}
.auth-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 26px 52px -16px rgba(168,85,247,0.6); }
.auth-btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: var(--lp-text);
}
.auth-btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }

.auth-link { font-size: 14px; color: var(--lp-cyan); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-link--sub { font-size: 12.5px; color: var(--lp-text-muted); font-weight: 500; }
.auth-link--sub:hover { color: var(--lp-cyan); }

.auth-card__divider {
  display: flex; align-items: center;
  margin: 26px 0 22px;
  color: var(--lp-text-dim);
  font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  gap: 12px;
}
.auth-card__divider::before, .auth-card__divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.07);
}

.auth-card__alt { text-align: center; }
.auth-card__alt .auth-card__sub { margin-bottom: 14px; }
.auth-alt-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.auth-footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 20px 28px;
  font-size: 12.5px;
  color: var(--lp-text-dim);
  font-family: var(--lp-font-mono);
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 520px) {
  .auth-footer { padding: 16px; flex-direction: column; gap: 6px; text-align: center; }
}
