/* Standalone auth pages (/quiz-login, /quiz-cadastro) — navy + gold theme. */

.wp-quiz-body {
  margin: 0;
  background: #050f26;
}

.wqa-page {
  --wqa-gold: #f5c518;
  --wqa-gold-dark: #d4a800;
  --wqa-navy: #0b1c3d;
  --wqa-text: #f1f5f9;
  --wqa-muted: #8fa3c4;
  --wqa-border: #2a3f68;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, #050f26 0%, #0b1c3d 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--wqa-text);
  box-sizing: border-box;
}

.wqa-page *,
.wqa-page *::before,
.wqa-page *::after {
  box-sizing: inherit;
}

.wqa-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px;
}

.wqa-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wqa-gold);
  margin-bottom: 18px;
  text-align: center;
}

.wqa-logo {
  display: block;
  max-width: 200px;
  max-height: 48px;
  width: auto;
  height: auto;
  margin: 0 auto 18px;
}

.wqa-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--wqa-text);
  text-align: center;
}

.wqa-subtitle {
  color: var(--wqa-muted);
  font-size: 14px;
  text-align: center;
  margin: 8px 0 24px;
}

.wqa-errors {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
}

.wqa-errors p {
  color: #fca5a5;
  font-size: 14px;
  margin: 4px 0;
}

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

.wqa-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wqa-text);
}

.wqa-form label small {
  font-weight: 400;
  color: var(--wqa-muted);
}

.wqa-form input[type='text'],
.wqa-form input[type='email'],
.wqa-form input[type='password'] {
  padding: 12px 14px;
  border: 1px solid var(--wqa-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--wqa-text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.wqa-form input:focus {
  border-color: var(--wqa-gold);
  background: rgba(255, 255, 255, 0.1);
}

.wqa-remember {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  color: var(--wqa-muted) !important;
}

.wqa-btn {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--wqa-gold);
  color: var(--wqa-navy);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
}

.wqa-btn:hover {
  background: var(--wqa-gold-dark);
}

.wqa-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.wqa-switch {
  text-align: center;
  color: var(--wqa-muted);
  font-size: 14px;
  margin: 22px 0 0;
}

.wqa-switch a {
  color: var(--wqa-gold);
  font-weight: 700;
  text-decoration: none;
}

.wqa-switch a:hover {
  text-decoration: underline;
}

.wqa-back {
  display: block;
  text-align: center;
  color: var(--wqa-muted);
  font-size: 13px;
  text-decoration: none;
  margin-top: 18px;
}

.wqa-back:hover {
  color: var(--wqa-text);
}
