/* CadeiraLivre — autenticação e páginas institucionais */

.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--cl-font-sans);
  background: var(--cl-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(124, 94, 60, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(232, 220, 200, 0.35), transparent);
  color: var(--cl-text);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100vh;
}

.auth-shell__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-right: 1px solid var(--cl-line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55), rgba(243, 237, 228, 0.35));
}

.auth-shell__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  color: var(--cl-text);
  text-decoration: none;
}

.auth-shell__brand-link img {
  border-radius: 14px;
  box-shadow: var(--cl-shadow-sm);
}

.auth-shell__brand-name {
  font-family: var(--cl-font-serif);
  font-size: 1.35rem;
}

.auth-shell__brand-title {
  margin: 0 0 1rem;
  font-family: var(--cl-font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 400;
  max-width: 16ch;
}

.auth-shell__brand-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--cl-muted);
}

.auth-shell__brand-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.auth-shell__brand-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--cl-muted);
}

.auth-shell__brand-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cl-brass);
  box-shadow: 0 0 0 3px rgba(124, 94, 60, 0.12);
}

.auth-shell__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-body .auth-page {
  min-height: auto;
  width: 100%;
  max-width: 28rem;
  padding: 0;
  background: none;
  background-image: none;
  justify-content: flex-start;
}

.auth-body .auth-card {
  width: 100%;
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius-md);
  box-shadow: var(--cl-shadow-md);
  background: var(--cl-bg-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.auth-body .auth-card h1 {
  font-family: var(--cl-font-serif);
  font-weight: 400;
}

.auth-body .auth-card.auth-card--wide {
  max-width: 32rem;
}

.auth-body .auth-brand img {
  width: 120px;
  height: 120px;
  border-radius: var(--cl-radius-md);
  box-shadow: var(--cl-shadow-sm);
}

.auth-site-footer {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--cl-muted);
}

.auth-site-footer a {
  color: var(--cl-brass-dark);
}

/* Status */
.status-page {
  max-width: 28rem;
  width: 100%;
}

.status-page h1 {
  font-family: var(--cl-font-serif);
  font-weight: 400;
}

.status-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.status-list li {
  padding: 0.65rem 0.85rem;
  background: var(--cl-bg-elevated);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius-sm);
  font-size: 0.92rem;
}

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

  .auth-shell__brand {
    border-right: none;
    border-bottom: 1px solid var(--cl-line);
    padding: 1.75rem 1.25rem;
  }

  .auth-shell__brand-title {
    font-size: 1.5rem;
    max-width: none;
  }

  .auth-shell__brand-points {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-shell__brand-points li::before {
    animation: none;
  }
}
