/* ==========================================================================
   THEUZINHOTV - ESTILOS DO MEU PERFIL (LAYOUT PREMIUM VIP)
   ========================================================================== */

/* ==========================================================================
   REDEFINIR SENHA DE ACESSO (SEGURANÇA FIREBASE AUTH)
   ========================================================================== */
.security-reset-box {
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.06);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.08);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.security-reset-box:hover {
  border-color: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.55);
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.09);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb, 0, 132, 255), 0.14);
}

.security-reset-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.security-reset-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.security-reset-action {
  flex-shrink: 0;
}

.security-reset-action .btn-send-reset-link,
.security-reset-action .btn-google-link {
  white-space: nowrap;
}

.security-reset-icon.google-link-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

.security-reset-box.is-linked {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}

.security-reset-box.is-linked .google-link-email {
  color: #34d399;
}

.security-user-email.is-muted {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.94rem;
}

.security-reset-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.18);
  border: 1px solid rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.35);
  color: var(--accent-cyan, #00d2ff);
  box-shadow: 0 0 16px rgba(var(--accent-rgb, 0, 132, 255), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-reset-icon svg {
  width: 24px;
  height: 24px;
}

.security-reset-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.security-reset-texts strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

.security-user-email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan, #00d2ff);
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.security-reset-hint {
  width: 100%;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 14px 0 0;
}

.security-reset-feedback {
  margin-top: 18px;
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 14px 18px;
  border-radius: 10px;
  color: #f0fdf4;
}

.security-reset-feedback.is-visible {
  display: flex;
}

.security-reset-feedback svg {
  width: 22px;
  height: 22px;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-reset-feedback strong {
  display: block;
  font-size: 0.92rem;
  color: #34d399;
  margin-bottom: 4px;
}

.security-reset-feedback p {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.security-reset-feedback p strong {
  display: inline;
  color: #ffffff;
}

/* Alinhamento do Botão Salvar ao Lado do E-mail */
.form-row.two-cols.form-row-email-action {
  grid-template-columns: 1fr auto;
  align-items: flex-end;
}

.form-row-email-action .form-group {
  margin-bottom: 0;
}

.form-group-action {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.btn-save-inline {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .form-row.two-cols.form-row-email-action {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .security-reset-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .security-reset-info {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .security-reset-main {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .security-reset-action .btn-send-reset-link,
  .security-reset-action .btn-google-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .security-reset-info {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .security-reset-icon {
    width: 44px;
    height: 44px;
  }

  .security-user-email {
    font-size: 0.96rem;
  }

  .security-reset-box {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   HEADER FIXO & ESTILOS DE BASE DA PÁGINA
   ========================================================================== */
body.profile-page .main-header {
  background: #06090f !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Estilos de Base da Página de Perfil */
body.profile-page {
  background-color: var(--bg-main, #06090f);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb, 0, 132, 255), 0.16) 0%, rgba(6, 9, 15, 0.96) 55%, #030508 100%),
    radial-gradient(circle at 10% 30%, rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary, #ffffff);
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  min-height: 100vh;
  padding-top: calc(86px + var(--global-banner-height, 0px));
  transition: padding-top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.profile-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ==========================================================================
   HERO CARD DO PERFIL (LAYOUT ELEGANTE, LIMPO E SEM CAPA)
   ========================================================================== */
.profile-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 22, 36, 0.95) 0%, rgba(20, 30, 48, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 36px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(var(--accent-rgb, 0, 132, 255), 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.profile-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue, #0084ff) 0%, var(--accent-cyan, #00d2ff) 50%, rgba(var(--accent-rgb, 0, 132, 255), 0.2) 100%);
}

.profile-hero-card::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb, 0, 132, 255), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* Caixa do Avatar com Moldura Neon */
.hero-avatar-box {
  position: relative;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}

.hero-avatar-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue, #0084ff), var(--accent-cyan, #00d2ff));
  filter: blur(6px);
  opacity: 0.75;
  z-index: 1;
}

.hero-avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #0b111e;
  background-color: #0f1624;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.btn-change-avatar {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue, #0084ff) 0%, var(--accent-cyan, #00b4d8) 100%);
  border: 2px solid #0b111e;
  color: var(--accent-on-primary, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(var(--accent-rgb, 0, 132, 255), 0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn-change-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(var(--accent-rgb, 0, 132, 255), 0.6);
}

.btn-change-avatar svg {
  width: 16px;
  height: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Detalhes do Usuário no Hero */
.hero-details {
  flex: 1;
  min-width: 0;
}

.hero-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.hero-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.badge-plan-vip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb, 0, 132, 255), 0.18) 0%, rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.08) 100%);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.4);
  color: var(--accent-cyan, #38bdf8);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(var(--accent-rgb, 0, 132, 255), 0.25);
}

.badge-plan-vip.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.badge-plan-vip svg {
  width: 13px;
  height: 13px;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}

/* ==========================================================================
   DASHBOARD MODULAR: SIDEBAR + CONTEÚDO
   ========================================================================== */
.profile-dashboard-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

/* Menu Lateral (Sidebar de Abas) */
.profile-nav-sidebar {
  background: rgba(15, 22, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 96px;
}

.nav-tab-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-secondary, #94a3b8);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn svg {
  width: 19px;
  height: 19px;
  color: #64748b;
  flex-shrink: 0;
  overflow: visible;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.tab-btn:hover svg {
  color: var(--accent-blue, #0084ff);
  transform: scale(1.1);
}

.tab-btn.active {
  background: linear-gradient(90deg, rgba(var(--accent-rgb, 0, 132, 255), 0.18) 0%, rgba(var(--accent-rgb, 0, 132, 255), 0.04) 100%);
  border-color: rgba(var(--accent-rgb, 0, 132, 255), 0.25);
  color: #ffffff;
  font-weight: 700;
}

.tab-btn.active svg {
  color: var(--accent-blue, #0084ff);
}

.tab-pill-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sidebar-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

.sidebar-link-aux {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-link-aux:hover {
  color: var(--accent-blue, #0084ff);
}

.sidebar-footer .sep {
  opacity: 0.4;
}

/* ==========================================================================
   PAINÉIS DE CONTEÚDO (CARDS GLASSMORPHISM)
   ========================================================================== */
.profile-tab-content {
  min-width: 0;
}

.tab-pane {
  display: none;
  animation: tabFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
  display: block;
}

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

.pane-card {
  background: rgba(15, 22, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 25px 30px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.card-header {
  margin-bottom: 24px;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.card-desc {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* Formulários */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-label .required-dot {
  color: var(--accent-blue, #0084ff);
  margin-left: 2px;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.verified-pill svg {
  width: 12px;
  height: 12px;
}

.form-input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  background-color: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--accent-blue, #0084ff);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 0, 132, 255), 0.25);
  background-color: #0c1220;
}

.readonly-input {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.03);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--accent-blue, #0084ff) 0%, var(--accent-blue-hover, #0072de) 100%);
  border: none;
  border-radius: 10px;
  color: var(--accent-on-primary, #ffffff);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-cyan, #0091ff) 0%, var(--accent-blue, #0084ff) 100%);
  box-shadow: 0 6px 22px rgba(var(--accent-rgb, 0, 132, 255), 0.5);
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 17px;
  height: 17px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.15);
  border-color: rgba(var(--accent-rgb, 0, 132, 255), 0.4);
  color: var(--accent-cyan, #38bdf8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb, 0, 132, 255), 0.2);
}

.btn-secondary svg {
  width: 17px;
  height: 17px;
}

.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  box-sizing: border-box;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #f87171;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #ffffff;
}

.btn-danger-outline svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   EXCLUIR CONTA (ZONA DE PERIGO NA ABA DADOS PESSOAIS)
   ========================================================================== */
.danger-zone-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.danger-zone-box:hover {
  border-color: rgba(239, 68, 68, 0.48);
  background: rgba(239, 68, 68, 0.08);
}

.danger-zone-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.danger-zone-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}

.danger-zone-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.danger-zone-icon svg {
  width: 22px;
  height: 22px;
}

.danger-zone-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.danger-zone-texts strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

.danger-zone-hint {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.danger-zone-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .danger-zone-main {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .danger-zone-action {
    width: 100%;
  }

  .danger-zone-action .btn-danger-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .danger-zone-info {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
  }

  .danger-zone-icon {
    width: 44px;
    height: 44px;
  }

  .danger-zone-box {
    padding: 18px 16px;
  }
}

.danger-modal-dialog {
  max-width: 460px;
}

.danger-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.danger-modal-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.danger-modal-badge-icon svg {
  width: 18px;
  height: 18px;
}

.danger-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.danger-modal-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.danger-modal-list {
  margin: 0;
  padding: 12px 14px 12px 30px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 10px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.danger-modal-list li + li {
  margin-top: 4px;
}

.danger-google-hint {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
}

.delete-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
}

.delete-confirm-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #ef4444;
  flex-shrink: 0;
  cursor: pointer;
}

.delete-error-msg {
  font-size: 0.82rem;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  padding: 9px 12px;
}

.btn-danger-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-danger-solid:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.32);
}

.btn-danger-solid:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ==========================================================================
   CARD DE PLANO DINÂMICO
   ========================================================================== */
.plan-vip-card {
  background: linear-gradient(135deg, rgba(15, 22, 36, 0.92) 0%, rgba(20, 28, 45, 0.88) 100%);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(var(--accent-rgb, 0, 132, 255), 0.1);
  position: relative;
  overflow: hidden;
}

.plan-vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue, #0084ff), var(--accent-cyan, #00d2ff), #10b981);
}

.plan-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.plan-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb, 0, 132, 255), 0.2) 0%, rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.1) 100%);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan, #38bdf8);
  box-shadow: 0 0 20px rgba(var(--accent-rgb, 0, 132, 255), 0.25);
  flex-shrink: 0;
}

.plan-badge-icon svg {
  width: 26px;
  height: 26px;
}

.plan-tag-gold {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-cyan, #38bdf8);
  text-transform: uppercase;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 3px 0 6px 0;
}

.plan-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

.pulse-dot.warning {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.pulse-dot.danger {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Métricas do Plano */
.plan-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.metric-box {
  --metric-rgb: 0, 132, 255;
  --metric-color: #38bdf8;
  padding: 16px 18px;
  min-width: 0;
  background: rgba(var(--metric-rgb), 0.06);
  border: 1px solid rgba(var(--metric-rgb), 0.28);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-box:hover {
  border-color: rgba(var(--metric-rgb), 0.55);
  background: rgba(var(--metric-rgb), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.metric-box.theme-blue {
  --metric-rgb: 0, 132, 255;
  --metric-color: #38bdf8;
}

.metric-box.theme-cyan {
  --metric-rgb: 0, 210, 255;
  --metric-color: #00d2ff;
}

.metric-box.theme-emerald {
  --metric-rgb: 16, 185, 129;
  --metric-color: #34d399;
}

.metric-box.theme-purple {
  --metric-rgb: 168, 85, 247;
  --metric-color: #c084fc;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.metric-value-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--metric-color);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-value-tag.highlight {
  color: #ffffff;
}

.metric-indicator-line {
  height: 4px;
  background: linear-gradient(90deg, var(--metric-color), rgba(var(--metric-rgb), 0.2));
  border-radius: 999px;
  margin-bottom: 8px;
}

.metric-indicator-line.success {
  background: linear-gradient(90deg, #10b981, rgba(16, 185, 129, 0.2));
}

.metric-box.theme-purple .metric-indicator-line.success {
  background: linear-gradient(90deg, #a855f7, rgba(168, 85, 247, 0.2));
}

.progress-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue, #0084ff), var(--accent-cyan, #00d2ff));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.progress-bar-fill.screens {
  width: 50%;
  background: linear-gradient(90deg, #10b981, #34d399);
}

@media (min-width: 901px) and (max-width: 1020px) {
  .metric-box {
    padding: 14px;
  }

  .metric-top {
    gap: 6px;
  }

  .metric-label,
  .metric-value-tag {
    font-size: 0.77rem;
  }
}

.metric-hint {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.4;
}

.plan-actions-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-renew {
  text-decoration: none;
}

/* ==========================================================================
   HISTÓRICO DE PAGAMENTOS
   ========================================================================== */
.card-header-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-svg-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-blue, #0084ff);
  flex-shrink: 0;
}

.payments-container {
  margin-top: 18px;
}

.payments-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 30, 0.6);
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  white-space: nowrap;
}

.payments-table th {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payments-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  vertical-align: middle;
}

.payments-table tr:last-child td {
  border-bottom: none;
}

.payments-table tr:hover td {
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.03);
}

.payment-invoice-id {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-cyan, #38bdf8);
  letter-spacing: 0.02em;
}

.payment-plan-title {
  font-weight: 600;
  color: #ffffff;
}

.payment-date {
  color: #94a3b8;
  font-size: 0.85rem;
}

.payment-method-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.payment-method-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan, #00d2ff);
  flex-shrink: 0;
}

.payment-value {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
}

.payment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.payment-status-badge.paid {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.payment-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.payment-status-badge.canceled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.payment-status-badge.trial {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.payment-status-badge svg {
  width: 12px;
  height: 12px;
}

.btn-receipt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-receipt:hover {
  background: var(--accent-blue, #0084ff);
  border-color: var(--accent-blue, #0084ff);
  color: var(--accent-on-primary, #ffffff);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb, 0, 132, 255), 0.3);
}

.btn-receipt svg {
  width: 14px;
  height: 14px;
}

.payments-loading {
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ==========================================================================
   DISPOSITIVOS CONECTADOS
   ========================================================================== */
.devices-list,
#other-devices-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.devices-toggle-wrap {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.btn-devices-toggle {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.device-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(6, 9, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.device-card.is-current {
  border-color: rgba(var(--accent-rgb, 0, 132, 255), 0.4);
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.06);
}

.device-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.device-card.is-current .device-icon {
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.18);
  color: var(--accent-blue, #0084ff);
}

.device-icon svg {
  width: 22px;
  height: 22px;
}

.device-info {
  flex: 1;
  min-width: 0;
}

.device-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 4px;
}

.device-name {
  font-size: 0.95rem;
  color: #ffffff;
}

.current-pill {
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .device-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    padding: 14px 16px;
  }

  .device-info,
  .device-header {
    display: contents;
  }

  .device-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 40px;
    height: 40px;
  }

  .device-icon svg {
    width: 19px;
    height: 19px;
  }

  .device-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .current-pill,
  .device-seen {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .device-details {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 4px;
    font-size: 0.8rem;
  }

  .btn-remove-device {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    margin-top: 4px;
    text-align: center;
  }
}

.device-seen {
  font-size: 0.76rem;
  color: #64748b;
  white-space: nowrap;
}

.device-seen.is-online {
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.device-details {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

.btn-remove-device {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-device:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #f87171;
}

/* Estado de Segurança quando só há a sessão atual */
.empty-devices-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
}

.empty-devices-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
}

.empty-devices-icon svg {
  width: 22px;
  height: 22px;
}

.empty-devices-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.empty-devices-text p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   TELEMETRIA DE ACESSO
   ========================================================================== */
.telemetry-table-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.telemetry-row-item {
  --telemetry-rgb: 0, 132, 255;
  --telemetry-color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  min-width: 0;
  background: rgba(var(--telemetry-rgb), 0.06);
  border: 1px solid rgba(var(--telemetry-rgb), 0.25);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.telemetry-row-item:hover {
  border-color: rgba(var(--telemetry-rgb), 0.5);
  background: rgba(var(--telemetry-rgb), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.telemetry-row-item.theme-blue {
  --telemetry-rgb: 0, 132, 255;
  --telemetry-color: #38bdf8;
}

.telemetry-row-item.theme-emerald {
  --telemetry-rgb: 16, 185, 129;
  --telemetry-color: #10b981;
}

.telemetry-row-item.theme-purple {
  --telemetry-rgb: 168, 85, 247;
  --telemetry-color: #c084fc;
}

.telemetry-row-item.theme-amber {
  --telemetry-rgb: 245, 158, 11;
  --telemetry-color: #fbbf24;
}

.telemetry-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.telemetry-item-left > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.telemetry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(var(--telemetry-rgb), 0.16);
  border: 1px solid rgba(var(--telemetry-rgb), 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--telemetry-color);
  flex-shrink: 0;
}

.telemetry-icon svg {
  width: 20px;
  height: 20px;
}

.telemetry-row-item strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #ffffff;
}

.telemetry-row-item .sub-text {
  font-size: 0.83rem;
  line-height: 1.4;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
}

.status-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(var(--telemetry-rgb), 0.15);
  border: 1px solid rgba(var(--telemetry-rgb), 0.32);
  color: var(--telemetry-color);
}

.status-chip.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.32);
  color: #10b981;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .telemetry-table-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .telemetry-table-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .telemetry-row-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    padding: 14px 16px;
  }

  .telemetry-item-left,
  .telemetry-item-left > div {
    display: contents;
  }

  .telemetry-icon {
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .telemetry-icon svg {
    width: 18px;
    height: 18px;
  }

  .telemetry-row-item strong {
    grid-column: 2 / -1;
    grid-row: 1;
    font-size: 0.9rem;
  }

  .telemetry-row-item .sub-text {
    grid-column: 1 / 3;
    grid-row: 2;
    font-size: 0.82rem;
  }

  .telemetry-row-item .status-chip {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }
}

/* ==========================================================================
   TOGGLES / SWITCHES CUSTOMIZADOS (PREFERÊNCIAS & PARENTAL)
   ========================================================================== */
.toggles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.toggle-item {
  --toggle-rgb: 0, 132, 255;
  --toggle-color: #0084ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(var(--toggle-rgb), 0.06);
  border: 1px solid rgba(var(--toggle-rgb), 0.25);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.toggle-item:hover {
  border-color: rgba(var(--toggle-rgb), 0.48);
  background: rgba(var(--toggle-rgb), 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.toggle-item.theme-blue {
  --toggle-rgb: 0, 132, 255;
  --toggle-color: #38bdf8;
}

.toggle-item.theme-amber {
  --toggle-rgb: 245, 158, 11;
  --toggle-color: #fbbf24;
}

.toggle-item.theme-cyan {
  --toggle-rgb: 0, 210, 255;
  --toggle-color: #00d2ff;
}

.toggle-item.theme-purple {
  --toggle-rgb: 168, 85, 247;
  --toggle-color: #c084fc;
}

.toggle-item.theme-emerald {
  --toggle-rgb: 16, 185, 129;
  --toggle-color: #10b981;
}

.toggle-item.prominent {
  --toggle-rgb: var(--accent-rgb, 0, 132, 255);
  --toggle-color: var(--accent-cyan, #38bdf8);
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.07);
  border-color: rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  margin-bottom: 0;
}

.toggle-item.prominent:hover {
  border-color: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.55);
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.11);
}

.toggle-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.toggle-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(var(--toggle-rgb), 0.16);
  border: 1px solid rgba(var(--toggle-rgb), 0.3);
  color: var(--toggle-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toggle-icon svg {
  width: 20px;
  height: 20px;
}

.toggle-info {
  min-width: 0;
}

.toggle-info strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.toggle-info p {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .toggle-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    padding: 14px 16px;
  }

  .toggle-item-left,
  .toggle-info {
    display: contents;
  }

  .toggle-icon {
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .toggle-icon svg {
    width: 18px;
    height: 18px;
  }

  .toggle-info strong {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .toggle-item .switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .toggle-info p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.8rem;
  }
}

/* Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1e293b;
  border-radius: 999px;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  border-radius: 50%;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch input:focus-visible + .slider {
  outline: 2px solid var(--accent-cyan, #00d2ff);
  outline-offset: 3px;
}

input:checked + .slider {
  background-color: var(--toggle-color, var(--accent-blue, #0084ff));
  border-color: var(--toggle-color, var(--accent-blue, #0084ff));
  box-shadow: 0 0 12px rgba(var(--toggle-rgb, var(--accent-rgb, 0, 132, 255)), 0.45);
}

input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #ffffff;
}

/* Aparência: Seletor de Cor de Destaque Global */
.appearance-theme-box {
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.06);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.3);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.appearance-theme-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.appearance-theme-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.appearance-theme-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.16);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.38);
  color: var(--accent-cyan, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.appearance-theme-icon svg {
  width: 20px;
  height: 20px;
}

.appearance-theme-texts strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.appearance-theme-texts p {
  margin: 0;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.appearance-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.16);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.42);
  color: var(--accent-cyan, #38bdf8);
  white-space: nowrap;
}

.appearance-active-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue, #0084ff) 0%, var(--accent-cyan, #00d2ff) 100%);
  box-shadow: 0 0 8px rgba(var(--accent-rgb, 0, 132, 255), 0.75);
  flex-shrink: 0;
}

.theme-swatches-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.theme-swatch-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 14, 24, 0.78);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.theme-swatch-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--swatch-rgb), 0.65);
  background: rgba(var(--swatch-rgb), 0.12);
  color: #ffffff;
}

.theme-swatch-btn.is-active {
  border-color: var(--swatch-primary);
  background: rgba(var(--swatch-rgb), 0.16);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(var(--swatch-rgb), 0.28);
}

.theme-swatch-btn:focus-visible {
  outline: 2px solid var(--swatch-secondary, var(--accent-cyan, #00d2ff));
  outline-offset: 2px;
}

.theme-swatch-orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--swatch-primary) 0%, var(--swatch-secondary) 100%);
  box-shadow: 0 0 10px rgba(var(--swatch-rgb), 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}

.theme-swatch-btn.is-active .theme-swatch-orb::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--swatch-secondary);
}

.theme-swatch-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-swatch-btn[data-accent-option="blue"] { --swatch-rgb: 0, 132, 255; --swatch-primary: #0084ff; --swatch-secondary: #00d2ff; }
.theme-swatch-btn[data-accent-option="red"] { --swatch-rgb: 229, 9, 20; --swatch-primary: #e50914; --swatch-secondary: #ff4d58; }
.theme-swatch-btn[data-accent-option="emerald"] { --swatch-rgb: 29, 185, 84; --swatch-primary: #1db954; --swatch-secondary: #4ade80; }
.theme-swatch-btn[data-accent-option="purple"] { --swatch-rgb: 145, 70, 255; --swatch-primary: #9146ff; --swatch-secondary: #bf94ff; }
.theme-swatch-btn[data-accent-option="yellow"] { --swatch-rgb: 245, 197, 24; --swatch-primary: #f5c518; --swatch-secondary: #ffe45e; }
.theme-swatch-btn[data-accent-option="platinum"] { --swatch-rgb: 148, 163, 184; --swatch-primary: #94a3b8; --swatch-secondary: #e2e8f0; }
.theme-swatch-btn[data-accent-option="orange"] { --swatch-rgb: 244, 117, 33; --swatch-primary: #f47521; --swatch-secondary: #ffa25b; }
.theme-swatch-btn[data-accent-option="pink"] { --swatch-rgb: 225, 29, 116; --swatch-primary: #e11d74; --swatch-secondary: #ff5c9e; }
.theme-swatch-btn[data-accent-option="cyan"] { --swatch-rgb: 0, 194, 224; --swatch-primary: #00c2e0; --swatch-secondary: #47ecff; }
.theme-swatch-btn[data-accent-option="indigo"] { --swatch-rgb: 59, 91, 255; --swatch-primary: #3b5bff; --swatch-secondary: #7d93ff; }

@media (max-width: 1100px) {
  .theme-swatches-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .appearance-theme-box {
    padding: 16px 14px;
    gap: 14px;
  }

  .appearance-theme-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .appearance-theme-info {
    width: 100%;
  }

  .theme-swatches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .theme-swatch-btn {
    padding: 9px 10px;
    gap: 8px;
    font-size: 0.78rem;
  }

  .theme-swatch-orb {
    width: 18px;
    height: 18px;
  }
}

/* Controle Parental PIN */
.parental-pin-box {
  background: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.05);
  border: 1px solid rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.3);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.08);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.parental-pin-box:hover,
.parental-pin-box:focus-within {
  border-color: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.55);
  background: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.08);
  box-shadow: 0 10px 28px rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.14);
}

.parental-pin-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.parental-pin-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.14);
  border: 1px solid rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.32);
  color: var(--accent-cyan, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.parental-pin-icon svg {
  width: 20px;
  height: 20px;
}

.parental-pin-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.parental-pin-box .form-label {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.parental-pin-box .form-hint {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.parental-pin-box .form-hint.is-configured {
  color: #34d399;
}

.parental-pin-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 148px;
  flex-shrink: 0;
}

.pin-input {
  width: 100%;
  height: 40px;
  line-height: 38px;
  letter-spacing: 0.36em;
  text-indent: 0.2em;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 700;
  padding: 0 38px 0 10px;
  box-sizing: border-box;
  background-color: #070b14;
  border-color: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.35);
}

.btn-toggle-pin {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.btn-toggle-pin:hover {
  color: var(--accent-cyan, #00d2ff);
  background: rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.12);
}

.btn-toggle-pin svg {
  width: 16px;
  height: 16px;
}

.btn-toggle-pin .icon-eye-off,
.btn-toggle-pin.is-visible .icon-eye {
  display: none;
}

.btn-toggle-pin.is-visible .icon-eye-off {
  display: block;
}

.pin-input:focus {
  border-color: var(--accent-cyan, #00d2ff);
  box-shadow: 0 0 0 3px rgba(var(--accent-cyan-rgb, 0, 210, 255), 0.2);
}

.pin-input::placeholder {
  color: rgba(148, 163, 184, 0.45);
  font-weight: 700;
  letter-spacing: 0.42em;
}

.parental-pin-action {
  flex-shrink: 0;
}

.parental-pin-action .btn-primary {
  height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .parental-pin-box {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .parental-pin-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .parental-pin-box {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .parental-pin-controls {
    width: 100%;
    gap: 12px;
  }

  .pin-input-wrap {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 480px) {
  .parental-pin-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .parental-pin-action .btn-primary {
    width: 100%;
  }
}

/* ==========================================================================
   SUPORTE & CONTATO (WHATSAPP & TELEGRAM)
   ========================================================================== */
.support-vip-card {
  text-align: left;
  padding: 28px 32px;
}

.support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.support-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.support-header-text .card-title {
  margin: 0 0 4px;
}

.support-header-text .card-desc {
  margin: 0;
}

.support-icon-main {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb, 0, 132, 255), 0.14);
  border: 1px solid rgba(var(--accent-rgb, 0, 132, 255), 0.35);
  color: var(--accent-cyan, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(var(--accent-rgb, 0, 132, 255), 0.2);
}

.support-icon-main svg {
  width: 26px;
  height: 26px;
}

.support-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.sup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.sup-badge svg {
  width: 15px;
  height: 15px;
  color: #38bdf8;
}

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 0 8px #25d366;
}

.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.support-channel-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(var(--support-rgb), 0.06);
  border: 1px solid rgba(var(--support-rgb), 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.support-channel-card:hover {
  transform: translateY(-2px);
  background: rgba(var(--support-rgb), 0.1);
  border-color: rgba(var(--support-rgb), 0.55);
  box-shadow: 0 10px 26px rgba(var(--support-rgb), 0.14);
}

.support-channel-card.theme-whatsapp {
  --support-rgb: 37, 211, 102;
  --support-color: #25d366;
  --support-btn-bg: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --support-btn-hover: linear-gradient(135deg, #25d366 0%, #1db954 100%);
}

.support-channel-card.theme-telegram {
  --support-rgb: 41, 182, 246;
  --support-color: #29b6f6;
  --support-btn-bg: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --support-btn-hover: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.support-channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--support-rgb), 0.14);
  border: 1px solid rgba(var(--support-rgb), 0.35);
  color: var(--support-color);
  flex-shrink: 0;
}

.support-channel-icon svg {
  width: 22px;
  height: 22px;
}

.support-channel-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--support-rgb), 0.14);
  border: 1px solid rgba(var(--support-rgb), 0.3);
  color: var(--support-color);
}

.support-channel-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
}

.support-channel-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #94a3b8;
}

.btn-support-channel {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--support-btn-bg);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(var(--support-rgb), 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-support-channel:hover {
  background: var(--support-btn-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(var(--support-rgb), 0.45);
}

.btn-support-channel svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .support-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .support-vip-card {
    padding: 24px 18px;
  }

  .support-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-badges {
    justify-content: flex-start;
  }

  .support-channels-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TOASTS (NOTIFICAÇÕES FLUTUANTES)
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  padding: 14px 18px;
  background: rgba(15, 22, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  backdrop-filter: blur(14px);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.toast-success { border-left: 4px solid #10b981; }
.toast.toast-error { border-left: 4px solid #ef4444; }
.toast.toast-info { border-left: 4px solid #0084ff; }
.toast.toast-warning { border-left: 4px solid #f59e0b; }

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: #0084ff; }
.toast-warning .toast-icon { color: #f59e0b; }

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.toast-close:hover {
  color: #ffffff;
}

.toast-close svg {
  width: 16px;
  height: 16px;
}

.toast.toast-leaving {
  animation: toastOut 0.2s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(-8px) scale(0.96); }
}

.spinner-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.menu-redirect-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06090f;
  color: #cbd5e1;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
}

.menu-redirect-link {
  color: #38bdf8;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLETS E DISPOSITIVOS MÓVEIS)
   ========================================================================== */
@media (max-width: 900px) {
  .profile-hero-card {
    padding: 24px 20px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .hero-title-row {
    justify-content: center;
  }

  .hero-meta-row {
    justify-content: center;
    gap: 14px;
  }

  .profile-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-nav-sidebar {
    position: static;
    overflow-x: auto;
    padding: 10px;
  }

  .nav-tab-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    white-space: nowrap;
    width: auto;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .sidebar-footer {
    display: none;
  }

  .plan-metrics-grid,
  .form-row.two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.profile-page {
    padding-top: calc(76px + var(--global-banner-height, 0px));
  }

  .profile-container {
    padding: 0 16px 40px;
  }

  .hero-avatar-box {
    width: 92px;
    height: 92px;
  }

  .hero-name {
    font-size: 1.4rem;
  }

  .hero-meta-row {
    flex-direction: column;
    gap: 8px;
  }

  .pane-card {
    padding: 20px 16px;
  }

  .plan-card-header {
    flex-direction: column;
    text-align: center;
  }

  .plan-actions-row {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-renew,
  .btn-danger-outline,
  .btn-danger-solid {
    width: 100%;
    justify-content: center;
  }

  .danger-modal-dialog {
    padding: 20px 18px;
  }

  .danger-modal-dialog .receipt-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }
}

/* ==========================================================================
   MODAL DE RECIBO / COMPROVANTE DIGITAL COM IMPRESSÃO & PDF
   ========================================================================== */
.receipt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.receipt-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.receipt-modal-dialog {
  background: #0b101b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 132, 255, 0.1);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.receipt-modal-overlay.open .receipt-modal-dialog {
  transform: translateY(0) scale(1);
}

.receipt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.receipt-modal-header h2,
.receipt-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn-close-modal svg {
  width: 18px;
  height: 18px;
}

.receipt-paper {
  background: #0f1626;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.receipt-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.receipt-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.receipt-logo .brand-text {
  font-family: var(--font-brand, 'Helvetica Neue', Helvetica, Arial, sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.receipt-logo .brand-tv {
  color: var(--accent-blue, #0084ff);
  text-shadow: 0 0 16px rgba(var(--accent-rgb, 0, 132, 255), 0.5);
  margin-left: 2px;
}

.receipt-badge-auth {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}

.receipt-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 12px 16px;
  border-radius: 10px;
}

.receipt-status-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.receipt-status-icon svg {
  width: 18px;
  height: 18px;
}

.receipt-status-texts {
  display: flex;
  flex-direction: column;
}

.receipt-status-label {
  font-size: 0.92rem;
  color: #34d399;
}

.receipt-status-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}

.receipt-amount-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
}

.receipt-amount-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.receipt-amount-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: -0.02em;
}

.receipt-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
}

.receipt-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.receipt-detail-row .detail-label {
  color: #94a3b8;
  font-weight: 500;
}

.receipt-detail-row .detail-val {
  color: #f1f5f9;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.receipt-detail-row .detail-val.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.receipt-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.receipt-footer {
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.receipt-footer-sub {
  margin-top: 4px;
  font-size: 0.68rem;
  color: #475569;
}

.receipt-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.btn-print-receipt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-print-receipt svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   REGRAS DE IMPRESSÃO (@media print)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Oculta tudo na tela de impressão exceto o papel do recibo */
  .main-header,
  .mobile-nav-drawer,
  .profile-container,
  .profile-nav-sidebar,
  .profile-tab-content,
  .toast-container,
  .no-print,
  .receipt-modal-header,
  .receipt-modal-actions {
    display: none !important;
  }

  .receipt-modal-overlay {
    position: static !important;
    background: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    display: block !important;
  }

  .receipt-modal-dialog {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .receipt-paper {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 24px !important;
    max-width: 650px !important;
    margin: 20px auto !important;
    box-shadow: none !important;
    color: #0f172a !important;
  }

  .receipt-paper * {
    color: #0f172a !important;
  }

  .receipt-brand {
    border-bottom: 1px solid #cbd5e1 !important;
  }

  .receipt-brand .receipt-logo,
  .receipt-brand .brand-text {
    color: #0f172a !important;
  }

  .receipt-brand .brand-tv {
    color: #0084ff !important;
    text-shadow: none !important;
  }

  .receipt-badge-auth {
    background: #f0f9ff !important;
    border: 1px solid #0284c7 !important;
    color: #0284c7 !important;
  }

  .receipt-status-banner {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
  }

  .receipt-status-icon {
    background: #16a34a !important;
    color: #ffffff !important;
  }

  .receipt-status-label {
    color: #166534 !important;
  }

  .receipt-amount-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
  }

  .receipt-amount-val {
    color: #15803d !important;
  }

  .receipt-detail-row .detail-label {
    color: #64748b !important;
  }

  .receipt-detail-row .detail-val {
    color: #0f172a !important;
  }

  .receipt-detail-row .detail-val.mono {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
    border: 1px solid #cbd5e1 !important;
  }

  .receipt-divider {
    background: #e2e8f0 !important;
  }

  .receipt-footer {
    border-top: 1px dashed #cbd5e1 !important;
    color: #64748b !important;
  }
}

/* ==========================================================================
   CATÁLOGO DE CONTRATAÇÃO DE PLANOS (CYBER PLAN CARDS - THEUZINHOTV)
   ========================================================================== */
.plans-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.catalog-filters-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.catalog-filter-tab {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-filter-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.catalog-filter-tab.active {
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

/* Grade de Planos Responsiva (Garante 3 por linha no desktop) */
.catalog-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Loading & Empty State do Catálogo */
.catalog-plans-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 20px;
  color: #94a3b8;
  font-size: 0.90rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.catalog-plans-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.catalog-plans-empty svg {
  width: 36px;
  height: 36px;
  color: #64748b;
}

/* Card Oficial de Plano Compacto e Harmonioso */
.cyber-plan-card {
  position: relative;
  border-radius: 14px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  user-select: none;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.22s ease, 
              border-color 0.22s ease;
}

.cyber-plan-card:hover {
  transform: translateY(-4px);
}

/* 1. TEMA AZUL NEON (Testes Grátis) */
.cyber-plan-card.plan-card-theme-blue {
  background: radial-gradient(circle at 85% 15%, rgba(0, 132, 255, 0.22) 0%, rgba(7, 19, 41, 0.98) 60%);
  border: 1.5px solid #0084ff;
  box-shadow: 0 0 12px rgba(0, 132, 255, 0.28), inset 0 0 16px rgba(0, 132, 255, 0.05);
}

.cyber-plan-card.plan-card-theme-blue:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.50), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.cyber-category-pill.theme-blue {
  background: rgba(0, 132, 255, 0.14);
  border: 1px solid rgba(0, 132, 255, 0.45);
  color: #38bdf8;
}

.cyber-category-pill.theme-blue .cyber-cat-dot {
  background: #00d2ff;
  box-shadow: 0 0 6px #00d2ff;
}

.plan-card-theme-blue .cyber-watermark-icon {
  color: #0084ff;
  filter: drop-shadow(0 0 8px rgba(0, 132, 255, 0.55));
}

.plan-card-theme-blue .cyber-price-amount.is-free {
  color: #00d2ff;
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.45);
}

.plan-card-theme-blue .cyber-spec-chip svg {
  color: #38bdf8;
}

/* 2. TEMA VERDE / ESMERALDA NEON (Vitalício) */
.cyber-plan-card.plan-card-theme-emerald {
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.22) 0%, rgba(4, 25, 17, 0.98) 60%);
  border: 1.5px solid #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.28), inset 0 0 16px rgba(16, 185, 129, 0.05);
}

.cyber-plan-card.plan-card-theme-emerald:hover {
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.50), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.cyber-category-pill.theme-emerald {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.cyber-category-pill.theme-emerald .cyber-cat-dot {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.plan-card-theme-emerald .cyber-watermark-icon {
  color: #10b981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.55));
}

.plan-card-theme-emerald .cyber-spec-chip svg {
  color: #34d399;
}

/* 3. TEMA ROXO / PÚRPURA NEON (Planos Pagos Recorrentes) */
.cyber-plan-card.plan-card-theme-purple {
  background: radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.22) 0%, rgba(18, 9, 36, 0.98) 60%);
  border: 1.5px solid #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.28), inset 0 0 16px rgba(168, 85, 247, 0.05);
}

.cyber-plan-card.plan-card-theme-purple:hover {
  border-color: #c084fc;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.50), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.cyber-category-pill.theme-purple {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c084fc;
}

.cyber-category-pill.theme-purple .cyber-cat-dot {
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

.plan-card-theme-purple .cyber-watermark-icon {
  color: #a855f7;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.55));
}

.plan-card-theme-purple .cyber-spec-chip svg {
  color: #c084fc;
}

/* Fita de Canto Oficial (⭐ MAIS POPULAR / MAIOR ECONOMIA) */
.cyber-corner-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 0 14px 0 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.4);
  z-index: 4;
}

.cyber-corner-ribbon svg {
  width: 10px;
  height: 10px;
  color: #fef08a;
  flex-shrink: 0;
}

/* Cabeçalho do Card: Categoria & Marca d'água */
.cyber-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 22px;
}

.cyber-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cyber-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

/* Marca D'Água Neon no Canto Superior Direito */
.cyber-watermark-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.cyber-watermark-icon.has-ribbon {
  top: 26px;
  right: 8px;
}

.cyber-plan-card:hover .cyber-watermark-icon {
  transform: scale(1.08) rotate(-3deg);
}

.cyber-watermark-icon svg {
  width: 26px;
  height: 26px;
}

/* Título e Dias */
.cyber-card-title-wrap {
  margin-bottom: 6px;
}

.cyber-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

.cyber-card-days-tag {
  font-size: 0.80rem;
  font-weight: 600;
  color: #94a3b8;
}

/* Preço */
.cyber-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.cyber-price-amount {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cyber-price-period {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Linha de Chips (Duração, Telas e Status) */
.cyber-specs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.cyber-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.70rem;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

.cyber-spec-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.cyber-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.70rem;
  font-weight: 700;
}

.cyber-status-chip.is-active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.cyber-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Descrição do Plano */
.cyber-card-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 28px;
}

/* Ação / Botão Contratar no WhatsApp */
.cyber-card-action {
  margin-top: auto;
  padding-top: 0;
}

.btn-hire-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hire-plan svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-hire-blue {
  background: linear-gradient(135deg, #0084ff 0%, #00b4d8 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 132, 255, 0.32);
}

.btn-hire-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0, 132, 255, 0.50);
  color: #ffffff;
  filter: brightness(1.08);
}

.btn-hire-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(168, 85, 247, 0.32);
}

.btn-hire-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(168, 85, 247, 0.50);
  color: #ffffff;
  filter: brightness(1.08);
}

.btn-hire-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.32);
}

.btn-hire-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(16, 185, 129, 0.50);
  color: #ffffff;
  filter: brightness(1.08);
}

/* Card de Teste Inativo / Já Utilizado */
.cyber-plan-card.is-trial-disabled {
  opacity: 0.72;
}

.cyber-plan-card.is-trial-disabled:hover {
  transform: none;
  box-shadow: 0 0 12px rgba(0, 132, 255, 0.28), inset 0 0 16px rgba(0, 132, 255, 0.05);
}

.cyber-status-chip.is-used {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

.cyber-status-dot.used {
  background: #64748b;
  box-shadow: none;
}

.btn-hire-disabled {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #64748b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.8 !important;
}

.btn-hire-disabled svg {
  color: #64748b !important;
}

/* TV / telas médias: 2 colunas para evitar cards estreitos e altos */
@media (max-width: 1100px) {
  .catalog-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .plans-catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .catalog-plans-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   CENTRAL DE AJUDA (FAQ ACCORDION)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  --faq-rgb: var(--accent-rgb, 0, 132, 255);
  --faq-color: var(--accent-cyan, #38bdf8);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.theme-blue {
  --faq-rgb: 0, 132, 255;
  --faq-color: #38bdf8;
}

.faq-item.theme-cyan {
  --faq-rgb: 0, 210, 255;
  --faq-color: #00d2ff;
}

.faq-item.theme-emerald {
  --faq-rgb: 16, 185, 129;
  --faq-color: #34d399;
}

.faq-item.theme-amber {
  --faq-rgb: 245, 158, 11;
  --faq-color: #fbbf24;
}

.faq-item.theme-orange {
  --faq-rgb: 249, 115, 22;
  --faq-color: #fb923c;
}

.faq-item.theme-rose {
  --faq-rgb: 244, 63, 94;
  --faq-color: #fb7185;
}

.faq-item.theme-pink {
  --faq-rgb: 236, 72, 153;
  --faq-color: #f472b6;
}

.faq-item.theme-purple {
  --faq-rgb: 168, 85, 247;
  --faq-color: #c084fc;
}

.faq-item.theme-indigo {
  --faq-rgb: 99, 102, 241;
  --faq-color: #818cf8;
}

.faq-item:hover {
  border-color: rgba(var(--faq-rgb), 0.38);
  background: rgba(var(--faq-rgb), 0.06);
}

.faq-item.is-open {
  border-color: rgba(var(--faq-rgb), 0.55);
  background: rgba(var(--faq-rgb), 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.faq-question-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(var(--faq-rgb), 0.16);
  border: 1px solid rgba(var(--faq-rgb), 0.34);
  color: var(--faq-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(var(--faq-rgb), 0.14);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-icon svg {
  width: 19px;
  height: 19px;
}

.faq-item:hover .faq-icon,
.faq-item.is-open .faq-icon {
  background: rgba(var(--faq-rgb), 0.22);
  border-color: rgba(var(--faq-rgb), 0.5);
}

.faq-question-text {
  flex: 1;
  min-width: 0;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-chevron svg {
  width: 17px;
  height: 17px;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--faq-color);
  background: rgba(var(--faq-rgb), 0.18);
  border-color: rgba(var(--faq-rgb), 0.38);
}

.faq-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-panel-inner {
  padding: 16px 20px 20px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-panel-inner p {
  margin: 0;
}

.faq-panel-inner strong {
  color: #f8fafc;
}

.faq-steps-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 640px) {
  .faq-trigger {
    padding: 14px 16px;
    font-size: 0.92rem;
    gap: 12px;
  }

  .faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .faq-icon svg {
    width: 17px;
    height: 17px;
  }

  .faq-panel-inner {
    padding: 14px 16px 18px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   FOCO VISÍVEL PARA CONTROLE REMOTO / TECLADO (TV & ACESSIBILIDADE)
   ========================================================================== */
:is(
  .tab-btn,
  .btn-primary,
  .btn-secondary,
  .btn-danger-outline,
  .catalog-filter-tab,
  .btn-hire-plan,
  .btn-support-channel,
  .btn-toggle-pin,
  .faq-trigger,
  .sidebar-link-aux,
  .btn-close-modal
):focus-visible,
.btn-change-avatar:focus-within {
  outline: 2px solid var(--accent-cyan, #00d2ff);
  outline-offset: 2px;
}

