﻿/* Auth (Login/Cadastro) */
.auth [hidden] { display: none !important; }
.auth {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  background: linear-gradient(135deg, #e9f2ff, #f8fbff 55%, #e6f1ff);
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15,23,42,.14);
}
.auth-grid.auth-grid-single { max-width: 520px; }
.auth-card {
  width: 100%;
  padding: 28px 24px 24px;
  display: grid;
  gap: 18px;
  color: #0f172a;
}
.auth-title h2 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  color: #0f172a;
}
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.auth-brand .wordmark { font-size: 24px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.auth-brand i { color: #2563eb; font-size: 22px; }

.auth-actions { display: grid; gap: 14px; }
.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn i { font-size: 18px; }
.btn-primary { background: linear-gradient(135deg, #4f8dfd, #6aa6ff); color: #fff; box-shadow: 0 16px 32px rgba(79,141,253,.28); border-color: #5b9bff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 20px 42px rgba(79,141,253,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: #f5f7fb; color: #0f172a; border-color: #dfe6f3; border-style: solid; border-width: 1px; }
.btn-secondary:hover { background: #eaf1ff; }

.auth-card .btn { width: 100%; }

.login-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: #6b7280; font-size: 13px; }
.login-divider .line { height: 1px; background: rgba(15,23,42,.12); }
.login-divider .or { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

.login-hint {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(88,101,242,.06);
  border: 1px solid rgba(88,101,242,.14);
  color: #1f2937;
  font-size: 13px;
  display: grid;
  gap: 4px;
  text-align: center;
}
.login-hint strong { color: #2563eb; font-weight: 700; }

.auth-note { text-align: center; color: #6b7280; font-size: 12px; margin: 0; }
.auth-note .link { color: #2563eb; text-decoration: none; }
.auth-note .link:hover { text-decoration: underline; }

@media (max-width: 640px){
  .auth { padding: 16px; }
  .auth-card { padding: 24px 20px; }
  .auth-brand .wordmark { font-size: 22px; }
}
