/* ═══════════════════════════════════════════════════════════
   GolScanner — AUTENTICAÇÃO & 2FA (SUPABASE AUTH)
   ═══════════════════════════════════════════════════════════ */

:root {
  --auth-accent: #06b6d4;
  --accent: #06b6d4;
  --font-display: "Bebas Neue", cursive;
}

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--bg-deep, #060810);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  box-sizing: border-box;
  animation: authFadeIn 0.25s ease-out;
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Container de visualização (login ou planos) para estruturar topo, card e rodapé externo */
.auth-view-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 390px;
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  box-sizing: border-box;
  margin: 0 auto;
}

#auth-view-plans.auth-view-container {
  max-width: 860px;
}

.auth-card {
  width: 100%;
  max-width: 390px;
  background: var(--bg-card, #111827);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 0 1px rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

#auth-card-login {
  margin-top: auto;
  margin-bottom: auto;
  border: 1px solid rgba(6, 182, 212, 0.65) !important;
  box-shadow:
    0 0 25px rgba(6, 182, 212, 0.22),
    0 16px 40px rgba(0, 0, 0, 0.75) !important;
  transition: all 0.3s ease;
}

#auth-card-login:hover {
  border-color: rgba(6, 182, 212, 0.9) !important;
  box-shadow:
    0 0 32px rgba(6, 182, 212, 0.32),
    0 20px 48px rgba(0, 0, 0, 0.8) !important;
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-logo {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.05em;
  color: var(--green, #00ff88);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.45);
  margin-bottom: 8px;
}

.auth-logo span {
  color: #ffffff;
}

.auth-badge-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 3px 8px;
  border-radius: 20px;
}

.auth-step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  text-align: center;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  font-size: 11.5px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  line-height: 1.4;
  text-align: center;
}

.auth-alert-success {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  font-size: 11.5px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  line-height: 1.4;
  text-align: center;
}

.auth-tabs-nav {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 18px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-main, sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.auth-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(8, 145, 178, 0.3) 100%);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.auth-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-field input {
  background: var(--bg-surface, #0d1117);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.auth-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
  background: var(--bg-surface, #0d1117);
}

.auth-field-extras {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 12px;
}

.auth-link-forgot-pwd {
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-main, sans-serif);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
  text-decoration: none;
}

.auth-link-forgot-pwd:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.auth-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.auth-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

.auth-btn-primary:active {
  transform: translateY(0);
}

.auth-btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  display: block;
  margin: 12px auto 0 auto;
  transition: color 0.15s ease;
}

.auth-btn-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.auth-input-code {
  font-family: var(--font-mono) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4em !important;
  text-align: center !important;
  color: var(--accent) !important;
  padding: 10px 0 !important;
}

.auth-mfa-badge {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
}

.auth-qr-box {
  background: #ffffff !important;
  padding: 16px !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px !important;
  height: 190px !important;
  margin: 0 auto 14px auto;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.auth-qr-box svg,
.auth-qr-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  shape-rendering: crispEdges;
}

.auth-secret-label {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 4px 0;
}

.auth-secret-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.auth-secret-box {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber, #f59e0b);
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  word-break: break-all;
  user-select: all;
  margin-bottom: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-secret-box:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.7);
}

.auth-secret-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 6px;
  color: #38bdf8;
  font-family: var(--font-main);
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 36px;
  min-height: 34px;
}

.auth-secret-copy-btn:hover {
  background: rgba(6, 182, 212, 0.32);
  border-color: #06b6d4;
  color: #fff;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.auth-secret-copy-btn:active {
  transform: translateY(0);
}

/* =====================================================================
   2FA: CÓDIGOS DE RESERVA / RECUPERAÇÃO (8 CÓDIGOS DE USO ÚNICO)
   ===================================================================== */
.auth-input-backup {
  font-family: var(--font-mono) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.25em !important;
  text-align: center !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  padding: 10px 0 !important;
}

.auth-backup-toggle-wrap {
  margin: 10px 0 4px 0;
  text-align: center;
}

.auth-btn-toggle-backup {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-main);
  display: inline-block;
}

.auth-btn-toggle-backup:hover {
  color: #7dd3fc;
  background: rgba(6, 182, 212, 0.08);
}

.auth-backup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 10px 0;
  box-sizing: border-box;
}

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

.auth-backup-code-chip {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono, monospace);
  user-select: all;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-backup-code-chip:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.6);
  transform: translateY(-1px);
}

.auth-backup-idx {
  color: #06b6d4;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.auth-backup-val {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.auth-backup-alert {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fcd34d;
  font-size: 11px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 12px 0;
  text-align: left;
  box-sizing: border-box;
}

.auth-backup-alert-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-backup-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
}

.auth-btn-backup-download {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 6px;
  color: #38bdf8;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn-backup-download:hover {
  background: rgba(6, 182, 212, 0.3);
  border-color: #06b6d4;
  color: #fff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.auth-btn-backup-download:active {
  transform: translateY(0);
}

.auth-btn-backup-copy {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #e2e8f0;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn-backup-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.auth-btn-backup-copy:active {
  transform: translateY(0);
}

.auth-backup-copy-feedback {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 8px;
}

.auth-footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 9.5px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

/* Rodapé externo oficial (fora do card, lá embaixo na tela) */
.auth-external-footer {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted, #475569);
  padding: 24px 0 8px 0;
  margin-top: auto;
  user-select: none;
  letter-spacing: 0.02em;
}

/* Cabeçalho da aba MINHA CONTA (altura mais confortável) */
.auth-account-header {
  padding: 13px 16px !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border-bottom: 1px solid var(--border) !important;
  box-sizing: border-box !important;
}

#menu-tab-conteudo-conta .championship-panel-header h2,
.auth-account-title {
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: var(--text-primary) !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

#menu-tab-conteudo-conta .championship-panel-header p {
  display: none !important;
}

/* Informações na aba CONTA */
.auth-account-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto !important;
  max-height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  align-items: stretch !important;
  justify-content: flex-start !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.4) rgba(0, 0, 0, 0.2);
}

/* Barra de rolagem suave e estilizada para a aba Conta */
.auth-account-body::-webkit-scrollbar {
  width: 6px;
}
.auth-account-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.auth-account-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.auth-account-body::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.4);
}

/* Grid de cards da conta (por padrão 1 coluna, vertical) */
.auth-account-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* Card de Assinatura & Plano do Usuário na aba CONTA */
.auth-account-plan-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.09) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.auth-account-plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--green) 100%);
}

.auth-plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-plan-header-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.auth-plan-badge-type {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.auth-plan-recurrence-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1.5px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary, #94a3b8);
  line-height: 1.3;
}

.auth-plan-recurrence-pill.recorrente {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--cyan, #06b6d4);
}

.auth-plan-recurrence-pill.avulsa {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.auth-plan-recurrence-pill.cancelada {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.auth-plan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--green, #00ff88);
  transition: all 0.25s ease;
}

.auth-plan-status-pill.status-ok {
  background: rgba(0, 255, 136, 0.12);
  border-color: rgba(0, 255, 136, 0.35);
  color: var(--green, #00ff88);
}
.auth-plan-status-pill.status-ok .auth-plan-status-dot {
  background: var(--green, #00ff88);
  box-shadow: 0 0 8px var(--green, #00ff88);
}

.auth-plan-status-pill.status-alerta {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.45);
  color: #f59e0b;
}
.auth-plan-status-pill.status-alerta .auth-plan-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.auth-plan-status-pill.status-urgente,
.auth-plan-status-pill.status-expirado {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.45);
  color: #ef4444;
}
.auth-plan-status-pill.status-urgente .auth-plan-status-dot,
.auth-plan-status-pill.status-expirado .auth-plan-status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.auth-plan-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: authPulseStatus 2s infinite ease-in-out;
}

@keyframes authPulseStatus {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.auth-plan-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-plan-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.auth-plan-title-icon {
  font-size: 15px;
}

.auth-btn-renew-mini {
  width: auto !important;
  margin-top: 0 !important;
  padding: 3px 9px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #0b101b !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.7) !important;
  border-radius: 6px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auth-btn-renew-mini:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  border-color: #fde68a !important;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-1px);
}

.auth-btn-renew-mini:active {
  transform: translateY(0);
}

.auth-btn-cancel-mini {
  width: auto !important;
  margin-top: 0 !important;
  padding: 3px 9px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.45) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.6) !important;
  border-radius: 6px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auth-btn-cancel-mini:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  border-color: #f87171 !important;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.45) !important;
  transform: translateY(-1px);
}

.auth-btn-cancel-mini:active {
  transform: translateY(0);
}

.auth-btn-cancel-mini:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.auth-plan-expiry-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-plan-expiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}

.auth-plan-expiry-label {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-plan-expiry-label strong {
  color: var(--text-primary, #ffffff);
  font-family: var(--font-mono);
  font-weight: 700;
}

.auth-plan-expiry-countdown {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.auth-plan-expiry-countdown.infinity {
  color: var(--green, #00ff88);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.auth-plan-expiry-date {
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: right;
  font-family: var(--font-mono);
}

.auth-plan-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}

.auth-plan-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--green) 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.auth-plan-progress-bar.recorrente {
  background: linear-gradient(90deg, #00d2ff 0%, #00ff88 100%);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.35);
}

.auth-btn-renew {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid rgba(251, 191, 36, 0.7);
  color: #0b101b;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  margin-top: 2px;
}

.auth-btn-renew:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #fde68a;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.auth-btn-renew:active {
  transform: translateY(0);
}

/* ── Card Especial do Administrador (Aba CONTA) ── */
.auth-account-plan-card.auth-account-admin-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.18), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.auth-account-plan-card.auth-account-admin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #00ff88 100%);
}

.auth-admin-badge-type {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f59e0b;
  text-transform: uppercase;
}

.auth-admin-pill-master {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1.5px 7px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.auth-admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.auth-admin-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #f59e0b;
  animation: authPulseStatus 2s infinite ease-in-out;
}

.auth-admin-title {
  font-family: var(--font-main, sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-admin-title-icon {
  font-size: 16px;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.6));
}

.auth-admin-tag-unlimited {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: #00ff88;
  letter-spacing: 0.05em;
}

.auth-admin-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 3px 0 0 0;
}

.auth-admin-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 4px;
}

.auth-admin-perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 8px;
  border-radius: 6px;
}

.auth-admin-perk-icon {
  font-size: 13.5px;
  flex-shrink: 0;
}

.auth-admin-perk-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.auth-admin-perk-text strong {
  font-size: 10.5px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-admin-perk-text small {
  font-size: 9.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .auth-admin-perks-grid {
    grid-template-columns: 1fr;
  }
}

.auth-account-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.auth-account-label {
  color: var(--text-muted);
  font-weight: 500;
}

.auth-account-value {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

.auth-account-badge-ok {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.auth-logout-btn {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.auth-logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

/* =====================================================================
   CARD DE ALTERAÇÃO DE SENHA (ABA CONTA)
   ===================================================================== */
.auth-account-pwd-card {
  background: var(--bg-card, #111827);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.auth-account-pwd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
}

.auth-account-pwd-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.auth-account-pwd-card .auth-field {
  margin-bottom: 8px;
}

.auth-account-pwd-card .auth-field:last-of-type {
  margin-bottom: 4px;
}

.auth-pwd-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-pwd-input-wrap input {
  padding-right: 36px !important;
}

.auth-pwd-toggle-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 6px;
  color: var(--text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.auth-pwd-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.auth-pwd-feedback {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  display: none;
  font-weight: 600;
  line-height: 1.3;
}

.auth-pwd-feedback.erro {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.auth-pwd-feedback.sucesso {
  display: block;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: #00ff88;
}

.auth-btn-change-pwd {
  width: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.auth-btn-change-pwd:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.25);
  border-color: #06b6d4;
  color: #fff;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.auth-btn-change-pwd:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =====================================================================
   AUTH PREVIEW TOOLBAR (TESTE / VISUALIZAÇÃO LOCAL)
   ===================================================================== */
.auth-preview-toolbar {
  background: rgba(6, 182, 212, 0.08);
  border: 1px dashed rgba(6, 182, 212, 0.4);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
}

.auth-preview-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.auth-preview-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-preview-tab-btn {
  background: var(--bg-surface, #0d1117);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-preview-tab-btn:hover {
  color: #fff;
  border-color: var(--accent);
}

.auth-preview-tab-btn.active {
  background: rgba(6, 182, 212, 0.22);
  border-color: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
}

.auth-preview-close-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 4px;
}

.auth-preview-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

/* =====================================================================
   BARRA SUPERIOR DO LOGIN: LINGUAGEM E PLANOS (FORA DO CARD DE LOGIN)
   ===================================================================== */
.auth-external-topbar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.auth-lang-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 2px 2px 2px;
}

.auth-lang-flags {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-lang-btn {
  background: var(--bg-surface, #0d1117);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 6px;
  padding: 5px 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: all 0.2s ease;
  outline: none;
}

.auth-lang-btn:hover {
  border-color: rgba(6, 182, 212, 0.7);
  background: rgba(6, 182, 212, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25);
}

.auth-lang-btn.active {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.45);
}

.lang-flag-svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* =====================================================================
   CARD DE DESTAQUE: CONHEÇA NOSSOS PLANOS (HERO SHOWCASE)
   ===================================================================== */
.auth-plans-showcase-card {
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.95) 0%,
    rgba(13, 17, 23, 0.98) 100%
  );
  border: 1px solid rgba(6, 182, 212, 0.45);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(6, 182, 212, 0.12);
  user-select: none;
  margin-top: 14px;
  box-sizing: border-box;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.auth-plans-showcase-card:hover {
  border-color: rgba(6, 182, 212, 0.85);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(6, 182, 212, 0.28);
  transform: translateY(-2px);
}

.auth-plans-showcase-card:active {
  transform: translateY(0);
}

.auth-showcase-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: rgba(6, 182, 212, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  text-transform: uppercase;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  animation: liveDotPulse 1.5s infinite;
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 12px #00ff88;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.auth-showcase-free-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  background: #00ff88;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.auth-showcase-img-container {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #080c14;
}

.auth-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.auth-plans-showcase-card:hover .auth-showcase-img {
  transform: scale(1.03);
}

.auth-showcase-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.05) 0%,
    rgba(10, 14, 23, 0.25) 55%,
    rgba(17, 24, 39, 0.95) 100%
  );
  pointer-events: none;
}

.auth-showcase-floating-label {
  position: absolute;
  bottom: 8px;
  left: 12px;
  z-index: 2;
}

.showcase-mini-pill {
  font-family: var(--font-mono, monospace);
  font-size: 8.5px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.auth-showcase-body {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-showcase-headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-showcase-title {
  margin: 0;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.auth-showcase-arrow {
  color: #38bdf8;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.auth-plans-showcase-card:hover .auth-showcase-arrow {
  transform: translateX(3px);
  color: #00ff88;
}

.auth-showcase-subtitle {
  margin: 0 0 6px 0;
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}

.auth-showcase-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2) 0%,
    rgba(14, 165, 233, 0.25) 100%
  );
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.auth-showcase-cta-text {
  font-family: var(--font-main, sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-showcase-cta-icon {
  font-size: 12px;
}

.auth-plans-showcase-card:hover .auth-showcase-cta-bar {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

.auth-plans-showcase-card:hover .auth-showcase-cta-text {
  color: #000;
}

/* =====================================================================
   TELA DE PLANOS (CARD COMPLETO DE ASSINATURA)
   ===================================================================== */
.auth-plans-card {
  max-width: 1120px !important;
  width: 100%;
  background: var(--bg-card, #111827) !important;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  animation: authFadeIn 0.25s ease-out;
}

/* =====================================================================
   BARRA SUPERIOR DA PÁGINA DE PLANOS (IDIOMAS + JÁ É CLIENTE?)
   ===================================================================== */
.auth-plans-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-sizing: border-box;
}

.auth-plans-top-logo {
  display: none;
}

.auth-plans-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-already-client-text {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
}

.auth-plans-login-btn {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #38bdf8;
  font-family: var(--font-main, sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-plans-login-btn:hover {
  background: rgba(6, 182, 212, 0.28);
  border-color: #06b6d4;
  color: #fff;
  transform: translateX(2px);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.35);
}

.auth-plans-back-btn {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  font-family: var(--font-main, sans-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.auth-plans-back-btn:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: #06b6d4;
  color: #fff;
  transform: translateX(-2px);
}

/* =====================================================================
.auth-demo-banner-desktop {
  display: flex;
}

.auth-demo-mobile-stack {
  display: none;
}

.auth-plans-demo-banner {
  width: 100%;
  max-width: 820px;
  margin-bottom: 15px;
  padding-bottom: 0;
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.95) 0%,
    rgba(13, 17, 23, 0.98) 100%
  );
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(6, 182, 212, 0.1);
  display: flex;
  flex-direction: column;
}

.auth-demo-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(6, 182, 212, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-demo-banner-media {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #080c14;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.auth-demo-desktop-wrap {
  width: 100%;
  overflow: hidden;
  background: #060910;
  border-bottom: 1px solid rgba(6, 182, 212, 0.22);
}

.auth-demo-desktop-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-demo-mobiles-row {
  display: flex;
  gap: 12px;
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;
}

.auth-demo-mobile-col {
  flex: 1;
  min-width: 0;
  background: #0d1117;
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.auth-demo-mobile-col:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.75);
}

.auth-demo-mobile-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-demo-banner-footer {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 17, 23, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-video-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.16) 0%,
    rgba(180, 0, 0, 0.24) 100%
  );
  border: 1px solid rgba(255, 0, 0, 0.55);
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  font-family: var(--font-main, sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
}

.auth-video-link-btn:hover {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  border-color: #ff4d4d;
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.55);
  transform: translateY(-1px);
  color: #fff;
}

.youtube-logo-svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.auth-video-link-btn:hover .youtube-logo-svg {
  transform: scale(1.12);
}

/* =====================================================================
   ACESSO AOS PLANOS DENTRO DO FORMULÁRIO DE LOGIN
   ===================================================================== */
.auth-login-plans-redirect {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.auth-login-plans-hint {
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
}

.auth-link-to-plans {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  font-family: var(--font-main, sans-serif);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

.auth-link-to-plans:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: #06b6d4;
  color: #fff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
  transform: translateY(-1px);
}

.auth-plans-header {
  text-align: center;
  margin-bottom: 10px;
}

.auth-plans-header-mobile {
  display: block;
}

.auth-plans-header-desktop {
  display: none;
}

.auth-plans-body-split {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.auth-plans-left-col,
.auth-plans-right-col {
  width: 100%;
}

.auth-plans-left-bottom {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.auth-demo-footer-mobile {
  display: flex;
}

.auth-video-link-desktop {
  display: none;
}

.auth-plans-actions-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.auth-plans-header .auth-plans-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 6px 0;
  font-family: var(--font-brand, "Space Grotesk", sans-serif);
}

.auth-plans-subtitle {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.auth-plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.auth-plan-box {
  background: var(--bg-surface, #0d1117);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.auth-plan-box:hover {
  border-color: rgba(6, 182, 212, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Destaque: Plano Teste Grátis (Verde GolScanner) */
.auth-plan-box.plan-box-free {
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.1) 0%, #0d1117 100%);
  border: 1px solid rgba(0, 255, 136, 0.55);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.12);
}

.auth-plan-box.plan-box-free:hover {
  border-color: rgba(0, 255, 136, 0.95);
  box-shadow: 0 8px 26px rgba(0, 255, 136, 0.35);
  transform: translateY(-2px);
}

/* Destaque: Plano Promocional de Lançamento (Vermelho) */
.auth-plan-box.plan-box-promo {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.14) 0%, #0d1117 100%);
  border: 1px solid rgba(239, 68, 68, 0.65);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.auth-plan-box.plan-box-promo:hover {
  border-color: rgba(239, 68, 68, 0.95);
  box-shadow: 0 8px 26px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}

/* Destaque: Plano Semanal (Flexível - Azul) */
.auth-plan-box.plan-box-weekly {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, #0d1117 100%);
  border: 1px solid rgba(59, 130, 246, 0.55);
}

.auth-plan-box.plan-box-weekly:hover {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

/* Destaque: Plano Mensal (Ciano) */
.auth-plan-box.featured {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, #0d1117 100%);
  border: 1px solid rgba(6, 182, 212, 0.65);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Destaque: Plano Anual (Ouro/Âmbar) */
.auth-plan-box.plan-box-annual {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, #0d1117 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
}

.plan-badge-pill {
  font-family: var(--font-mono, monospace);
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 10px;
}

.badge-free {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: #00ff88;
}

.badge-promo {
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.7);
  color: #f87171;
}

.badge-weekly {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.65);
  color: #60a5fa;
}

.badge-monthly {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.6);
  color: #38bdf8;
}

.badge-annual {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
}

.plan-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 6px;
}

.plan-currency {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
  margin-right: 2px;
}

.plan-amount {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-mono, monospace);
  line-height: 1;
}

.plan-period {
  font-size: 10.5px;
  color: var(--text-muted, #64748b);
  margin-left: 4px;
}

.plan-price-sub {
  font-size: 10px;
  color: var(--amber, #f59e0b);
  font-family: var(--font-mono, monospace);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
  margin: 0 0 12px 0;
  min-height: 32px;
}

.plan-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.plan-benefits li {
  font-size: 10.5px;
  color: var(--text-secondary, #cbd5e1);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.35;
}

.plan-check {
  color: var(--green, #00ff88);
  font-weight: 800;
  font-size: 11.5px;
  line-height: 1;
}

.plan-cta-btn {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main, sans-serif);
}

.btn-plan-free {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: #00ff88;
}

.btn-plan-free:hover {
  background: rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
  transform: translateY(-1px);
}

.btn-plan-promo {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.btn-plan-promo:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.7);
  transform: translateY(-1px);
}

.btn-plan-weekly {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.btn-plan-weekly:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.65);
  transform: translateY(-1px);
}

.btn-plan-monthly {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #000;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.btn-plan-monthly:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
  transform: translateY(-1px);
}

.btn-plan-annual {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.btn-plan-annual:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.auth-plans-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.auth-plans-return-link {
  font-size: 11.5px;
  color: var(--text-muted, #94a3b8);
  margin: 0 auto;
}

/* Links de Suporte Telegram */
.auth-telegram-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 4px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-telegram-support-link:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.auth-plans-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.auth-plans-telegram-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.5);
}

.auth-telegram-icon {
  flex-shrink: 0;
}

/* =====================================================================
   LAYOUT WIDESCREEN PARA A PÁGINA DE PLANOS (>= 1000px)
   - Layout direto na página sem card único
   - Topbar direto na página: Idiomas (esq), GOLSCANNER (centro), Já é cliente? (dir)
   - Risco bem sutil abaixo da topbar
   - Coluna esquerda: card showcase/demo (< metade da tela, ~42%)
   - Coluna direita: Conheça nossos planos, 5 cards e links youtube/telegram (~58%)
   - 100% visível na altura da tela SEM scroll ("sem precisar ficar rolando")
   ===================================================================== */
@media (min-width: 1000px) {
  /* Overlay ocupa toda tela sem scroll vertical */
  body.em-tela-planos #auth-modal-overlay {
    padding: 0 !important;
    overflow-y: hidden !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  /* O container da view de planos preenche a tela apenas quando estiver na tela de planos */
  body.em-tela-planos #auth-view-plans.auth-view-container {
    max-width: 1650px !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    padding: 10px 24px 10px 24px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Quando na tela de planos, a tela de login DEVE ficar oculta */
  body.em-tela-planos #auth-view-login {
    display: none !important;
  }

  /* Quando NÃO estiver na tela de planos (ex: na tela de login), a tela de planos DEVE ficar 100% oculta */
  body:not(.em-tela-planos) #auth-view-plans {
    display: none !important;
  }

  /* O container de card de planos vira layout de página transparente */
  .auth-plans-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    animation: none !important;
    overflow: hidden !important;
  }

  /* TOPBAR DIRETO NA PÁGINA */
  .auth-plans-top-bar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 0 10px 0 !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-shrink: 0 !important;
  }

  .auth-plans-top-bar .auth-plans-lang {
    justify-self: start;
    margin: 0 !important;
  }

  /* LOGO GOLSCANNER CENTRALIZADO NA TOPBAR (CORES E TIPOGRAFIA OFICIAIS) */
  .auth-plans-top-logo {
    display: block !important;
    font-size: 34px !important;
    font-family: var(--font-display) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    justify-self: center !important;
    user-select: none !important;
    color: var(--green, #00ff88) !important;
    text-shadow: 0 0 24px rgba(0, 255, 136, 0.5) !important;
  }

  .auth-plans-top-logo span {
    color: #ffffff !important;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.25) !important;
  }

  /* JÁ É CLIENTE? ENTRAR À DIREITA */
  .auth-plans-login-nav {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  /* Alternância dos headers mobile/desktop */
  .auth-plans-header-mobile {
    display: none !important;
  }

  .auth-plans-header-desktop {
    display: block !important;
    text-align: center !important;
    margin-bottom: 6px !important;
    flex-shrink: 0 !important;
  }

  .auth-plans-header-desktop .auth-plans-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    font-family: var(--font-brand, "Space Grotesk", sans-serif) !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 2px 0 !important;
    text-align: center !important;
    color: #ffffff !important;
  }

  .auth-plans-header-desktop .auth-plans-subtitle {
    font-size: 13.5px !important;
    color: var(--text-muted, #94a3b8) !important;
    margin: 0 auto 5px auto !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  /* CORPO SPLIT: 2 COLUNAS COM GAP AMPLIADO */
  .auth-plans-body-split {
    display: grid !important;
    grid-template-columns: 40% 1fr !important;
    gap: 40px !important;
    width: 100% !important;
    flex: 1 !important;
    min-height: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* COLUNA ESQUERDA: CARD SHOWCASE E VÍDEO ABAIXO */
  .auth-plans-left-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .auth-plans-left-col .auth-demo-banner-desktop {
    display: flex !important;
  }

  .auth-plans-left-col .auth-demo-mobile-stack {
    display: none !important;
  }

  .auth-plans-left-col .auth-plans-demo-banner {
    width: 100% !important;
    max-width: 100% !important;
    height: calc((100% - 60px) * 0.8) !important;
    max-height: calc((100% - 60px) * 0.8) !important;
    margin: auto 0 !important;
    background: linear-gradient(
      145deg,
      rgba(17, 24, 39, 0.95) 0%,
      rgba(13, 17, 23, 0.98) 100%
    ) !important;
    border: 1px solid rgba(6, 182, 212, 0.38) !important;
    border-radius: 12px !important;
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.55),
      0 0 20px rgba(6, 182, 212, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .auth-plans-left-col .auth-demo-banner-top {
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    background: rgba(6, 182, 212, 0.08) !important;
  }

  .auth-plans-left-col .auth-demo-banner-media {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    background: #080c14 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .auth-plans-left-col .auth-demo-desktop-wrap {
    flex: 1.1 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #060910 !important;
    border: 1px solid rgba(6, 182, 212, 0.22) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }

  .auth-plans-left-col .auth-demo-desktop-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .auth-plans-left-col .auth-demo-mobiles-row {
    flex: 1.2 !important;
    min-height: 0 !important;
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .auth-plans-left-col .auth-demo-mobile-col {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0d1117 !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }

  .auth-plans-left-col .auth-demo-mobile-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* BOTÃO YOUTUBE FORA DO CARD (COLUNA ESQUERDA) */
  .auth-plans-left-col .auth-plans-left-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .auth-plans-left-col .auth-plans-left-bottom .auth-video-link-btn {
    width: auto !important;
    max-width: 100% !important;
    height: 36px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    gap: 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    background: linear-gradient(
      135deg,
      rgba(255, 0, 0, 0.18) 0%,
      rgba(180, 0, 0, 0.28) 100%
    ) !important;
    border: 1px solid rgba(255, 0, 0, 0.6) !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25) !important;
    transition: all 0.22s ease !important;
  }

  .auth-plans-left-col .auth-plans-left-bottom .auth-video-link-btn:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    border-color: #ff4d4d !important;
    box-shadow: 0 6px 22px rgba(255, 0, 0, 0.55) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
  }

  /* COLUNA DIREITA: CONTEÚDO DISTRIBUÍDO */
  .auth-plans-right-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  /* GRID DOS 5 PLANOS - CENTRALIZADO NO EIXO Y ENTRE TÍTULO E TELEGRAM */
  .auth-plans-right-col .auth-plans-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    align-items: stretch !important;
  }

  /* Linha 1: 3 cards (Teste Grátis, Promoção Lançamento, Plano Semanal) */
  .auth-plans-right-col .plan-box-free,
  .auth-plans-right-col .plan-box-promo,
  .auth-plans-right-col .plan-box-weekly {
    grid-column: span 2 !important;
  }

  /* Linha 2: 2 cards (Plano Mensal e Plano Anual) */
  .auth-plans-right-col .plan-box-monthly,
  .auth-plans-right-col .plan-box-annual {
    grid-column: span 3 !important;
  }

  /* Cards da linha 2: benefícios em 2 colunas para melhor aproveitamento */
  .auth-plans-right-col .plan-box-monthly .plan-benefits,
  .auth-plans-right-col .plan-box-annual .plan-benefits {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px 12px !important;
  }

  .auth-plans-right-col .auth-plan-box {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 0 !important;
  }

  .auth-plans-right-col .plan-badge-pill {
    font-size: 8px !important;
    padding: 2.5px 7px !important;
    margin-bottom: 5px !important;
    letter-spacing: 0.05em !important;
    align-self: center !important;
  }

  .auth-plans-right-col .plan-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: var(--font-brand, "Space Grotesk", sans-serif) !important;
    color: #ffffff !important;
    text-align: center !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }

  .auth-plans-right-col .plan-price-wrap {
    justify-content: center !important;
    margin-bottom: 3px !important;
  }

  .auth-plans-right-col .plan-currency {
    font-size: 12px !important;
  }

  .auth-plans-right-col .plan-amount {
    font-size: 20px !important;
    font-weight: 900 !important;
  }

  .auth-plans-right-col .plan-period {
    font-size: 9.5px !important;
  }

  .auth-plans-right-col .plan-price-sub {
    font-size: 8.5px !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .auth-plans-right-col .plan-desc {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    margin: 0 0 6px 0 !important;
    min-height: 24px !important;
    text-align: center !important;
    color: var(--text-muted, #94a3b8) !important;
  }

  .auth-plans-right-col .plan-benefits {
    gap: 3.5px !important;
    margin: 0 0 8px 0 !important;
    flex: 1 !important;
  }

  .auth-plans-right-col .plan-benefits li {
    font-size: 9px !important;
    gap: 4px !important;
    line-height: 1.25 !important;
  }

  .auth-plans-right-col .plan-check {
    font-size: 9.5px !important;
  }

  .auth-plans-right-col .plan-cta-btn {
    padding: 7px 6px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    border-radius: 6px !important;
  }

  /* BARRA INFERIOR DE AÇÕES (TELEGRAM CENTRALIZADO E ALINHADO COM YOUTUBE) */
  .auth-plans-right-col .auth-plans-bottom {
    margin-top: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .auth-plans-right-col .auth-plans-telegram-btn {
    height: 36px !important;
    padding: 0 24px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  #auth-view-plans .auth-external-footer {
    display: block !important;
    text-align: center !important;
    font-size: 11px !important;
    color: var(--text-muted, #94a3b8) !important;
    padding: 6px 0 2px 0 !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.02em !important;
  }
}

/* Fallback gracioso para telas desktop de altura baixa (< 620px) */
@media (min-width: 1000px) and (max-height: 620px) {
  body.em-tela-planos #auth-modal-overlay {
    overflow-y: auto !important;
  }
  body.em-tela-planos #auth-view-plans.auth-view-container {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
  }
}

/* =====================================================================
   RESPONSIVIDADE MOBILE (TELA DE LOGIN E PLANOS) - APENAS < 1000px
   ===================================================================== */
@media (max-width: 999px) {
  .auth-demo-banner-desktop {
    display: none !important;
  }

  .auth-demo-mobile-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  /* CARDS INDEPENDENTES NO MOBILE COM MESMA ALTURA E BORDAS ESCURECIDAS */
  .auth-demo-card-web,
  .auth-demo-card-phones {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    background: radial-gradient(
      ellipse at center,
      rgba(15, 23, 42, 0.98) 0%,
      rgba(10, 15, 26, 0.98) 65%,
      #050811 100%
    ) !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.75),
      inset 0 0 18px rgba(0, 0, 0, 0.75) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .auth-demo-card-web .auth-demo-banner-top,
  .auth-demo-card-phones .auth-demo-banner-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    background: rgba(6, 182, 212, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    flex-shrink: 0 !important;
  }

  /* ÁREA DE MÍDIA COM ALTURA RIGOROSAMENTE IDÊNTICA */
  .auth-demo-card-web .auth-demo-banner-media,
  .auth-demo-card-phones .auth-demo-banner-media {
    height: 185px !important;
    min-height: 185px !important;
    max-height: 185px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    background: #070a12 !important;
  }

  /* VINHETA / ESCURECIMENTO NAS BORDAS EM AMBOS OS CARDS */
  .auth-demo-card-web .auth-demo-banner-media::after,
  .auth-demo-card-phones .auth-demo-banner-media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    box-shadow:
      inset 0 0 20px 6px rgba(4, 7, 14, 0.9),
      inset 0 -12px 18px rgba(4, 7, 14, 0.95) !important;
    border-radius: 0 0 11px 11px !important;
  }

  /* CARD 1 (WEB) - IMAGEM DESKTOP */
  .auth-demo-card-web .auth-demo-desktop-wrap {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .auth-demo-card-web .auth-demo-desktop-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 4px !important;
  }

  /* CARD 2 (CELULARES) - DUAS TELAS MOBILE LADO A LADO */
  .auth-demo-card-phones .auth-demo-mobiles-row {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    gap: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .auth-demo-card-phones .auth-demo-mobile-col {
    flex: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0d1117 !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow:
      inset 0 0 12px rgba(0, 0, 0, 0.8),
      0 4px 10px rgba(0, 0, 0, 0.5) !important;
  }

  .auth-demo-card-phones .auth-demo-mobile-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .auth-plans-left-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 12px 0 16px 0 !important;
  }

  .auth-plans-left-bottom .auth-video-link-btn {
    width: 100% !important;
    max-width: 460px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    background: linear-gradient(
      135deg,
      rgba(255, 0, 0, 0.2) 0%,
      rgba(180, 0, 0, 0.3) 100%
    ) !important;
    border: 1px solid rgba(255, 0, 0, 0.6) !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25) !important;
  }

  .auth-plans-left-bottom .auth-video-link-btn:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    border-color: #ff4d4d !important;
    box-shadow: 0 6px 22px rgba(255, 0, 0, 0.55) !important;
    color: #ffffff !important;
  }

}

/* =====================================================================
   TELAS INTERMEDIÁRIAS (< 1000px MAS ACIMA DE MOBILE / TABLETS: 768px a 999px)
   ===================================================================== */
@media (min-width: 768px) and (max-width: 999px) {
  /* Cards Showcase (Web e Mobile) LADO A LADO na mesma linha */
  .auth-demo-mobile-stack {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .auth-demo-card-web,
  .auth-demo-card-phones {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  /* TODOS OS 5 PLANOS NA MESMA LINHA */
  .auth-plans-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  .auth-plans-grid .auth-plan-box {
    padding: 10px 8px !important;
    border-radius: 9px !important;
  }

  .auth-plans-grid .plan-badge-pill {
    font-size: 7.5px !important;
    padding: 2px 5px !important;
  }

  .auth-plans-grid .plan-name {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .auth-plans-grid .plan-amount {
    font-size: 17.5px !important;
  }

  .auth-plans-grid .plan-period {
    font-size: 8.5px !important;
  }

  .auth-plans-grid .plan-price-sub {
    font-size: 8px !important;
  }

  .auth-plans-grid .plan-desc {
    font-size: 8.5px !important;
    min-height: 22px !important;
    line-height: 1.2 !important;
  }

  .auth-plans-grid .plan-benefits li {
    font-size: 8px !important;
    gap: 3px !important;
    line-height: 1.2 !important;
  }

  .auth-plans-grid .plan-cta-btn {
    font-size: 8.5px !important;
    padding: 7px 4px !important;
  }
}

@media (max-width: 767px) {
  /* No celular, os dois cards ficam empilhados em coluna */
  .auth-demo-mobile-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* No celular, planos em 2 colunas */
  .auth-plans-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 768px) {
  .auth-modal-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 16px 12px 32px 12px;
    overflow-y: auto;
  }

  .auth-view-container {
    min-height: calc(100vh - 48px);
    min-height: calc(100dvh - 48px);
    padding-bottom: 20px;
    max-width: 100%;
  }

  .auth-card {
    margin: 0 auto;
    padding: 22px 18px;
    max-width: 100%;
  }

  #auth-card-login {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }

  .auth-plans-top-bar {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .auth-plans-login-nav {
    width: 100%;
    justify-content: center;
  }

  .auth-demo-banner-media {
    height: auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  .auth-demo-mobiles-row {
    gap: 8px;
    padding: 0 8px;
  }

  .auth-video-link-btn {
    width: 100%;
    font-size: 11.5px;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: center;
  }

  .auth-logo {
    font-size: 30px;
  }

  .auth-plans-card {
    padding: 18px 12px;
  }

  .auth-plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .auth-plan-box {
    padding: 14px 12px;
  }

  .plan-desc {
    min-height: auto;
  }

  .auth-plans-header .auth-plans-title {
    font-size: 19px;
  }

  .auth-plans-subtitle {
    font-size: 11px;
  }

  .auth-external-footer {
    padding-top: 20px;
    font-size: 10.5px;
}
}

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

@media (max-width: 380px) {
  .auth-lang-selector {
    flex-wrap: wrap;
    gap: 6px;
  }

  .auth-lang-flags {
    gap: 4px;
  }

  .auth-lang-btn {
    padding: 2px 4px;
  }

  .auth-showcase-img-container {
    height: 120px;
  }

  .auth-showcase-title {
    font-size: 13.5px;
  }
}

/* =====================================================================
   MODO ROTA DEDICADA (/login e /planos)
   ===================================================================== */
body.em-tela-auth {
  overflow: hidden;
}

body.em-tela-auth #auth-modal-overlay {
  background: var(--bg-deep, #060810) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.em-tela-auth .topbar,
body.em-tela-auth .layout,
body.em-tela-auth #dashboard-view,
body.em-tela-auth .filter-bar,
body.em-tela-auth .side-panel {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* =====================================================================
   ABA CONTA NO MENU: MANTÉM 1 COLUNA MESMO COM ALTURA REDUZIDA (EIXO Y BAIXO)
   ===================================================================== */
@media (max-height: 620px), (orientation: landscape) and (max-height: 520px) {
  .championship-panel-header {
    padding: 11px 14px 10px 14px !important;
  }

  .auth-account-body {
    padding: 10px 14px 14px 14px !important;
    gap: 10px !important;
    overflow-y: auto !important;
    max-height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Mantém estritamente 1 coluna para os cards da conta */
  .auth-account-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .auth-account-plan-card,
  .auth-account-info-box {
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .auth-logout-btn,
  .auth-account-body .auth-btn-primary {
    margin-top: 4px !important;
    width: 100% !important;
  }
}


