*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
}

#root {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}
/* ═══════════════════════════════════════════════════════════════
   Tela de Login — layout escuro (escopo .lg)
   Isolado do Login.css, que segue em uso pelo Register.
═══════════════════════════════════════════════════════════════ */
.lg {
  --lg-bg:      #2b2b2b;
  --lg-green:   #45b757;
  --lg-green-2: #3aa84b;
  --lg-purple:  #7d5fe0;
  --lg-muted:   #8d8d8d;
  --lg-input:   #ffffff;
  --lg-text:    #ffffff;

  min-height: 100vh;
  width: 100%;
  background: var(--lg-bg) url('/images/register-background.png') center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 320px 16px 40px;
}

.lg__wrap {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

/* Título acessível, visível só para leitores de tela */
.lg .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══ Banner de aviso ═══ */
.lg__banner {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 26px;
}

.lg__banner p {
  margin: 0;
  color: var(--lg-green-2);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ═══ Aba ═══ */
.lg__tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
}

.lg__tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--lg-muted);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0 0 9px;
  cursor: pointer;
}

.lg__tab.is-active {
  color: var(--lg-green);
}

.lg__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--lg-green);
}

/* ═══ Formulário ═══ */
.lg__form {
  display: flex;
  flex-direction: column;
}

.lg__label {
  display: block;
  color: var(--lg-green);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 9px;
}

/* Marcador de campo opcional, ao lado do rótulo */
.lg__opt {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--lg-muted);
}

.lg__field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lg-input);
  border-radius: 8px;
  height: 50px;
  padding: 0 12px;
  margin-bottom: 22px;
}

/* Texto de apoio abaixo de um campo */
.lg__hint {
  margin: -16px 0 20px;
  font-size: 0.74rem;
  color: #9a9a9a;
  line-height: 1.4;
}

.lg__field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: #1f1f1f;
  height: 100%;
}

.lg__field input::placeholder { color: #9e9e9e; }

/* Prefixo de DDI (seletor de código do país) */
.lg__ddi-wrap {
  position: relative;
  flex-shrink: 0;
}

.lg__ddi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f1f1f;
  padding-right: 10px;
  border: none;
  border-right: 1px solid #e3e3e3;
  background: transparent;
  flex-shrink: 0;
  height: 24px;
  cursor: pointer;
  white-space: nowrap;
}

.lg__ddi svg { width: 14px; height: 14px; color: #6b6b6b; flex-shrink: 0; }

.lg__ddi-list {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  z-index: 40;
  width: 220px;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.lg__ddi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.86rem;
  color: #1f1f1f;
  cursor: pointer;
  text-align: left;
}

.lg__ddi-item:hover,
.lg__ddi-item.is-active { background: #f0f0f0; }

.lg__ddi-flag { font-size: 1.05rem; flex-shrink: 0; }
.lg__ddi-country { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg__ddi-code { color: #6b6b6b; flex-shrink: 0; }

/* Ícone à esquerda */
.lg__ic {
  display: grid;
  place-items: center;
  color: #9e9e9e;
  flex-shrink: 0;
}

.lg__ic svg { width: 19px; height: 19px; }

/* Olho (mostrar senha) */
.lg__eye {
  border: none;
  background: transparent;
  color: #9e9e9e;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.lg__eye svg { width: 20px; height: 20px; }
.lg__eye:hover { color: #6b6b6b; }

/* ═══ Aceite dos termos ═══ */
.lg__terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 22px;
  user-select: none;
}

.lg__terms input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lg__check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #6b6b6b;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.lg__check svg {
  width: 11px;
  height: 11px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.lg__terms input:checked + .lg__check {
  background: var(--lg-purple);
  border-color: var(--lg-purple);
}

.lg__terms input:checked + .lg__check svg { opacity: 1; }

.lg__terms-txt {
  font-size: 0.76rem;
  color: #c9c9c9;
  line-height: 1.45;
}

.lg__terms-txt a {
  color: var(--lg-green);
  text-decoration: none;
}

.lg__terms-txt a:hover { text-decoration: underline; }

/* ═══ Aviso de erro / sucesso (na própria página) ═══ */
.lg__alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.45;
  animation: lg-alert-in 0.24s ease;
}

.lg__alert svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.lg__alert--error {
  background: rgba(246, 70, 93, 0.12);
  border: 1px solid rgba(246, 70, 93, 0.38);
  color: #ff8fa0;
}

.lg__alert--success {
  background: rgba(69, 183, 87, 0.12);
  border: 1px solid rgba(69, 183, 87, 0.42);
  color: #7fe08f;
}

@keyframes lg-alert-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ Botão principal ═══ */
.lg__btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 9px;
  background: #0f1115;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.lg__btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.lg__btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* ═══ Divisor ═══ */
.lg__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 18px;
}

.lg__divider::before,
.lg__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #454545;
}

.lg__divider span {
  font-size: 0.78rem;
  color: var(--lg-muted);
  white-space: nowrap;
}

/* ═══ Login social ═══ */
.lg__social {
  display: flex;
  justify-content: center;
}

.lg__google {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.lg__google:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.lg__google svg { width: 24px; height: 24px; }

/* ═══ Link para cadastro ═══ */
.lg__alt {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: #b0b0b0;
}

.lg__alt a {
  color: var(--lg-green);
  font-weight: 700;
  text-decoration: none;
}

.lg__alt a:hover { text-decoration: underline; }

/* ═══ Desktop: cartão centralizado ═══ */
@media (min-width: 720px) {
  .lg {
    align-items: center;
    padding: 40px 20px;
  }

  .lg__wrap {
    max-width: 420px;
    background: #333333;
    border-radius: 16px;
    padding: 28px 30px 34px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

/* ═══ Estilo escuro específico da tela de cadastro (foto de referência) ═══ */
.lg--reg .lg__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.lg--reg .lg__tabs { margin-bottom: 0; }

.lg--reg .lg__connect-link {
  color: var(--lg-green);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}
.lg--reg .lg__connect-link:hover { color: var(--lg-green-2); }

.lg--reg .lg__label { display: none; }
.lg--reg .lg__hint { display: none; }

.lg--reg .lg__check {
  border-color: #6b6b6b;
}
.lg--reg .lg__terms input:checked + .lg__check {
  background: var(--lg-green);
  border-color: var(--lg-green);
}

.lg--reg .lg__btn {
  background: #0f1115;
  color: #ffffff;
}
.lg--reg .lg__btn:hover:not(:disabled) { filter: brightness(1.15); }

/* ═══ Intro de marca ao logar ═══ */
.lg-intro {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #0b1220;
  animation: lgIntroFade 0.35s ease both;
}

.lg-intro__mark {
  width: 110px;
  height: 110px;
  animation: lgIntroPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.lg-intro__bar {
  animation: lgIntroReveal 0.4s ease 0.35s both;
}

.lg-intro__arm {
  animation: lgIntroReveal 0.4s ease 0.5s both;
}

.lg-intro__word {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  opacity: 0;
  animation: lgIntroWord 0.6s ease 0.55s forwards;
}

@keyframes lgIntroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lgIntroPop {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes lgIntroReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lgIntroWord {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ── Sino de notificações (reutilizável em qualquer página) ── */
.bd-bell {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #3a3f47;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.bd-bell:hover {
  background: #f3f5f7;
}

.bd-bell svg {
  width: 21px;
  height: 21px;
}

/* ── Painel de Notificações (drawer de baixo pra cima) ── */
.bd-notif-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(16, 24, 40, 0.4);
  animation: bd-notif-fade 0.2s ease;
}

@keyframes bd-notif-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bd-notif-panel {
  width: 100%;
  max-width: 460px;
  max-height: min(80vh, 640px);
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(16, 24, 40, 0.25);
  animation: bd-notif-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bd-notif-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.bd-notif-handle {
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #e2e5e9;
}

.bd-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 16px;
  border-bottom: 1px solid #eef0f2;
  flex-shrink: 0;
}

.bd-notif-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.bd-notif-close {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bd-notif-close:hover { background: #f3f5f7; }
.bd-notif-close svg { width: 22px; height: 22px; }

.bd-notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 18px 16px;
  -webkit-overflow-scrolling: touch;
}

.bd-notif-item {
  display: flex;
  gap: 13px;
  padding: 18px 2px;
  border-bottom: 1px dashed #e6e9ed;
}

.bd-notif-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  background: #eef0f2;
  color: #6b7280;
}

.bd-notif-ic svg { width: 19px; height: 19px; }

.bd-notif-item--expired .bd-notif-ic {
  background: #fff3e0;
  color: #f59e0b;
}

.bd-notif-item--announce .bd-notif-ic {
  background: #e7f5dd;
  color: #2f9e44;
}

.bd-notif-item--invest .bd-notif-ic {
  background: #e0f8ee;
  color: #16c47f;
}

.bd-notif-item--deposit .bd-notif-ic {
  background: #e7f7ec;
  color: #16a34a;
}

.bd-notif-body {
  min-width: 0;
  flex: 1;
}

.bd-notif-item-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #16181d;
}

.bd-notif-item-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #6b7280;
  word-break: break-word;
}

.bd-notif-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #9aa1a9;
}

.bd-notif-foot svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.bd-notif-ago::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3c8ce;
  margin-right: 8px;
  vertical-align: middle;
}

.bd-notif-more {
  flex-shrink: 0;
  margin: 0;
  border: none;
  border-top: 1px solid #eef0f2;
  background: #ffffff;
  color: #16181d;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bd-notif-more:hover { background: #f7f8fa; }

.bd-notif-empty {
  text-align: center;
  padding: 48px 20px;
  color: #9aa1a9;
  font-size: 0.9rem;
}
/* ─── Variáveis (compatibilidade com Dashboard.css) ────────────── */
:root {
  --sb-bg:          #ffffff;
  --sb-border:      #eeeff4;
  --sb-text:        #1e1b4b;
  --sb-muted:       #9ca3af;
  --sb-hover:       #f5f3ff;
  --sb-active-bg:   #4f46e5;
  --sb-active-text: #ffffff;
  --sb-logo-bg:     linear-gradient(135deg, #4f46e5, #4338ca);

  --gold-primary:   #4f46e5;
  --gold-dark:      #4338ca;
  --gold-gradient:  linear-gradient(135deg, #4f46e5, #4338ca);
  --dash-border:    #eeeff4;
  --dash-surface:   #ffffff;
}

/* ─── Sidebar container ─────────────────────────────────────────── */
.dash-sidebar {
  position: fixed !important;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px !important;
  background: var(--sb-bg) !important;
  border-right: 1px solid var(--sb-border) !important;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex !important;
  flex-direction: column !important;
  padding: 20px 14px 16px !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 4px 0 20px rgba(79, 70, 229, 0.07);
}

.dash-sidebar.open {
  transform: translateX(0);
}

/* ─── Header: logo + sino ───────────────────────────────────────── */
.sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 18px;
  border-bottom: 1px solid var(--sb-border);
  margin-bottom: 8px;
}

.sb-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--sb-logo-bg);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sb-logo svg {
  width: 20px;
  height: 20px;
}

/* ─── Navegação — seletores com .dash-sidebar para ganhar em especificidade ── */
.dash-sidebar .dash-nav {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 0 !important;
  padding: 6px 0;
}

.dash-sidebar .dash-nav-item {
  width: 100%;
  border: none !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #374151 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 14px !important;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  transition: background 0.18s ease, color 0.18s ease;
}

.dash-sidebar .dash-nav-item svg {
  flex-shrink: 0;
  color: #9ca3af;
  transition: color 0.18s ease;
}

.dash-sidebar .dash-nav-item:hover {
  background: var(--sb-hover) !important;
  color: #4f46e5 !important;
  border-color: transparent !important;
}

.dash-sidebar .dash-nav-item:hover svg {
  color: #4f46e5;
}

/* ── Item ativo: pill sólido indigo ─────────────────────────────── */
.dash-sidebar .dash-nav-item.active {
  background: #4f46e5 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.dash-sidebar .dash-nav-item.active svg {
  color: #ffffff !important;
}

/* ─── Rodapé ────────────────────────────────────────────────────── */
.dash-sidebar .dash-foot {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--sb-border) !important;
  margin-top: auto;
}

.dash-sidebar .dash-account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none !important;
  background: var(--sb-hover) !important;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease;
}

.dash-sidebar .dash-account:hover {
  background: #ede9fe !important;
}

.dash-sidebar .dash-account__av {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px;
  background: var(--gold-gradient) !important;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-sidebar .dash-account__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-sidebar .dash-account__txt strong {
  font-size: 0.86rem;
  color: #1e1b4b;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-sidebar .dash-account__txt small {
  font-size: 0.72rem;
  color: var(--sb-muted);
}

.dash-sidebar .dash-logout.side {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100%;
  border: 1px solid rgba(220, 38, 38, 0.25) !important;
  background: rgba(220, 38, 38, 0.06) !important;
  color: #ef4444 !important;
  border-radius: 12px;
  padding: 11px 14px !important;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.dash-sidebar .dash-logout.side:hover {
  background: rgba(220, 38, 38, 0.12) !important;
}

.dash-sidebar .dash-logout.side svg {
  color: #ef4444 !important;
}

/* ─── Overlay (mobile) ──────────────────────────────────────────── */
.dash-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

/* ─── Ícones ─────────────────────────────────────────────────────── */
.icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Desktop: sidebar fixo na esquerda ──────────────────────────── */
@media (min-width: 860px) {
  .dash-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    transform: none !important;
    height: 100vh;
  }

  .dash-overlay {
    display: none;
  }
}

/* ─── Barra inferior (mobile) ────────────────────────────────────── */
.dash-bottom-nav {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid var(--sb-border);
  display: flex;
  padding: 6px 4px;
  box-shadow: 0 -4px 20px rgba(79, 70, 229, 0.1);
  z-index: 1000;
  gap: 0;
  border-radius: 18px;
}

.dash-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: var(--sb-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 52px;
  border-radius: 12px;
  margin: 0 2px;
}

.dash-bottom-nav button svg {
  width: 20px;
  height: 20px;
  color: var(--sb-muted);
}

.dash-bottom-nav button.active {
  background: #4f46e5;
  color: #ffffff;
}

.dash-bottom-nav button.active svg {
  color: #ffffff;
}

@media (min-width: 860px) {
  .dash-bottom-nav {
    display: none;
  }
}
:root {
  --dash-bg: #ffffff;
  --dash-card: #ffffff;
  --dash-card-2: #f5f5f5;
  --dash-border: #e0e0e0;
  --dash-text: #333333;
  --dash-muted: #666666;
  --dash-gold: #4f46e5;
  --dash-gold-dim: rgba(79, 70, 229, 0.12);
  --dash-green: #34d399;
  --dash-red: #f87171;
}

.dash-app {
  min-height: 100vh;
  padding: 0 16px 120px;
  background: #ffffff;
  color: #333;
  position: relative;
  z-index: 2;
}

.dash-main {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: inherit;
}

@media (min-width: 860px) {
  .dash-main {
    padding: 0 0 0 276px;
  }
}

.dash-content {
  display: grid;
  gap: 12px;
  padding-top: env(safe-area-inset-top, 0);
}

/* ── Sidebar (Titan Labs theme) ── */
.dash-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px;
  background: #ffffff;
  border-right: 1px solid var(--dash-border);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
}

.dash-sidebar.open {
  transform: translateX(0);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 16px;
  border-bottom: 1px solid var(--dash-border);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #f0444f, #cf2436);
  color: #ffffff;
}

.brand-logo svg { width: 20px; height: 20px; }

.dash-brand__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dash-text);
}

.dash-brand strong {
  display: block;
  font-size: 0.98rem;
  color: var(--dash-text);
}

.dash-brand small {
  color: var(--dash-muted);
  font-size: 0.78rem;
}

.dash-nav {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.dash-nav-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--dash-text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
}

.dash-nav-item.active,
.dash-nav-item:hover {
  background: #fde3e6;
  border-color: #f6cdd2;
  color: #e23744;
}

.dash-logout.side {
  width: 100%;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #b91c1c;
  border-radius: 12px;
  padding: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Rodapé do menu lateral (conta + idioma + tema + sair) ── */
.dash-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--dash-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dash-account:hover { background: #f7f8fa; border-color: #eef0f2; }

.dash-account__av {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #f0444f, #cf2436);
}

.dash-account__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.dash-account__txt strong { font-size: 0.9rem; font-weight: 700; color: var(--dash-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-account__txt small { font-size: 0.76rem; color: var(--dash-muted); }

.dash-pref {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eef0f2;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px 8px 4px 12px;
}

.dash-pref__ic { display: grid; place-items: center; color: #6b7280; flex-shrink: 0; }
.dash-pref__ic svg { width: 18px; height: 18px; }

.dash-pref__sel {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dash-text);
  padding: 8px 4px;
  cursor: pointer;
  appearance: auto;
}

.dash-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: none;
  background: rgba(49, 46, 129, 0.4);
}

/* ── Titan Labs Hero Banner ── */
.trk-hero-banner {
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100vw;
  height: 200px;
  margin-left: calc(50% - 50vw);
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, #4f46e5 0%, #6d28d9 50%, #7c3aed 100%);
  color: #fff;
}

/* Pluma marca-d'água */
.trk-hero-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  transform: rotate(10deg);
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z'/%3E%3Cline x1='16' y1='8' x2='2' y2='22'/%3E%3Cline x1='17.5' y1='15' x2='9' y2='15'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.trk-hero-banner > * {
  position: relative;
  z-index: 1;
}

.trk-hero-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 70%;
}

.trk-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trk-hero-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.trk-hero-brand-mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.trk-hero-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.trk-hero-welcome {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.trk-hero-tag {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.trk-hero-vip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trk-hero-vip-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trk-hero-team-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.trk-hero-team-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
}

.trk-hero-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.trk-hero-sub {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.trk-hero-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes welcome-banner-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── Notice marquee bar ── */
.dash-notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  background: rgba(30, 27, 75, 0.8);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 12px;
  overflow: hidden;
}

.dash-notice-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--dash-gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-notice-icon {
  width: 14px;
  height: 14px;
  color: #1e1b4b;
}

.dash-notice-marquee {
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.dash-notice-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  color: var(--dash-muted);
  font-size: 0.78rem;
  animation: dash-marquee 24s linear infinite;
  will-change: transform;
}

.dash-notice-sep {
  color: var(--dash-gold);
  font-weight: 700;
}

@keyframes dash-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  gap: 10px;
}

.mini-card {
  background: rgba(30, 27, 75, 0.9);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 14px;
  padding: 14px;
}

.mini-card h3 {
  margin: 8px 0 4px;
  font-size: 0.96rem;
  color: #eef2ff;
}

.mini-card p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.86rem;
}

.money-value {
  color: var(--dash-gold) !important;
  font-weight: 800;
  font-size: 1.05rem !important;
  letter-spacing: 0.2px;
}

/* ── Notice bar (Vant style) ── */
.dash-notice-bar-vant {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 0;
  padding: 10px 14px;
  overflow: hidden;
  margin-top: -1px;
  margin-left: -4px;
  margin-right: -4px;
}

.dash-notice-bar-vant .dash-notice-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 6px;
}

.dash-notice-bar-vant .dash-notice-icon {
  width: 16px;
  height: 16px;
  color: #7c3aed;
}

.dash-notice-bar-vant .dash-notice-marquee {
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.dash-notice-bar-vant .dash-notice-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  color: #312e81;
  font-size: 0.82rem;
  animation: van-marquee 150s linear infinite;
  will-change: transform;
}

@keyframes van-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Landscape action buttons ── */
.landscape-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.landscape-btn {
  position: relative;
  min-height: 66px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: left;
  padding: 0;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.landscape-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  z-index: 1;
}

.landscape-btn span {
  display: inline-block;
  padding: 22px 105px 24px 30px;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}

/* ── Envelope vermelho modal ── */
@keyframes envelope-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes envelope-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes confetti-fall {
  0% { transform: translateY(-20px) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translateY(220px) rotate(720deg) scale(0.3); opacity: 0; }
}

@keyframes sparkle-pop {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.4) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@keyframes envelope-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 50px rgba(99, 102, 241, 0.8), 0 0 100px rgba(99, 102, 241, 0.4); }
}

@keyframes envelope-bounce-in {
  0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(5deg); opacity: 1; }
  80% { transform: scale(0.95) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes badge-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.envelope-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(49, 46, 129, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.envelope-modal-stack {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(100dvh - 32px);
}

/* Argola + correntinha "segurando" o cartão, como um chaveiro */
.envelope-keychain {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -2px;
}

.envelope-keychain-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid #d9d9d9;
  background: transparent;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.envelope-keychain-chain {
  width: 3px;
  height: 16px;
  background: #d9d9d9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Cartão "recortado": borda grossa cor de papel, recortada em zigue-zague via clip-path inline */
.envelope-modal-card {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fdf6e3;
  border: 8px solid #fdf6e3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  animation: envelope-bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Foto inteira (sem cortes) — a arte já tem o título embutido */
.envelope-photo {
  display: block;
  width: 100%;
  height: auto;
}

.envelope-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: #6b5620;
  cursor: pointer;
  padding: 0;
}
.envelope-close-x svg { width: 18px; height: 18px; display: block; }

/* Formulário sobreposto na área vazia (parte de baixo) da foto */
.envelope-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.envelope-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7b94a, #e8912a);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 20px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 6px 18px rgba(232, 145, 42, 0.4);
}

.envelope-btn:hover {
  filter: brightness(1.06);
  transform: scale(1.02);
}

.envelope-btn:active {
  transform: scale(0.97);
}

.envelope-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.envelope-code-input-wrap {
  margin-bottom: 16px;
}

.envelope-code-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(138, 106, 36, 0.3);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  color: #3a2c12;
  background: rgba(202, 162, 74, 0.28);
  outline: none;
  transition: border-color 0.2s;
}

.envelope-code-input:focus {
  border-color: #8a6a24;
}

.envelope-code-input::placeholder {
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #8a7a4e;
}

/* ── Cartão de erro ao resgatar cupom (código inválido/esgotado) ── */
.envelope-error-card {
  width: 100%;
  background: linear-gradient(180deg, #fdf6e3 0%, #f7ecc6 55%, #f3e2a8 100%);
  border: 1px solid rgba(180, 140, 40, 0.35);
  border-radius: 20px;
  padding: 30px 24px 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: envelope-bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.envelope-error-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.3));
}

.envelope-error-title {
  margin: 0 0 20px;
  color: #3a2c12;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.envelope-error-close {
  margin: 18px auto 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(20, 20, 30, 0.35);
  color: #ffffff;
  cursor: pointer;
}
.envelope-error-close svg { width: 18px; height: 18px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Success overlay after redeem ── */
.redeem-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(49, 46, 129, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

@keyframes redeem-success-bounce {
  0% { transform: scale(0.4) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.12) rotate(4deg); opacity: 1; }
  80% { transform: scale(0.96) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.redeem-success-card {
  width: 100%;
  max-width: 370px;
  background: linear-gradient(180deg, #f5f3ff 0%, #ddd6fe 50%, #c4b5fd 100%);
  border: 2px solid rgba(99, 102, 241, 0.6);
  border-radius: 24px;
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: redeem-success-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.5);
}

.redeem-success-card::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: linear-gradient(135deg, #6366f1, #a78bfa, #6366f1);
  z-index: -1;
  animation: envelope-glow 2s ease-in-out infinite;
}

.redeem-success-confetti {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.redeem-success-confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  animation: confetti-fall 2.5s ease-in infinite;
}

.redeem-success-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  animation: envelope-float 2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(79, 70, 229, 0.4));
}

.redeem-success-icon svg {
  width: 100%;
  height: 100%;
}

.redeem-success-title {
  margin: 0 0 10px;
  color: #312e81;
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  animation: envelope-float-slow 2s ease-in-out infinite;
}

.redeem-success-text {
  margin: 0 0 6px;
  color: #15803d;
  font-size: 1.2rem;
  font-weight: 800;
}

.redeem-success-sub {
  margin: 0 0 24px;
  color: #6366f1;
  font-size: 0.9rem;
}

.redeem-success-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  color: #312e81;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  transition: filter 0.2s, transform 0.15s;
}

.redeem-success-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.redeem-success-btn:active {
  transform: scale(0.97);
}

/* ── Landscape action buttons ── */
.landscape-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.landscape-btn.deposit {
  background: linear-gradient(135deg, #4f46e5, #a78bfa);
}

.landscape-btn.withdraw {
  background: linear-gradient(135deg, #4f46e5, #a78bfa);
}

.landscape-btn.deposit::after,
.landscape-btn.withdraw::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 52%);
  background-repeat: no-repeat;
  background-position: 78% 45%;
  background-size: 150px 150px;
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.deposit-bg-dollars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.deposit-bg-dollars span {
  position: absolute;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
  animation: deposit-bg-float 5s ease-in-out infinite;
}

.deposit-bg-dollars span:nth-child(1) { top: 8px; left: 44%; font-size: 18px; animation-delay: 0s; }
.deposit-bg-dollars span:nth-child(2) { top: 30px; left: 58%; font-size: 24px; animation-delay: 0.5s; }
.deposit-bg-dollars span:nth-child(3) { top: 52px; left: 40%; font-size: 20px; animation-delay: 1s; }
.deposit-bg-dollars span:nth-child(4) { top: 14px; left: 70%; font-size: 16px; animation-delay: 1.5s; }
.deposit-bg-dollars span:nth-child(5) { top: 48px; left: 74%; font-size: 18px; animation-delay: 2s; }
.deposit-bg-dollars span:nth-child(6) { top: 28px; left: 84%; font-size: 22px; animation-delay: 2.5s; }

.deposit-visual {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 2;
}

.deposit-coin {
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(79, 70, 229, 0.4));
  animation: deposit-coin-float 1.8s ease-in-out infinite;
}

@keyframes deposit-coin-float {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(-6deg); }
  50% { transform: translateY(-62%) translateX(-6px) rotate(6deg); }
}

@keyframes deposit-bg-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-4px) scale(1.06); opacity: 0.7; }
}

.landscape-btn.withdraw {
  background: linear-gradient(135deg, #4f46e5, #a78bfa);
}

.landscape-btn.roulette {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 40%),
    linear-gradient(135deg, rgba(99, 102, 241, 0.55), rgba(129, 140, 248, 0.45)),
    linear-gradient(135deg, #6366f1, #a78bfa);
}

.landscape-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.8);
}

.roulette-visual {
  position: relative;
  margin-right: 12px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.roulette-wheel {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 3px rgba(79, 70, 229, 0.35) inset,
    0 8px 20px rgba(79, 70, 229, 0.35);
  background:
    conic-gradient(
      #dc2626 0deg 30deg,
      #6366f1 30deg 60deg,
      #6366f1 60deg 90deg,
      #6366f1 90deg 120deg,
      #dc2626 120deg 150deg,
      #6366f1 150deg 180deg,
      #6366f1 180deg 210deg,
      #6366f1 210deg 240deg,
      #dc2626 240deg 270deg,
      #6366f1 270deg 300deg,
      #6366f1 300deg 330deg,
      #6366f1 330deg 360deg
    );
  animation: roulette-spin 2.2s linear infinite;
}

.roulette-wheel-center {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5f3ff;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45);
}

.roulette-pointer {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #f5f3ff;
  filter: drop-shadow(0 2px 2px rgba(79, 70, 229, 0.4));
}

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

/* ── Menu Grid (novo layout de navegação) ── */
.dash-menu-grid {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.dash-menu-replacement-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
}

/* ── Banner promocional Titan Labs ── */
.dash-promo-banner {
  position: relative;
  width: 100%;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 20px 22px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.38);
}

.dash-promo-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.dash-promo-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.78);
}

.dash-promo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 14ch;
}

.dash-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.dash-promo-cta svg {
  width: 16px;
  height: 16px;
}

.dash-promo-feather {
  position: absolute;
  right: -10px;
  bottom: -16px;
  width: 130px;
  height: 130px;
  transform: rotate(8deg);
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.dash-promo-feather svg {
  width: 100%;
  height: 100%;
}

/* ── Quick Actions Grid ──────────────────────────── */
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 4px;
  padding: 14px 10px 8px;
}

.dash-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 0;
}

.dash-quick-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: 12px;
  margin: 0 auto;
  color: #312e81;
  transition: background 0.15s, border-color 0.15s;
}

.dash-quick-item:hover .dash-quick-icon {
  background: rgba(79, 70, 229, 0.22);
  border-color: #4f46e5;
}

.dash-quick-label {
  margin: 8px 0 0;
  font-size: 10px;
  color: #444;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

.chromo-shortcuts {
  margin-top: 10px;
  background: linear-gradient(180deg, #1e1b4b, #312e81);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 16px;
  padding: 12px 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  box-shadow: 0 8px 22px rgba(30, 27, 75, 0.35);
}

.chromo-item {
  border: none;
  background: transparent;
  color: #818cf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 2px;
  cursor: pointer;
}

.chromo-icon {
  width: 24px;
  height: 24px;
  line-height: 1;
  color: #c7d2fe;
}

.chromo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chromo-label {
  font-size: 12px;
  color: #c7d2fe;
  letter-spacing: 0.1px;
}

.chromo-item:hover .chromo-icon,
.chromo-item:hover .chromo-label {
  color: #ffffff;
}

.perfume-income-banner {
  position: relative;
  margin-top: 10px;
  min-height: 156px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, #4f46e5 0%, #6d28d9 50%, #7c3aed 100%);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
}

/* Pluma decorativa no banner */
.perfume-income-banner::before {
  content: '';
  position: absolute;
  left: 5%;
  top: 50%;
  width: 120px;
  height: 120px;
  transform: translateY(-50%) rotate(-12deg);
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z'/%3E%3Cline x1='16' y1='8' x2='2' y2='22'/%3E%3Cline x1='17.5' y1='15' x2='9' y2='15'/%3E%3C/svg%3E");
  pointer-events: none;
}

.perfume-income-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.perfume-income-banner__content {
  position: relative;
  z-index: 1;
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px 16px 38%;
}

.perfume-income-banner__content p {
  margin: 0;
  color: #ffffff;
  text-align: left;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  max-width: 520px;
}

.perfume-income-banner__content p span {
  display: inline-block;
}

.dash-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 50%;
  padding: 14px 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.dash-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.5);
}

.dash-menu-item:active {
  transform: scale(0.97);
}

.dash-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.dash-menu-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dash-menu-item span {
  font-size: 12px;
  font-weight: 600;
  color: #312e81;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: break-word;
}

/* ── Cycle section ── */
.welcome-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 16px;
  padding: 16px;
}

.welcome-card h1 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #312e81;
}

.welcome-card p {
  margin: 0;
  color: #6366f1;
  font-size: 0.9rem;
}

.trk-about-section {
  margin-top: 4px;
  padding: 0 2px;
}

.trk-about-photo-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.trk-about-photo-wrap {
  flex: 1;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.trk-about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trk-about-text {
  background: transparent;
  padding: 0;
}

.trk-about-title {
  margin: 0 0 12px;
  font-size: 20px;
  color: #6366f1;
  font-weight: 700;
}

.trk-about-text p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #312e81;
  line-height: 1.6;
}

.cycle-card-name {
  color: #312e81;
  font-size: 18px;
  font-weight: 600;
}

.cycle-metrics-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.cycle-metric-value {
  color: #6366f1;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.cycle-metric-label {
  color: #6366f1;
  font-size: 14px;
  line-height: 1;
}

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

.cycle-stock-info {
  color: #6366f1;
  font-size: 14px;
  line-height: 1.5;
}

.cycle-stock-highlight {
  color: #6366f1;
  font-weight: 700;
}

.cycle-invest-btn {
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  color: #312e81;
  font-weight: 800;
  font-size: 18px;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.cycle-invest-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.cycle-invest-btn:disabled {
  background: #ddd6fe;
  color: #6366f1;
  cursor: not-allowed;
}

.cycle-progress-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cycle-progress-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.cycle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
  border-radius: 999px;
}

.cycle-progress-label {
  color: #6366f1;
  font-size: 13px;
}

/* ── Welcome modal ── */
.welcome-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(49, 46, 129, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
}

.welcome-modal-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, #f5f3ff, #ddd6fe);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3);
  text-align: center;
}

.welcome-modal-image {
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid rgba(99, 102, 241, 0.35);
}

.welcome-modal-title {
  margin: 0;
  color: #312e81;
  font-size: 1.2rem;
}

.welcome-modal-text {
  margin: 10px 0 0;
  color: #6366f1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.welcome-modal-btn {
  margin-top: 14px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  color: #312e81;
  font-weight: 800;
  padding: 11px 14px;
  cursor: pointer;
}

.welcome-modal-btn:hover {
  filter: brightness(1.05);
}

/* ── Welcome modal carousel ── */
.welcome-modal-slides {
  position: relative;
  overflow-y: auto;
  width: 100%;
  max-height: 520px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}

.welcome-modal-slide {
  position: relative;
  text-align: center;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.welcome-modal-slide--down img {
  width: 100%;
  max-height: none;
  display: block;
}

.welcome-modal-feather {
  width: 64px;
  height: 64px;
  margin: 12px auto 4px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.4);
}

.welcome-modal-feather svg {
  width: 32px;
  height: 32px;
}

.welcome-modal-commission-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  line-height: 1;
}

.welcome-modal-commission-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.welcome-modal-commission-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
}

.wmc-level {
  color: #312e81;
  font-size: 0.9rem;
  font-weight: 600;
}

.wmc-percent {
  color: #6366f1;
  font-size: 1.1rem;
  font-weight: 800;
}

.welcome-modal-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 10px;
}

.welcome-modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(99, 102, 241, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.welcome-modal-dot.active {
  background: #6366f1;
  transform: scale(1.3);
}

/* ── Cycle drawer (bottom sheet) ── */
.cycle-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 16, 0.72);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cycle-drawer {
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #111827;
  border: 1px solid var(--mk-line, #1e293b);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
  animation: cycleDrawerUp 0.22s ease-out;
}

@keyframes cycleDrawerUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cycle-drawer-handle {
  margin: 12px auto 0;
  height: 4px;
  width: 90px;
  border-radius: 999px;
  background: var(--mk-line, #1e293b);
}

.cycle-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px 0;
}

.cycle-drawer-title {
  margin: 0;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.cycle-drawer-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cycle-drawer-subrate {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 0.7rem;
}

.cycle-drawer-head-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cycle-drawer-badge {
  border: 1px solid var(--mk-green, #16c47f);
  background: transparent;
  color: var(--mk-green, #16c47f);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: default;
}

.cycle-drawer-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.cycle-drawer-close:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cycle-drawer-body {
  display: grid;
  gap: 12px;
  padding: 12px 16px 24px;
}

.cycle-drawer-label {
  margin: 0;
  color: #94a3b8;
  font-size: 0.75rem;
}

.cycle-drawer-balance {
  margin: 2px 0 0;
  color: #f8fafc;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

.cycle-drawer-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cycle-drawer-field-head label {
  margin: 0;
}

.cycle-drawer-rules {
  border: none;
  background: transparent;
  color: var(--mk-green, #16c47f);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
}

.cycle-drawer-input-wrap {
  margin-top: 4px;
  display: flex;
  align-items: center;
  height: 48px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid var(--mk-line, #1e293b);
  padding: 0 12px;
}

.cycle-drawer-input-wrap input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: #f8fafc;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.95rem;
  outline: none;
}

.cycle-drawer-input-wrap input:disabled {
  opacity: 0.7;
}

.cycle-drawer-unit {
  color: #94a3b8;
  font-size: 0.78rem;
}

.cycle-drawer-hint {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 0.72rem;
}

.cycle-drawer-error {
  margin: 4px 0 0;
  color: var(--mk-red, #f6465d);
  font-size: 0.72rem;
}

.cycle-drawer-summary {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
}

.cycle-drawer-summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
}

.cycle-drawer-muted {
  color: #94a3b8;
}

.cycle-drawer-summary-total span {
  font-weight: 700;
}

.cycle-drawer-ok {
  height: 48px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--mk-green, #16c47f);
  color: #06120c;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.cycle-drawer-ok:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cycle-drawer-cancel {
  height: 40px;
  width: 100%;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.88rem;
  cursor: pointer;
}

.cycle-drawer-cancel:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ── Settings drawer (reaproveita .cycle-drawer*) ── */
.settings-drawer {
  max-height: 92vh;
}

.settings-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px 0;
}

.settings-drawer-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.settings-section-title {
  margin: 0 0 8px;
  padding: 0 2px;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.settings-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.settings-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--mk-line, #1e293b);
  background: #111827;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.settings-item:hover {
  background: #16213a;
}

.settings-item-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #1a2438;
  color: #cbd5e1;
}

.settings-item-icon svg {
  width: 16px;
  height: 16px;
}

.settings-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-item-title {
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 600;
}

.settings-item-sub {
  color: #94a3b8;
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.settings-select-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--mk-line, #1e293b);
  background: #111827;
  border-radius: 12px;
  padding: 0 12px;
}

.settings-select-wrap select {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: #f8fafc;
  font-size: 0.88rem;
  outline: none;
}

.settings-select-wrap select option {
  background: #111827;
  color: #f8fafc;
}

.settings-select-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #64748b;
  transform: rotate(90deg);
}

.settings-drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--mk-line, #1e293b);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
}

.settings-logout {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(246, 70, 93, 0.5);
  border-radius: 12px;
  background: transparent;
  color: var(--mk-red, #f6465d);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.settings-logout svg {
  width: 16px;
  height: 16px;
}

/* ── Lista de dados pessoais ── */
.profile-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.profile-info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--mk-line, #1e293b);
  font-size: 0.85rem;
}

.profile-info-list li:last-child { border-bottom: none; }

.profile-info-list li span {
  color: #94a3b8;
}

.profile-info-list li strong {
  color: #f8fafc;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 60%;
}

/* ── Bottom nav ── */
.dash-bottom-nav {
  position: fixed;
  z-index: 40;
  left: 10px;
  right: 10px;
  bottom: 24px;
  width: auto;
  height: calc(66px + env(safe-area-inset-bottom));
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dash-bottom-nav button {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #666666;
  display: grid;
  place-items: center;
  gap: 0;
  cursor: pointer;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.dash-bottom-nav button.active {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.dash-bottom-nav span {
  font-size: 1.1rem;
}

.dash-bottom-nav small {
  display: none;
}

/* ── Icons ── */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.icon-lg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #6366f1;
}

/* ── Responsive ── */
@media (min-width: 860px) {
  .dash-app {
    padding: 0 0 0 0;
  }

  /* Sidebar fixa à esquerda; o conteúdo recebe padding para não ficar embaixo dela */
  .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    height: 100vh;
    overflow-y: auto;
  }

  .dash-overlay,
  .menu-toggle,
  .dash-bottom-nav {
    display: none;
  }

  .dash-main {
    padding: 18px 24px 24px 296px;
    min-height: 100vh;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dash-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cycle-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cycle-card-image {
    height: 156px;
  }

  .cycle-card-body {
    padding: 14px;
  }

  .cycle-card-name {
    font-size: 20px;
  }

  .cycle-metric-value {
    font-size: 26px;
  }

  .cycle-invest-btn {
    font-size: 18px;
    padding: 10px 20px;
  }

  .welcome-modal-card {
    max-width: 460px;
    padding: 20px;
  }

  .welcome-modal-slides {
    max-height: 580px;
  }

  .cycle-modal-card {
    max-width: 560px;
    padding: 22px;
  }

  .cycle-modal-title {
    font-size: 1.3rem;
  }

  .cycle-modal-details {
    font-size: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .cycle-modal-actions {
    margin-top: 18px;
  }

  .cycle-modal-btn {
    min-width: 140px;
    padding: 11px 16px;
  }
}

@media (min-width: 1240px) {
  .cycle-plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dash-menu-grid {
    margin-top: 6px;
  }

  .dash-menu-icon {
    width: 32px;
    height: 32px;
  }

  .dash-menu-item span {
    font-size: 11px;
  }

  .dash-menu-item {
    padding: 12px 4px;
  }
}

@media (max-width: 360px) {
  .dash-menu-grid {
    margin-top: 4px;
  }
}

/* ── Botão flutuante de suporte ── */
.support-float-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #6366f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.support-float-btn:active {
  transform: scale(0.95);
}

/* ── Página de Suporte ── */
.support-cards {
  display: flex;
  gap: 16px;
  padding: 16px;
  flex-wrap: wrap;
}

.support-card {
  flex: 1;
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.support-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.support-card__icon--gerente {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
}

.support-card__icon--grupo {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.support-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.support-card__desc {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.6;
}

.support-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.support-card__btn:hover {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.support-card__btn--gerente {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.support-card__btn--grupo {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
}

/* ── Cycle Products Section ── */
.dash-cycle-products {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  margin: 12px 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.dash-cycle-products-title {
  font-size: 1rem;
  font-weight: 800;
  color: #333333;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.dash-cycle-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.dash-cycle-product-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-cycle-product-card:hover {
  border-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.dash-cycle-product-image {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dash-cycle-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-cycle-product-placeholder {
  color: #4f46e5;
  opacity: 0.5;
}

.dash-cycle-product-placeholder svg {
  width: 32px;
  height: 32px;
}

.dash-cycle-product-info {
  padding: 10px;
}

.dash-cycle-product-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-cycle-product-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.dash-cycle-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.dash-cycle-stat-label {
  color: #666666;
  font-weight: 500;
}

.dash-cycle-stat-value {
  color: #2d3b44;
  font-weight: 700;
}

.dash-cycle-product-desc {
  font-size: 0.72rem;
  color: #666666;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.dash-cycle-product-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dash-cycle-product-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #4f46e5;
}

.dash-cycle-product-profit {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

.dash-cycle-product-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #666666;
  font-weight: 600;
}

.dash-cycle-product-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(135deg, #4f46e5, #a78bfa);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.dash-cycle-product-buy:hover {
  filter: brightness(1.05);
}

.dash-cycle-products-more {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #4f46e5;
  border-radius: 10px;
  background: transparent;
  color: #4f46e5;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-cycle-products-more:hover {
  background: rgba(79, 70, 229, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Dashboard estilo investimento (tema verde/clean)
   Escopo: .bdash  (não afeta outras páginas)
═══════════════════════════════════════════════════════════════ */
.bdash {
  --bd-green: #e23744;
  --bd-green-dark: #c01f2e;
  --bd-badge-bg: #fbd9dd;
  --bd-ink: #16181d;
  --bd-muted: #6b7280;
  --bd-subcard: #f3f5f7;
  --bd-line: #ecedf0;
  --bd-nav-off: #9aa1a9;
  background: #ffffff;
}

/* Conteúdo centralizado como no mock mobile */
.bdash .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

/* ── Top bar ── */
.bd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 2px;
}

.bd-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bd-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #e23744;
}

.bd-logo svg {
  width: 25px;
  height: 25px;
}

.bd-username {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bd-ink);
  letter-spacing: -0.2px;
}

/* ── Card de CTA ── */
@property --bd-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.bd-promo {
  position: relative;
  border-radius: 18px;
  padding: 16px 16px 18px;
  background: linear-gradient(160deg, #fdebed 0%, #fef5f6 55%, #ffffff 100%);
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(226, 55, 68, 0.09);
}

/* Linha verde correndo ao redor da borda */
.bd-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--bd-angle),
    rgba(226, 55, 68, 0.15) 0deg,
    rgba(226, 55, 68, 0.15) 235deg,
    #ee4a59 300deg,
    #ffc2c9 332deg,
    #ee4a59 350deg,
    rgba(226, 55, 68, 0.15) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: bd-border-run 3s linear infinite;
}

@keyframes bd-border-run {
  to {
    --bd-angle: 360deg;
  }
}

/* Fallback p/ navegadores sem @property: anel verde estático suave */
@supports not (background: conic-gradient(from var(--bd-angle), red, blue)) {
  .bd-promo {
    border-color: #f3c5cb;
  }
  .bd-promo::after {
    display: none;
  }
}

.bd-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bd-badge-bg);
  color: var(--bd-green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.bd-promo__badge svg {
  width: 13px;
  height: 13px;
}

.bd-promo__title {
  margin: 0 0 7px;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--bd-ink);
  letter-spacing: -0.3px;
}

.bd-promo__text {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--bd-muted);
  max-width: 34ch;
}

.bd-promo__btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(192, 31, 46, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bd-promo__btn svg {
  width: 17px;
  height: 17px;
}

.bd-promo__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 28px rgba(192, 31, 46, 0.4);
}

.bd-promo__btn:active {
  transform: translateY(0);
}

/* ── Blocos de saldo ── */
.bd-balance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px;
}

.bd-balance__label {
  margin: 0;
  font-size: 0.9rem;
  color: #6f757d;
  font-weight: 500;
}

.bd-balance__value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bd-ink);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.bd-balance__sub {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bd-subcard);
  border-radius: 12px;
  padding: 11px 13px;
}

.bd-balance__sub-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6f757d;
  font-size: 0.85rem;
}

.bd-balance__sub-left svg {
  width: 18px;
  height: 18px;
  color: #9aa1a9;
}

.bd-balance__sub-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bd-ink);
}

.bd-divider {
  height: 1px;
  background: var(--bd-line);
  margin: 2px 0;
}

/* ── Navegação inferior ── */
.bd-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  background: #ffffff;
  border-top: 1px solid #ecedf0;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.06);
}

.bd-nav-item {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 2px;
  cursor: pointer;
  color: #9aa1a9;
  font-size: 0.68rem;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.12s ease;
}

.bd-nav-item svg {
  width: 27px;
  height: 27px;
  transition: transform 0.18s ease;
}

.bd-nav-item:active {
  transform: scale(0.9);
}

.bd-nav-item.active {
  color: #e23744;
  font-weight: 700;
}

.bd-nav-item.active svg {
  transform: translateY(-1px) scale(1.06);
}

.bd-nav-avatar {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6e8eb;
  color: #6f757d;
  font-size: 0.72rem;
  font-weight: 800;
}

.bd-nav-item.active .bd-nav-avatar {
  background: #e23744;
  color: #fff;
}

/* Esconde a nav compartilhada (indigo) apenas na dashboard */
.bdash .dash-bottom-nav {
  display: none !important;
}

/* Desktop: a sidebar fixa cuida da navegação, esconde a nav inferior */
@media (min-width: 860px) {
  .bd-bottomnav {
    display: none;
  }
}

/* ── Extras da dashboard (chip "Hoje", aviso de saque, card do app) ── */
.bd-balance__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bd-chip {
  flex-shrink: 0;
  background: #fde3e6;
  color: #c01f2e;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.bd-note {
  margin-top: 6px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fdeaec;
  border: 1px solid #f6cdd2;
  border-radius: 13px;
  padding: 12px 14px;
  color: #d12d3c;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bd-note:hover {
  background: #fbdde1;
  border-color: #efb7bf;
}

.bd-note__left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
}

.bd-note__left svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bd-note__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Card "Baixe nosso aplicativo" */
.bd-appcard {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px 18px 20px;
  margin-top: 2px;
  background:
    radial-gradient(130% 130% at 90% 10%, rgba(224, 80, 90, 0.22) 0%, transparent 45%),
    linear-gradient(135deg, #3a1014 0%, #4a161c 55%, #5c1d25 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(58, 16, 20, 0.28);
}

/* pontilhado decorativo */
.bd-appcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.bd-appcard > * {
  position: relative;
  z-index: 1;
}

.bd-appcard__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e23744;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.bd-appcard__badge svg {
  width: 13px;
  height: 13px;
}

.bd-appcard__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.bd-appcard__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  max-width: 34ch;
}

/* ── Dados da Rede ── */
.bd-net {
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.bd-net__title {
  margin: 0 0 16px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #475569;
}

.bd-net__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bd-net__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 14px;
}

.bd-net__ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.bd-net__ic svg { width: 17px; height: 17px; }

.bd-net__ic--green  { background: #e7f7ec; color: #1fa463; }
.bd-net__ic--red    { background: #fdeaea; color: #ef4444; }
.bd-net__ic--blue   { background: #e8eefb; color: #3b6fe0; }
.bd-net__ic--purple { background: #f2e9fb; color: #8b46d4; }

.bd-net__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-top: 2px;
}

.bd-net__num--money {
  font-size: 1.15rem;
}

.bd-net__lbl {
  font-size: 0.82rem;
  color: #9aa1a9;
}

/* Patrocinador */
.bd-net__sponsor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef0f2;
}

.bd-net__sponsor-av {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e6e8eb;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #6b7280;
  background: #fff;
}

.bd-net__sponsor-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bd-net__sponsor-lbl {
  font-size: 0.78rem;
  color: #9aa1a9;
}

.bd-net__sponsor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #16181d;
}

.bd-net__wpp {
  margin-left: auto;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.bd-net__wpp:hover { transform: translateY(-1px); filter: brightness(1.04); }
.bd-net__wpp svg { width: 22px; height: 22px; }

/* Acessar a Rede */
.bd-net__access {
  width: 100%;
  margin-top: 16px;
  padding: 16px 2px 2px;
  border: none;
  border-top: 1px solid #eef0f2;
  background: transparent;
  color: #16181d;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bd-net__access svg { width: 18px; height: 18px; color: #6b7280; }
.bd-net__access:hover { color: #e23744; }
.bd-net__access:hover svg { color: #e23744; }

/* ── Dados da Rede: gráfico (donut + barras por nível) ── */
.bd-net__overview {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bd-net__donut {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.bd-net__donut svg { width: 100%; height: 100%; }

.bd-donut-track,
.bd-donut-seg {
  fill: none;
  stroke-width: 3.6;
}

.bd-donut-track { stroke: #eef0f2; }

.bd-donut-seg {
  stroke: #e23744;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.bd-net__donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bd-net__donut-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #16181d;
  line-height: 1;
}

.bd-net__donut-lbl {
  font-size: 0.72rem;
  color: #9aa1a9;
  margin-top: 2px;
}

.bd-net__legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.bd-net__leg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #6b7280;
}

.bd-net__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bd-net__dot--active { background: #e23744; }
.bd-net__dot--inactive { background: #cbd2da; }
.bd-net__dot--inv { background: #8b5cf6; }

.bd-net__leg-lbl { flex: 1; }

.bd-net__leg-val { font-weight: 800; color: #16181d; }

.bd-net__leg-val em {
  font-style: normal;
  font-weight: 600;
  color: #9aa1a9;
  font-size: 0.8rem;
}

.bd-net__levels {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef0f2;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bd-net__levels-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 2px;
}

.bd-net__bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bd-net__bar-lbl {
  width: 56px;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.bd-net__bar-track {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: #f1f3f5;
  overflow: hidden;
}

.bd-net__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #e8ebef;
  transition: width 0.5s ease;
  display: flex;
}

.bd-net__bar-active {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0444f, #e23744);
  transition: width 0.5s ease;
}

.bd-net__bar-val {
  width: 22px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 800;
  color: #16181d;
}

/* ── Comunidade ── */
.bd-comm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-comm-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  border: 1px solid #eef0f2;
  background: #ffffff;
  border-radius: 14px;
  padding: 13px 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bd-comm-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.bd-comm-ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.bd-comm-ic svg { width: 21px; height: 21px; }
.bd-comm-ic--wpp { background: #e7f7ec; color: #25d366; }
.bd-comm-ic--tg { background: #e8f1fb; color: #2aabee; }

.bd-comm-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bd-comm-txt strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #16181d;
}

.bd-comm-txt span {
  font-size: 0.82rem;
  color: #9aa1a9;
}

.bd-comm-chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c3c8ce;
}

/* ── Card de indicação ── */
.bd-ref {
  border: 1px solid #eef0f2;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.bd-ref__hero {
  position: relative;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 90% at 50% 30%, rgba(226, 55, 68, 0.10), transparent 70%),
    linear-gradient(135deg, #eef4ff 0%, #fdeef0 100%);
}

.bd-ref__share {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #3a3f47;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
  transition: transform 0.15s ease;
}

.bd-ref__share:hover { transform: translateY(-1px); }
.bd-ref__share svg { width: 18px; height: 18px; }

.bd-ref__emoji {
  font-size: 4.2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.bd-ref__img {
  max-width: 92%;
  max-height: 138px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(16, 24, 40, 0.18));
}

.bd-ref__title {
  margin: 16px 2px 14px;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: #16181d;
}

.bd-ref__label {
  display: block;
  margin: 0 2px 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #6b7280;
}

.bd-ref__field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f5f7;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
}

.bd-ref__field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: #4b5563;
  padding: 10px 0;
}

.bd-ref__copy {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 9px;
  background: #ffffff;
  color: #6b7280;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
  transition: color 0.15s ease;
}

.bd-ref__copy:hover { color: #e23744; }
.bd-ref__copy svg { width: 19px; height: 19px; }

.bd-ref__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.bd-ref__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  border-radius: 13px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.bd-ref__btn svg { width: 21px; height: 21px; }
.bd-ref__btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.bd-ref__btn:active { transform: translateY(0); }

.bd-ref__btn--wpp { background: #25d366; box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3); }
.bd-ref__btn--tg { background: #2aabee; box-shadow: 0 8px 18px rgba(42, 171, 238, 0.3); }

/* ═══════════════════════════════════════════════════════════════
   Desktop — dashboard em largura cheia (layout estilo computador)
═══════════════════════════════════════════════════════════════ */
.bd-balgrid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 860px) {
  /* a dashboard ocupa toda a largura ao lado da sidebar */
  .bdash .dash-content {
    max-width: none;
    margin: 0;
    padding-top: 6px;
  }

  /* 3 saldos lado a lado */
  .bd-balgrid {
    flex-direction: row;
    gap: 16px;
  }
  .bd-balgrid > .bd-balance { flex: 1; min-width: 0; }
  .bd-balgrid > .bd-divider { display: none; }

  /* Dados da Rede: 4 colunas */
  .bd-net__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Comunidade lado a lado */
  .bd-comm { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Desktop — demais páginas usam a largura da tela
   (seletores .dash-app.X-page para vencer o CSS de cada página)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 860px) {
  /* Páginas de LISTA preenchem a largura ao lado da sidebar */
  .dash-app.inv-page .dash-content,
  .dash-app.pf-page .dash-content,
  .dash-app.wd-page .dash-content,
  .dash-app.st-page .dash-content,
  .dash-app.co-page .dash-content {
    max-width: none;
    margin: 0;
  }

  /* Páginas de FORMULÁRIO ficam num bloco central confortável */
  .dash-app.nw-page .dash-content,
  .dash-app.bc-page .dash-content,
  .dash-app.cp-page .dash-content {
    max-width: 640px;
    margin: 0 auto;
  }

  /* Listas viram grade multi-coluna (responsiva) no desktop */
  .inv-page .inv-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
  }
  .pf-page .pf-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
  }
  .wd-page .wd-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
  }
  .st-page .st-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
    gap: 11px;
    align-items: start;
  }
  .co-page .co-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Dashboard "Mercados estratégicos" — tema escuro
   Escopo: .mk-root (sobrepõe o tema claro do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.mk-root {
  --mk-bg:       #0b1219;
  --mk-panel:    #0f1922;
  --mk-card:     #121d28;
  --mk-card-2:   #16222e;
  --mk-line:     #1e2c3a;
  --mk-txt:      #ffffff;
  --mk-muted:    #7b8a9a;
  --mk-green:    #16c47f;
  --mk-green-2:  #1ed98d;
  --mk-red:      #f6465d;
  --mk-gold:     #f0b90b;
}

/* ── Reset do tema claro herdado ── */
.mk-root,
.mk-root .dash-main {
  background: var(--mk-bg) !important;
  color: var(--mk-txt) !important;
}

.mk-root {
  min-height: 100vh;
  padding: 0 !important;
}

/* Seletor com .mk-root para vencer `.bdash .dash-content { max-width: 420px }` */
.mk-root .mk-content {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 10px 14px 110px !important;
  background: var(--mk-bg);
}

/* ═══ Card de saldo total (header embutido, igual à referência) ═══ */
.mk-hero {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #0c141c;
  isolation: isolate;
}

/* Foto de fundo real (com fallback para o cenário SVG desenhado) */
.mk-hero__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Cenário SVG (skyline + moedas) — fallback quando a foto não carrega */
.mk-hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.mk-hero__scene.is-hidden { display: none; }

/* Gradiente escuro por cima do fundo, para o texto ficar legível */
.mk-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

/* ── Header embutido (insígnia + ações) ── */
.mk-hero__header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 0;
}

/* Botão da insígnia do plano de carreira */
.mk-hero__badge-btn {
  position: relative;
  margin: -8px 0 0 -12px;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.mk-hero__badge-btn:active { transform: scale(0.95); }

.mk-hero__badge-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(53, 230, 138, 0.2);
  filter: blur(18px);
  opacity: 0.7;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.mk-hero__badge-btn:hover .mk-hero__badge-glow { opacity: 1; }

.mk-hero__badge-img {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 92px;
  object-fit: contain;
  display: block;
  transform: scale(0.9);
  transition: transform 0.15s ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(203, 213, 225, 0.7));
}
.mk-hero__badge-btn:hover .mk-hero__badge-img { transform: scale(0.94); }

.mk-hero__header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
}

/* Link "VIP Grupo" */
.mk-hero__viplink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Pílula "VIP Grupo" — fundo escuro translúcido, como na foto */
.mk-hero__viplink {
  background: rgba(90, 40, 30, 0.55);
  border-radius: 16px;
  padding: 4px 10px 4px 4px;
}

.mk-hero__viplink-badge {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fde047, #eab308);
  color: #713f12;
  font-size: 7px;
  font-weight: 800;
  box-shadow: 0 0 4px rgba(250, 204, 21, 0.6);
  flex-shrink: 0;
}

/* Ícones do header (cupom / whatsapp / sino / configurações) */
.mk-hero__hic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}
.mk-hero__hic svg { width: 18px; height: 18px; }

/* Cupom e WhatsApp: botão verde preenchido, ícone branco */
.mk-hero__hic--fill {
  width: 27px;
  height: 24px;
  border-radius: 6px;
  background: #16c47f;
}
.mk-hero__hic--fill:hover { background: #1ed98d; }
.mk-hero__hic--fill svg { width: 14px; height: 14px; }

.mk-hero__wa {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}
.mk-hero__wa svg { width: 13px; height: 13px; color: #ffffff; }
.mk-hero__wa-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 1.5px #070b1a;
}

/* Sino de notificações — reaproveita o componente, recolorido para o header */
.mk-hero__bell { display: inline-flex; }
.mk-hero__bell .bd-bell {
  width: 18px;
  height: 18px;
  color: #ffffff;
  padding: 0;
  border-radius: 0;
}
.mk-hero__bell .bd-bell svg { width: 18px; height: 18px; }
.mk-hero__bell .bd-bell:hover { background: transparent; opacity: 0.8; }

/* ── Conteúdo: Ontem · Saldo total · expandir ── */
.mk-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto) 40px;
  align-items: end;
  gap: 16px;
  padding: 72px 18px 18px;
}

.mk-hero__yesterday { min-width: 0; }
.mk-hero__yesterday-val { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.mk-hero__yesterday-num {
  font-weight: 700;
  color: #24d88a;
  font-size: 20px;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(36, 216, 138, 0.2);
}

.mk-hero__sub-lbl {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

.mk-hero__balance {
  min-width: 0;
  text-align: left;
  transform: translateX(6px);
}
.mk-hero__balance-row { display: flex; align-items: center; gap: 6px; }

.mk-hero__balance-num {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.12);
}

.mk-hero__eye-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -9px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.mk-hero__eye {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
  pointer-events: none;
}

/* Chevron duplo verde — abre/recolhe o painel de estatísticas */
.mk-hero__more {
  justify-self: end;
  align-self: end;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #24d88a;
  cursor: pointer;
  transition: transform 0.28s ease, background 0.18s ease;
}

.mk-hero__more svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1px 8px rgba(36, 216, 138, 0.26));
}
.mk-hero__more:hover { color: #35e68a; background: rgba(36, 216, 138, 0.12); }
.mk-hero__more:active { background: rgba(36, 216, 138, 0.2); }
.mk-hero__more.is-open { transform: rotate(180deg); }

/* Painel de estatísticas extra (expansível) */
.mk-hero__stats {
  position: relative;
  z-index: 2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding-bottom 0.32s ease;
}

.mk-hero__stats.is-open {
  max-height: 320px;
  opacity: 1;
  padding-bottom: 18px;
}

.mk-hero__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mk-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mk-hero__stat-val {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mk-hero__stat-val--pos { color: #1ed98d; }

.mk-hero__stat-lbl {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Rodapé "Rendimento | Histórico" do painel expandido */
.mk-hero__stats-foot {
  display: flex;
  align-items: stretch;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mk-hero__stats-foot button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

.mk-hero__stats-foot button svg { width: 17px; height: 17px; color: rgba(255, 255, 255, 0.7); }
.mk-hero__stats-foot button:hover { color: var(--mk-green-2); }
.mk-hero__stats-foot button:hover svg { color: var(--mk-green-2); }

.mk-hero__stats-foot-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}

/* ═══ Aviso: ticker vertical de lucros ═══ */
.mk-notice {
  height: 40px;
  overflow: hidden;
  border-radius: 4px;
  background: #0d1326;
  font-size: 0.75rem;
  color: #d1d5db;
}

.mk-notice__viewport {
  height: 40px;
  overflow: hidden;
}

.mk-notice__col {
  display: flex;
  flex-direction: column;
}

.mk-notice__row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
}

.mk-notice__ic {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9ca3af;
}

.mk-notice__text {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mk-notice__member {
  color: #e5e7eb;
}

.mk-notice__tag {
  margin: 0 8px;
  color: #9ca3af;
}

.mk-notice__val {
  font-weight: 600;
  color: #35e68a;
}

/* ═══ Painel único: abas + chips (como na foto) ═══ */
.mk-panel {
  display: flex;
  flex-direction: column;
  background: #111827;
  border-radius: 8px;
  overflow: hidden;
}

/* ═══ Abas ═══ */
.mk-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 16px 0;
}

.mk-panel--has-chips .mk-tabs { padding-bottom: 14px; }

.mk-tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--mk-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s ease;
}

.mk-tab:hover { color: #c9d5e1; }

.mk-tab.is-active {
  color: var(--mk-green);
  font-weight: 700;
}

.mk-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 3px;
  background: var(--mk-green);
}

.mk-tab__count {
  font-size: 0.85rem;
  color: var(--mk-muted);
  font-weight: 600;
}

/* ═══ Chips de filtro (3 colunas iguais, como na foto) ═══ */
.mk-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 16px;
  background: #111827;
}

.mk-chip {
  position: relative;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: #0d1326;
  color: #e5e7eb;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 11px 8px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.mk-chip:hover { color: #ffffff; }

/* Ativo = contornado em verde, fundo esverdeado translúcido */
.mk-chip.is-active {
  background: rgba(22, 196, 127, 0.1);
  border-color: var(--mk-green);
  color: var(--mk-green-2);
}

/* Etiqueta "Hot" — cantinho vermelho no topo esquerdo */
.mk-chip__tag {
  position: absolute;
  top: -7px;
  left: -6px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--mk-red);
  color: #ffffff;
  line-height: 1.3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ═══ Botão Subscrever ═══ */
.mk-sub {
  border: none;
  border-radius: 7px;
  background: var(--mk-green);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.16s ease, transform 0.16s ease;
}

.mk-sub:hover { filter: brightness(1.12); transform: translateY(-1px); }
.mk-sub:active { transform: translateY(0); }

.mk-sub--sm {
  font-size: 0.77rem;
  padding: 8px 13px;
  border-radius: 6px;
}

/* ═══ Lista de planos ═══ */
.mk-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .mk-list { grid-template-columns: 1fr 1fr; }
}

.mk-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 26px 10px;
  color: var(--mk-muted);
  font-size: 0.87rem;
}

/* Marca de fim da lista de depósitos */
.mk-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 10px 10px;
}
.mk-end svg { width: 46px; height: 46px; }
.mk-end span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mk-muted);
}

.mk-card {
  padding: 16px;
  border-radius: 0;
  background: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mk-card:hover { background-color: rgba(31, 41, 55, 0.3); }
.mk-card:focus-visible { outline: 2px solid #35e68a; outline-offset: 2px; }

.mk-card.is-locked { opacity: 0.5; cursor: default; }
.mk-card.is-locked:hover { background-color: #111827; }

.mk-card__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.mk-card__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2f81f7, #1f6feb);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.mk-card__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-card__name-wrap { min-width: 0; }
.mk-card__name {
  margin: 0;
  overflow-wrap: break-word;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.mk-card__term {
  display: block;
  min-width: 34px;
  text-align: right;
  line-height: 1.25;
  flex-shrink: 0;
}

.mk-card__term p {
  margin: 0;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.mk-card__term small {
  font-size: 0.625rem;
  color: #9ca3af;
}

/* Botão Subscrever (verde) / travado (cinza-claro) */
.mk-card__sub {
  flex-shrink: 0;
  white-space: nowrap;
  border: none;
  border-radius: 0;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  background: #22c55e;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.mk-card__sub:hover:not(:disabled) { background: #16a34a; }

.mk-card__sub--locked {
  background: rgba(241, 245, 249, 0.8);
  color: #1e293b;
  padding: 5px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: not-allowed;
}
.mk-card__sub--locked:hover { background: rgba(241, 245, 249, 0.8); }

.mk-card__gate {
  margin: 8px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #d8c66b;
}

/* Métricas (3 colunas divididas, todas centralizadas) */
.mk-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  text-align: center;
}

.mk-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 0 6px;
}

/* Divisores verticais só na lista de planos (não em "Meus depósitos") */
.mk-card:not(.mk-dep) .mk-metric:nth-child(n+2) { border-left: 1px solid rgba(255, 255, 255, 0.06); }

/* "Meus depósitos" (mk-dep) continua usando <strong>, com o estilo original */
.mk-metric strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--mk-green-2);
  letter-spacing: -0.2px;
}

/* Lista de planos usa <p>, fonte mono, só a 1ª métrica em verde */
.mk-metric p {
  margin: 0;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: #ffffff;
}

.mk-metric small {
  margin-top: 1px;
  font-size: 0.656rem;
  color: #9ca3af;
  line-height: 1.25;
}


/* ═══ Cards de "Meus depósitos" ═══ */
.mk-dep__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mk-dep__title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mk-dep__title strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mk-txt);
  line-height: 1.35;
}

.mk-dep__date {
  font-size: 0.74rem;
  color: var(--mk-muted);
}

.mk-dep__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.mk-dep__status {
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(22, 196, 127, 0.16);
  color: #1ed98d;
  border: 1px solid rgba(30, 217, 141, 0.4);
}

.mk-dep__status.is-done {
  background: rgba(125, 138, 154, 0.16);
  color: #9aa7b4;
  border-color: rgba(125, 138, 154, 0.4);
}

.mk-dep .mk-card__metrics {
  border-top: 1px solid var(--mk-line);
  padding-top: 14px;
}

.mk-dep__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 12px 0 0;
  border: none;
  background: transparent;
  color: var(--mk-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.mk-dep__progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.mk-dep__progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--mk-green);
}

.mk-dep__stats-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.mk-dep__stats svg { width: 14px; height: 14px; }
.mk-dep__stats:hover { color: #c9d5e1; }

/* alinha o link "Estatísticas" à direita do card */
.mk-dep { display: flex; flex-direction: column; }

/* ═══ Navegação inferior (tema escuro) ═══ */
.mk-root .bd-bottomnav {
  background: #0d1620;
  border-top: 1px solid var(--mk-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
}

.mk-root .bd-bottomnav .bd-nav-item {
  color: var(--mk-muted);
  background: transparent;
}

.mk-root .bd-bottomnav .bd-nav-item.active {
  color: var(--mk-green);
  background: transparent;
}

/* Ícone ativo: verde com leve brilho, como na referência */
.mk-root .bd-bottomnav .bd-nav-item.active svg {
  color: #35e68a;
  filter: drop-shadow(0 0 10px rgba(53, 230, 138, 0.45));
}

.mk-root .bd-bottomnav .bd-nav-avatar {
  background: var(--mk-card-2);
  color: var(--mk-txt);
}

/* ═══ Desktop ═══ */
@media (min-width: 860px) {
  .mk-root .dash-main {
    padding: 0 24px 24px 296px !important;
    min-height: 100vh;
  }

  .mk-root .mk-content {
    max-width: 1240px !important;
    margin: 0;
    padding: 18px 4px 40px !important;
  }

  .mk-hero {
    min-height: 240px;
  }

  .mk-hero__header { padding: 12px 28px 0; }
  .mk-hero__grid { padding: 112px 28px 28px; }
  .mk-hero__yesterday-num { font-size: 27px; }
  .mk-hero__sub-lbl { font-size: 13px; }
  .mk-hero__balance-num { font-size: 30px; }
  .mk-hero__eye { width: 16px; height: 16px; }
  .mk-metric strong { font-size: 1.05rem; }
  .mk-metric small { font-size: 0.71rem; }
  .mk-card { padding: 17px 20px; }
}

/* ═══ Telas pequenas ═══ */
@media (max-width: 360px) {
  .mk-hero__badge-btn { width: 76px; height: 76px; }
  .mk-hero__badge-img { width: 64px; height: 76px; }
  .mk-hero__balance-num { font-size: 18px; }
  .mk-hero__yesterday-num { font-size: 17px; }
  .mk-metric strong { font-size: 0.87rem; }
  .mk-metric small { font-size: 0.63rem; }
  .mk-card__term p { font-size: 0.78rem; }
}
.roleta-pro {
  min-height: 100dvh;
  background: #ffffff !important;
  color: #2f343a;
  padding: 10px 0 24px;
  position: relative;
  z-index: 2;
}

.roleta-pro::before {
  content: '';
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

.roleta-wrap {
  width: min(920px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.roleta-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.95), rgba(245, 246, 248, 0.65));
  backdrop-filter: blur(4px);
  color: #2f343a;
  border-radius: 14px;
}

.roleta-head h1 {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2f343a;
}

.lucky-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0;
  position: relative;
}

.lucky-title::before,
.lucky-title::after {
  content: '';
  position: absolute;
  left: 50%;
  width: min(86%, 360px);
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #b8c0cb 18%, #f5f8ff 50%, #b8c0cb 82%, transparent 100%);
  box-shadow:
    0 0 8px rgba(180, 191, 203, 0.7),
    0 0 18px rgba(214, 223, 234, 0.55),
    0 0 26px rgba(160, 172, 186, 0.45);
  animation: titleLineShine 2.2s ease-in-out infinite;
  pointer-events: none;
}

.lucky-title::before {
  top: -6px;
}

.lucky-title::after {
  bottom: -6px;
  animation-delay: 1.1s;
}

.lucky-title__text {
  display: inline-block;
  font-family: 'Arial Black', 'Impact', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #4b525a, #7b848d, #4b525a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 6px rgba(120, 128, 138, 0.4),
    0 0 14px rgba(95, 103, 112, 0.3);
  animation: luckyTitleGlow 1.4s ease-in-out infinite alternate;
  padding: 4px 14px;
  border-radius: 999px;
  background-color: transparent;
  position: relative;
}

.lucky-title__text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: linear-gradient(90deg, #5f6670, #9aa3ad, #5f6670) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: luckyTitleGlow 1.4s ease-in-out infinite alternate;
}

@keyframes luckyTitleGlow {
  0% {
    filter: drop-shadow(0 0 4px rgba(95, 103, 112, 0.45));
  }
  100% {
    filter: drop-shadow(0 0 12px rgba(154, 163, 173, 0.55));
  }
}

@keyframes titleLineShine {
  0%, 100% {
    opacity: 0.75;
    filter: brightness(0.95);
  }
  50% {
    opacity: 1;
    filter: brightness(1.22);
  }
}


@keyframes wheelConnectorPulse {
  0%, 100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 4px rgba(219, 228, 240, 0.35)) brightness(0.95);
  }
  50% {
    opacity: 0.92;
    filter: drop-shadow(0 0 10px rgba(238, 245, 255, 0.65)) brightness(1.2);
  }
}

.roleta-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(95, 103, 112, 0.28);
  background: #f5f7fa;
  color: #2f343a;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(95, 103, 112, 0.14);
}

.roleta-head-spacer {
  width: 36px;
  height: 36px;
}

.wheel-stage {
  width: min(100%, 620px);
  height: min(100vw, 620px);
  margin: 8px auto 0;
  position: relative;
}

.wheel-pointer {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 24px solid #59616a;
  filter: drop-shadow(0 8px 12px rgba(85, 93, 102, 0.35));
}

.wheel-ring {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 12px solid rgba(113, 121, 130, 0.34);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 30px 70px rgba(120, 130, 141, 0.2);
  z-index: 4;
}

.wheel-disc {
  position: absolute;
  width: 78%;
  height: 78%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 0 0 8px rgba(197, 205, 214, 0.5),
    0 18px 40px rgba(108, 118, 128, 0.26);
  transition: transform 4.7s cubic-bezier(0.12, 0.95, 0.2, 1);
  z-index: 5;
}

.wheel-disc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  background:
    repeating-conic-gradient(
      from -90deg,
      rgba(240, 246, 255, 0.55) 0deg 1.1deg,
      rgba(255, 255, 255, 0) 1.1deg 45deg
    );
  mix-blend-mode: screen;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(225, 233, 245, 0.45));
  animation: wheelConnectorPulse 1.25s ease-in-out infinite;
}

.wheel-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 50%;
  transform-origin: bottom center;
  background: rgba(255, 255, 255, 0.85);
  z-index: 6;
}

.wheel-label {
  position: absolute;
  z-index: 7;
  color: #2f343a;
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(255, 255, 255, 0.7);
}

.wheel-line {
  background: rgba(79, 87, 96, 0.38);
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, #8d959e, #5a616a);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow:
    0 14px 30px rgba(95, 103, 112, 0.35),
    inset 0 2px 8px rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
  z-index: 9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.spins-badge {
  position: absolute;
  top: 84%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid rgba(95, 103, 112, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  z-index: 10;
  color: #2f343a;
  box-shadow: 0 4px 12px rgba(95, 103, 112, 0.14);
}

.spins-badge strong {
  color: #525a63;
  font-size: 1.15rem;
}

.spin-cta {
  padding: 0 16px;
  margin-top: 6px;
}

.spin-cta button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #e2e6ea, #c5ccd3);
  color: #5d646d;
  font-weight: 800;
  cursor: not-allowed;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.spin-cta button.ready {
  background: linear-gradient(90deg, #7a838d, #58606a);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 98, 108, 0.32);
}

.spin-cta button.ready:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.spin-cta button.ready:active {
  transform: translateY(0);
}

.winner-text {
  margin: 10px 0 0;
  text-align: center;
  color: #525a63;
  font-weight: 700;
}

.redeem-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(47, 52, 58, 0.45);
  display: grid;
  place-items: center;
  padding: 16px;
  backdrop-filter: blur(3px);
  animation: roletaFadeIn 180ms ease-out;
}

.redeem-modal {
  width: min(92vw, 440px);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  padding: 28px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: celebrationPop 380ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.redeem-modal--success {
  border: 1px solid rgba(95, 103, 112, 0.35);
  background: linear-gradient(160deg, #f7f9fb 0%, #eceff3 100%);
  color: #2f343a;
}

.redeem-modal--error {
  border: 1px solid rgba(248, 113, 113, 0.55);
  background: linear-gradient(160deg, #fef2f2 0%, #fde4e4 100%);
  color: #7a2a2a;
}

.redeem-modal-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(95, 103, 112, 0.25));
}

.redeem-modal h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.redeem-modal--success h2 { color: #4f5760; }
.redeem-modal--error h2   { color: #b91c1c; }

.redeem-modal-code {
  margin: 0;
  font-size: 0.9rem;
  color: #5f6770;
}

.redeem-modal-code strong {
  color: #2f343a;
  font-size: 1rem;
  letter-spacing: 1px;
}

.redeem-modal-reward {
  margin: 0;
  font-size: 1.05rem;
  color: #2f343a;
  font-weight: 600;
}

.redeem-modal-reward strong {
  color: #4d555e;
  font-size: 1.25rem;
}

.redeem-modal-spins {
  margin: 0;
  font-size: 0.88rem;
  color: #5f6770;
}

.redeem-modal-spins strong {
  color: #4d555e;
  font-weight: 700;
}

.redeem-modal-message {
  margin: 0;
  font-size: 0.98rem;
  color: #b91c1c;
  font-weight: 600;
  line-height: 1.5;
}

.redeem-modal-btn {
  margin-top: 6px;
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.redeem-modal-btn:hover  { filter: brightness(1.08); transform: translateY(-1px); }
.redeem-modal-btn:active { transform: translateY(0); }

.redeem-modal-btn--success {
  background: linear-gradient(90deg, #7c8590, #5a616b);
  color: #fff;
  box-shadow: 0 8px 22px rgba(90, 98, 107, 0.35);
}

.redeem-modal-btn--error {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.3);
}

.records-card {
  margin: 16px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(95, 103, 112, 0.22);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(95, 103, 112, 0.12);
  color: #2f343a;
}

.records-tabs {
  display: flex;
  gap: 8px;
}

.records-tabs button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #eef1f4;
  color: #5f6770;
  font-weight: 700;
}

.records-tabs button.active {
  background: linear-gradient(90deg, #7b848e, #5b636c);
  color: #fff;
}

.records-list {
  margin-top: 10px;
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: #f5f7fa;
  border: 1px solid rgba(95, 103, 112, 0.16);
}

.record-row small {
  color: #6b7380;
  font-size: 0.72rem;
  display: block;
}

.record-row p {
  margin: 2px 0 0;
  color: #2f343a;
  font-size: 0.88rem;
}

.record-row strong {
  font-size: 1rem;
  background: linear-gradient(90deg, #545c65, #7b858f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.empty-state {
  text-align: center;
  color: #6b7380;
  padding: 24px 10px;
}

.rules-card {
  margin: 16px;
  padding: 18px 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(95, 103, 112, 0.2);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(95, 103, 112, 0.1);
  color: #2f343a;
  position: relative;
  isolation: isolate;
}

.rules-card::before,
.rules-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
}

.rules-card::before {
  background: linear-gradient(
    120deg,
    rgba(166, 176, 190, 0.2),
    rgba(223, 230, 240, 0.75),
    rgba(166, 176, 190, 0.2)
  );
  z-index: -1;
  filter: blur(0.4px);
  animation: rulesCardPulse 1.9s ease-in-out infinite;
}

.rules-card::after {
  inset: -7px;
  border-radius: 22px;
  background: radial-gradient(circle at center, rgba(214, 223, 235, 0.4), transparent 70%);
  z-index: -2;
  filter: blur(8px);
  opacity: 0.65;
  animation: rulesCardAuraPulse 1.9s ease-in-out infinite;
}

.rules-card__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #4f5760;
  text-align: center;
  letter-spacing: 0.3px;
}

.spins-badge--inline {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 14px;
  width: max-content;
  left: auto;
  top: auto;
}

.rules-card .spins-badge--inline {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.spins-token {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 18px;
  padding: 10px 18px 10px 12px;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(135deg, #f4f6f8 0%, #e8edf1 100%);
  border: 1px solid rgba(95, 103, 112, 0.3);
  border-radius: 14px;
  box-shadow:
    0 6px 18px rgba(95, 103, 112, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.spins-token::before,
.spins-token::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 1px solid rgba(95, 103, 112, 0.3);
  border-radius: 50%;
  transform: translateY(-50%);
}

.spins-token::before {
  left: -6px;
  border-right-color: transparent;
}

.spins-token::after {
  right: -6px;
  border-left-color: transparent;
}

.spins-token__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b848f, #59616b);
  color: #fff;
  box-shadow: 0 4px 10px rgba(90, 98, 108, 0.3);
}

.spins-token__icon svg {
  width: 22px;
  height: 22px;
}

.spins-token__info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.spins-token__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6770;
}

.spins-token__count {
  font-size: 1.4rem;
  font-weight: 800;
  color: #4f5760;
  font-variant-numeric: tabular-nums;
}

.rules-card__list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d434a;
}

.rules-card__list li {
  padding-left: 4px;
}

.rules-card__list li::marker {
  color: #5d6570;
  font-weight: 800;
}

.rules-card__list strong {
  color: #2f343a;
  font-weight: 700;
}

.roleta-celebration {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(47, 52, 58, 0.35);
  pointer-events: none;
  animation: roletaFadeIn 220ms ease-out;
}

.roleta-celebration-card {
  position: relative;
  overflow: hidden;
  width: min(92vw, 520px);
  border-radius: 20px;
  border: 1px solid rgba(95, 103, 112, 0.42);
  background: radial-gradient(circle at top, rgba(223, 228, 233, 0.95), #ffffff 58%);
  color: #2f343a;
  text-align: center;
  padding: 20px 18px 18px;
  box-shadow:
    0 0 0 2px rgba(136, 145, 154, 0.25),
    0 20px 60px rgba(95, 103, 112, 0.25);
  animation: celebrationPop 520ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.roleta-celebration-card h2 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.3px;
  color: #4f5760;
  text-shadow: 0 0 14px rgba(95, 103, 112, 0.28);
}

.roleta-celebration-card p {
  margin: 10px 0 0;
  font-size: 1.05rem;
  color: #2f343a;
}

.roleta-celebration-card p strong {
  color: #525a63;
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(95, 103, 112, 0.25);
}

.roleta-confetti {
  position: absolute;
  inset: -30% -10%;
  background-image:
    radial-gradient(circle, rgba(140, 149, 160, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle, rgba(193, 201, 210, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle, rgba(150, 160, 171, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle, rgba(116, 126, 137, 0.9) 0 2px, transparent 2.4px);
  background-size: 56px 56px, 62px 62px, 68px 68px, 74px 74px;
  background-position: 0 0, 24px 18px, 12px 34px, 30px 8px;
  opacity: 0.55;
  animation: confettiMove 1800ms linear infinite;
}

@keyframes celebrationPop {
  0% {
    transform: scale(0.72) translateY(18px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes roletaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes confettiMove {
  0% { transform: translateY(-6px) rotate(0deg); }
  100% { transform: translateY(22px) rotate(6deg); }
}

@keyframes rulesCardPulse {
  0%, 100% {
    opacity: 0.45;
    filter: blur(0.4px) brightness(0.95);
  }
  50% {
    opacity: 0.95;
    filter: blur(0.8px) brightness(1.15);
  }
}

@keyframes rulesCardAuraPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.995);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.01);
  }
}
.sinuca-page {
  min-height: 100vh;
  padding: 20px;
  background: inherit;
  color: #5a3d1a;
}

.sinuca-shell {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(255, 138, 3, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.sinuca-header h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  color: #5a3d1a;
}

.sinuca-header p {
  margin: 6px 0 0;
  color: #8a6b3f;
  font-size: 0.92rem;
}

.sinuca-actions {
  display: flex;
  gap: 8px;
}

.sinuca-link,
.sinuca-reset {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.sinuca-link {
  color: #5a3d1a;
  background: linear-gradient(135deg, #ff8a03, #f7d981);
}

.sinuca-reset {
  color: #5a3d1a;
  background: rgba(255, 138, 3, 0.15);
}

.sinuca-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: start;
}

.sinuca-table-area {
  display: grid;
  gap: 10px;
}

.sinuca-board canvas {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(255, 138, 3, 0.25);
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.15);
  background: #0f6b3b;
  cursor: crosshair;
}

.pocket-lane {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 12px;
  min-height: 100%;
  box-shadow: 0 4px 16px rgba(255, 138, 3, 0.08);
}

.pocket-lane h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #5a3d1a;
}

.pocket-sub {
  margin: 6px 0 10px;
  color: #8a6b3f;
  font-size: 0.78rem;
}

.pocket-track {
  border-radius: 10px;
  border: 1px dashed rgba(255, 138, 3, 0.28);
  background: rgba(255, 245, 235, 0.6);
  padding: 10px;
  min-height: 220px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.pocket-empty {
  color: #8a6b3f;
  font-size: 0.8rem;
}

.pocket-ball {
  --ball-color: #e2e8f0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #5a3d1a;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, rgba(255, 255, 255, 0.88) 20%, var(--ball-color) 58%, #c9a96e 100%);
  box-shadow: 0 5px 12px rgba(180, 83, 9, 0.3);
  animation: pocketDrop 0.5s ease both;
}

.pocket-ball.stripe {
  position: relative;
  color: #5a3d1a;
  overflow: hidden;
}

.pocket-ball.stripe::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 11px;
  height: 8px;
  background: #fff;
  border-radius: 999px;
}

.pocket-ball.stripe::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

@keyframes pocketDrop {
  0% {
    transform: translateY(-18px) scale(0.85);
    opacity: 0;
  }
  70% {
    transform: translateY(2px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hud p {
  margin: 0;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  color: #5a3d1a;
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .sinuca-board {
    grid-template-columns: 1fr;
  }

  .pocket-track {
    min-height: 120px;
  }
}

@media (max-width: 900px) {
  .sinuca-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hud {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Checkout de pagamento (/cashin/checkout) — tema vermelho
   Escopo: .ck-page
═══════════════════════════════════════════════════════════════ */
/* host = Dashboard ao fundo + drawer por cima */
.ck-host { position: relative; }

/* backdrop só aparece no mobile (cobre a dashboard atrás) */
.ck-backdrop { display: none; }

/* Drawer "Novo Investimento" */
.ck-page-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #ffffff;
  overflow-y: auto;
}

.ck-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 16px 28px;
}

/* ── Header ── */
.ck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px 2px;
}

.ck-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #16181d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ck-back:hover { background: #e9edf1; }
.ck-back svg { width: 22px; height: 22px; }

.ck-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.ck-spacer { width: 38px; flex-shrink: 0; }

.ck-status {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.ck-status--ok { background: #e7f7ec; color: #16a34a; }
.ck-status--wait { background: #fff4e0; color: #d98a00; }
.ck-status--bad { background: #fdeaea; color: #dc2626; }

/* ── Banner pago ── */
.ck-paid {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e7f7ec, #d6f3e0);
  border: 1px solid #b7e9c6;
  border-radius: 16px;
  padding: 14px 16px;
  animation: ck-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ck-pop {
  from { transform: translateY(-6px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.ck-paid__ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
}

.ck-paid__ic svg { width: 22px; height: 22px; }

.ck-paid__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-paid__txt strong { font-size: 0.98rem; font-weight: 800; color: #0f7a39; }
.ck-paid__txt span { font-size: 0.8rem; color: #2f9e57; }

/* ── Card principal ── */
.ck-card {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
  text-align: center;
}

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

.ck-method {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.ck-method--pix { background: #d7f4ec; color: #0a9b7d; }
.ck-method--usdt { background: #ddf3e6; color: #15a05a; }

.ck-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e23744;
  background: #fde3e6;
  padding: 6px 11px;
  border-radius: 999px;
}

.ck-timer svg { width: 15px; height: 15px; }

.ck-amount__label {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #8a9099;
}

.ck-amount__value {
  margin: 2px 0 14px;
  font-size: 2rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.5px;
}

/* ── QR ── */
.ck-qr {
  width: 230px;
  height: 230px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
}

.ck-qr__img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

.ck-qr__fallback {
  font-size: 0.85rem;
  color: #9aa1a9;
  text-align: center;
}

.ck-qr__hint {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #6b7280;
}

/* ── Linha de aviso (memo) ── */
.ck-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.84rem;
}

.ck-row span { color: #6b7280; }
.ck-row strong { color: #16181d; font-weight: 800; word-break: break-all; text-align: right; }
.ck-row--warn { background: #fff4e0; border: 1px solid #fbe2b8; }

/* ── Divisor "ou" ── */
.ck-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
}

.ck-or span { flex: 1; height: 1px; background: #ecedf0; }
.ck-or em { font-size: 0.78rem; color: #9aa1a9; font-style: normal; }

/* ── Copiar ── */
.ck-copy__label {
  display: block;
  text-align: left;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7280;
}

.ck-copy {
  background: #f7f8fa;
  border: 1px dashed #d6dbe1;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.ck-copy__code {
  display: block;
  font-size: 0.82rem;
  color: #16181d;
  word-break: break-all;
  text-align: left;
  line-height: 1.45;
  max-height: 96px;
  overflow-y: auto;
}

/* ── Botões ── */
.ck-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 13px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none;
}

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

.ck-btn--primary {
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(207, 36, 54, 0.3);
}
.ck-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 28px rgba(207, 36, 54, 0.4); }

.ck-btn--link { margin-top: 14px; }

.ck-btn--copy {
  background: #16181d;
  color: #fff;
}
.ck-btn--copy:hover { transform: translateY(-2px); }
.ck-btn--copy.is-copied { background: #16a34a; }

.ck-btn--ghost {
  background: #f0f2f4;
  color: #5b626b;
}
.ck-btn--ghost:hover { background: #e6e9ed; }

.ck-btn--ok {
  width: auto;
  flex-shrink: 0;
  height: 42px;
  padding: 0 16px;
  font-size: 0.86rem;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
}
.ck-btn--ok:hover { transform: translateY(-2px); }

/* ── Como pagar ── */
.ck-steps {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.ck-steps__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #16181d;
}

.ck-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.ck-step__num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fde3e6;
  color: #e23744;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.ck-step__text { font-size: 0.86rem; color: #4b5563; line-height: 1.45; }

/* ── ID da transação ── */
.ck-txid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 0.82rem;
}

.ck-txid span { color: #9aa1a9; }
.ck-txid strong { color: #16181d; font-weight: 700; word-break: break-all; text-align: right; }

/* ── Ações ── */
.ck-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Estado vazio ── */
.ck-empty {
  text-align: center;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 32px 20px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.ck-empty__ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fdeaea;
  color: #dc2626;
  display: grid;
  place-items: center;
}

.ck-empty__ic svg { width: 32px; height: 32px; }
.ck-empty h2 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: #16181d; }
.ck-empty p { margin: 0 0 18px; font-size: 0.9rem; color: #6b7280; line-height: 1.5; }

/* ── Estilo "foto" do checkout (PIX) ── */
.ck-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #16181d;
}

.ck-brand__check { color: #16a34a; display: grid; place-items: center; }
.ck-brand__check svg { width: 20px; height: 20px; }

/* timer neutro como na foto */
.ck-timer {
  color: #6b7280;
  background: #f1f3f5;
}

.ck-amount__value--green { color: #16a34a; }

.ck-codebox {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #16181d;
  background: #f7f8fa;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
  text-align: left;
  word-break: break-all;
  max-height: 124px;
  overflow-y: auto;
}

.ck-copylink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: #16a34a;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.ck-copylink svg { width: 18px; height: 18px; }
.ck-copylink:hover { filter: brightness(0.92); }

.ck-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #fbe7b3;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8a6d1a;
}

.ck-note__ic { flex-shrink: 0; color: #e0a400; display: grid; place-items: center; }
.ck-note__ic svg { width: 18px; height: 18px; }

/* ── Botão fechar (X) + título à esquerda ── */
.ck-title--start { text-align: left; flex: 1; }

.ck-close {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.ck-close:hover { background: #eef0f2; }
.ck-close svg { width: 22px; height: 22px; }

/* ═══════════════════════════════════════════════════════════════
   Desktop — Dashboard ao vivo ao fundo + drawer "Novo Investimento"
   ancorado logo após a sidebar (lado a lado, sem sobrepor)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 860px) {
  /* empurra o conteúdo da dashboard para a direita do drawer */
  .ck-host .dash-main { padding-left: 700px !important; }

  /* drawer ancorado após a sidebar (272px) */
  .ck-page-drawer {
    inset: 0 auto 0 272px;
    width: 408px;
    border-right: 1px solid #eef0f2;
    box-shadow: 22px 0 50px rgba(16, 24, 40, 0.07);
  }

  .ck-page-drawer .ck-drawer-inner {
    max-width: none;
    margin: 0;
    gap: 12px;
    padding: 12px 22px 28px;
  }

  /* conteúdo liso dentro do drawer (sem moldura de card) */
  .ck-host .ck-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 0;
  }

  .ck-host .ck-header {
    border-bottom: 1px solid #eef0f2;
    padding: 6px 0 12px;
    margin-bottom: 2px;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Página Carteira / Depósito — tema escuro (escopo .wl)
═══════════════════════════════════════════════════════════════ */
.wl {
  --wl-bg:     #0b1219;
  --wl-card:   #121d28;
  --wl-line:   #1e2c3a;
  --wl-txt:    #ffffff;
  --wl-muted:  #7b8a9a;
  --wl-green:  #16c47f;
  --wl-green2: #1ed98d;
  --wl-teal:   #14b8a6;

  min-height: 100vh;
  background: var(--wl-bg);
  color: var(--wl-txt);
  padding-bottom: 90px;
}

.wl__wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ═══ Topo: e-mail da conta ═══ */
.wl__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wl__acc {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}
.wl__acc:disabled { cursor: default; }

.wl__acc-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--wl-green);
}
.wl__acc-ic svg { width: 18px; height: 18px; }

.wl__acc-email {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
}

.wl__acc-copy {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--wl-green);
}

.wl__topbar-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wl__topbar-ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--wl-muted);
  cursor: pointer;
}
.wl__topbar-ic:hover { color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.wl__topbar-ic svg { width: 16px; height: 16px; }

/* ═══ Card de saldo ═══ */
.wl__card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px;
  background: url('/images/wallet-card-bg.jpg') center / cover no-repeat,
    linear-gradient(160deg, #16222e 0%, #101922 60%, #0d151d 100%);
  border: 1px solid var(--wl-line);
}

.wl__card-glow {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
  pointer-events: none;
}

.wl__label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--wl-muted);
}

.wl__total {
  display: block;
  margin: 4px 0 16px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
}

.wl__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wl__btn {
  height: 44px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.wl__btn:hover { transform: translateY(-1px); }

.wl__btn--out {
  background: transparent;
  border: 1.5px solid var(--wl-teal);
  color: #4fd6c7;
}
.wl__btn--out:hover { background: rgba(20, 184, 166, 0.1); }

.wl__btn--fill {
  background: linear-gradient(135deg, #17b39c, #0e8f7e);
  border: none;
  color: #ffffff;
}
.wl__btn--fill:hover { filter: brightness(1.08); }

.wl__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--wl-line);
}

.wl__sub-val {
  display: block;
  margin-top: 2px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.wl__btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
  flex-shrink: 0;
}

/* ═══ Banner de foto promocional (gerenciado no admin) ═══ */
.wl__photo-banner {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.wl__photo-banner-link { display: block; }

.wl__photo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══ Transações ═══ */
.wl__tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--wl-txt);
}

.wl__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: none;
  background: transparent;
  color: var(--wl-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.wl__more svg { width: 15px; height: 15px; }
.wl__more:hover { color: #c9d5e1; }

.wl__tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wl__tx-empty {
  text-align: center;
  padding: 40px 10px;
  color: var(--wl-muted);
  font-size: 0.86rem;
}

.wl__tx {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 15px;
  border-radius: 11px;
  background: var(--wl-card);
  border: 1px solid var(--wl-line);
}

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

.wl__tx-title {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wl-txt);
}
.wl__tx-title svg { width: 15px; height: 15px; color: var(--wl-muted); }

.wl__tx-amt { font-size: 0.95rem; font-weight: 800; color: #ff8fa0; white-space: nowrap; }
.wl__tx-amt.is-pos { color: var(--wl-green2); }

.wl__tx-date { font-size: 0.74rem; color: var(--wl-muted); }

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

.wl__tx-order-code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem;
  color: var(--wl-muted);
}

.wl__tx-order button {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--wl-green2);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* ═══ QR do PIX inline (bottom sheet de depósito) ═══ */
.wds__pixresult { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wds__pixresult-amt { font-size: 0.88rem; color: #94a3b8; margin: 0 0 14px; }
.wds__pixresult-amt b { color: #fff; font-weight: 800; }
.wds__pixresult-qr {
  width: 220px; height: 220px;
  display: grid; place-items: center;
  padding: 12px; border-radius: 14px; background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.wds__pixresult-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wds__pixresult-txt { margin: 14px 0 0; font-size: 0.8rem; color: #cbd5e1; max-width: 300px; }

.wds__pixresult-code {
  display: flex; align-items: center; gap: 8px;
  width: 100%; margin-top: 14px;
  border: 1px solid #334155; border-radius: 10px; background: rgba(17, 24, 39, 0.8);
  padding: 4px 4px 4px 12px;
}
.wds__pixresult-code span {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.78rem; color: #cbd5e1; text-align: left;
}
.wds__pixresult-code button {
  flex-shrink: 0; border: none; border-radius: 8px;
  background: #34d399; color: #0f172a;
  font-size: 0.8rem; font-weight: 700; padding: 9px 15px; cursor: pointer;
}
.wds__pixresult-code button:hover { background: #6ee7b7; }

.wds__hint--ok { color: #4fd6c7; margin-top: 14px; }
.wds__pixresult .wds__submit { margin-top: 6px; }

/* Info (bloco "Pagamento automático") */
.wds__info {
  border-radius: 8px; border: 1px solid #1e293b; background: #0f172a;
  padding: 12px 14px;
}
.wds__info-title { margin: 0 0 4px; font-size: 0.82rem; font-weight: 700; color: #fff; }
.wds__info p:not(.wds__info-title) { margin: 0; font-size: 0.74rem; line-height: 1.5; color: #94a3b8; }

/* ═══════════════════════════════════════════════════════════════
   Retirada — bottom sheet (escopo .wds)
═══════════════════════════════════════════════════════════════ */
.wds-back {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.wds {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 672px;
  max-height: 94dvh;
  background: #0d111a;
  color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  animation: wds-up 0.2s ease-out;
}

@keyframes wds-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.wds__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d111a;
}
.wds__head h2 { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.wds__head button {
  border: none; background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 2px;
}
.wds__head button svg { width: 20px; height: 20px; }
.wds__head .wds__x { color: rgba(255, 255, 255, 0.6); }

.wds__scroll {
  flex: 1;
  overflow-y: auto;
  background: #101521;
  padding-bottom: 20px;
}

.wds__tab {
  padding: 10px 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(17, 24, 39, 0.8);
  border-bottom: 1.5px solid rgba(52, 211, 153, 0.7);
}

.wds__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.wds__sec { display: flex; flex-direction: column; }
.wds__lbl-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.wds__lbl { font-size: 0.86rem; font-weight: 500; color: #d1d5db; }
.wds__note { font-size: 0.66rem; color: #6b7280; text-align: right; white-space: nowrap; }

/* Caixas gerais (saldo, receberei) */
.wds__box {
  border-radius: 8px;
  border: 1px solid #334155;
  background: rgba(17, 24, 39, 0.8);
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.wds__box-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wds__mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-weight: 700; color: #fff; }
.wds__mono--lg { font-size: 1.25rem; }
.wds__mono--green { color: #34d399; }
.wds__cur { font-size: 0.9rem; font-weight: 700; color: #fff; }
.wds__box-hint { margin: 6px 0 0; font-size: 0.68rem; line-height: 1.35; color: #94a3b8; }

/* Caixa com chips selecionáveis (saldo de origem / método) */
.wds__box--chips { display: flex; gap: 12px; padding: 12px; background: #0f172a; border-color: #1e293b; }
.wds__chip {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wds__chip b { font-size: 0.76rem; font-weight: 700; color: #94a3b8; }
.wds__chip.is-active { border-color: #34d399; background: rgba(52, 211, 153, 0.08); color: #34d399; }
.wds__chip.is-active b { color: #34d399; }

/* Chave PIX cadastrada */
.wds__pixinfo {
  border-radius: 8px; border: 1px solid #1e293b; background: #0f172a; padding: 12px;
}
.wds__pixinfo p { margin: 0; font-size: 0.8rem; font-weight: 600; color: #fff; }
.wds__pixinfo-key { margin-top: 4px !important; font-size: 0.76rem !important; font-weight: 500 !important; color: #94a3b8 !important; }

/* Sem chave cadastrada */
.wds__empty {
  border-radius: 8px; border: 1px dashed #334155; background: rgba(15, 23, 42, 0.6);
  padding: 14px 12px; text-align: center;
}
.wds__empty-ic {
  width: 36px; height: 36px; margin: 0 auto;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(52, 211, 153, 0.1); color: #34d399;
}
.wds__empty-ic svg { width: 16px; height: 16px; }
.wds__empty-title { margin: 10px 0 0; font-size: 0.86rem; font-weight: 600; color: #fff; }
.wds__empty-txt { margin: 4px 0 0; font-size: 0.76rem; line-height: 1.4; color: #9ca3af; }
.wds__empty button {
  margin-top: 10px; border: none; background: transparent;
  color: #34d399; font-size: 0.86rem; font-weight: 600; cursor: pointer;
}
.wds__empty button:hover { text-decoration: underline; }

/* Inputs (endereço / valor) */
.wds__input {
  position: relative;
  border-radius: 8px; border: 1px solid #334155; background: rgba(17, 24, 39, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s ease;
}
.wds__input:focus-within { border-color: #64748b; }
.wds__input input {
  width: 100%; height: 44px; padding: 0 14px;
  border: none; background: transparent; outline: none;
  color: #fff; font-size: 0.9rem;
}
.wds__input input::placeholder { color: #64748b; }
.wds__input--amt input { height: 52px; padding-right: 56px; font-family: ui-monospace, monospace; font-size: 1.25rem; font-weight: 600; }
.wds__cur--suffix {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  pointer-events: none; font-size: 0.86rem; font-weight: 700; color: #fff;
}

.wds__hint { margin: 6px 0 0; font-size: 0.68rem; color: #64748b; }

.wds__warn {
  border-radius: 8px; border: 1px solid #1e293b; background: rgba(15, 23, 42, 0.7);
  padding: 8px 12px; font-size: 0.68rem; line-height: 1.4; color: #cbd5e1;
}

.wds__err { margin: 0; font-size: 0.78rem; color: #ff8fa0; }

.wds__submit {
  height: 44px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 6px;
  background: #34d399; color: #0f172a;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease;
}
.wds__submit:hover:not(:disabled) { background: #6ee7b7; }
.wds__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ═══ Barra inferior (tema escuro) ═══ */
.wl .bd-bottomnav {
  background: #0d1620;
  border-top: 1px solid var(--wl-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
}
.wl .bd-bottomnav .bd-nav-item { color: var(--wl-muted); }
.wl .bd-bottomnav .bd-nav-item.active { color: var(--wl-green); }
.wl .bd-bottomnav .bd-nav-item.active svg {
  color: #35e68a;
  filter: drop-shadow(0 0 10px rgba(53, 230, 138, 0.45));
}

/* Desktop: cartão central */
@media (min-width: 860px) {
  .wl { padding-bottom: 40px; }
  .wl__wrap { max-width: 560px; padding-top: 28px; }
  .wl .bd-bottomnav { display: none; }
}
/* ═══════════════════════════════════════════════════════════════
   Página Equipe / Indicação — tema escuro (escopo .eq)
═══════════════════════════════════════════════════════════════ */
.eq {
  --eq-bg:    #0b1219;
  --eq-card:  #121d28;
  --eq-line:  #1e2c3a;
  --eq-txt:   #ffffff;
  --eq-muted: #7b8a9a;
  --eq-green: #16c47f;
  --eq-red:   #f6465d;

  min-height: 100vh;
  background: var(--eq-bg);
  color: var(--eq-txt);
  padding-bottom: 90px;
}

.eq__wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ═══ Cabeçalho ═══ */
.eq__hero {
  position: relative;
  padding: 18px 18px 16px;
  background: linear-gradient(120deg, #1b3a8f 0%, #2456b8 55%, #2f6fd0 100%);
  overflow: hidden;
}

.eq__rules-link {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  color: #dbe7ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Painel: emblema (com brilhos) + taxas por nível ── */
.eq__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 46px;          /* espaço para o emblema "saltar" para cima */
  min-height: 88px;
  padding: 0 8px 4px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e9f0fb 0%, #cfdcf1 55%, #bccfeb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Coluna do emblema */
.eq__badge-col {
  position: relative;
  width: 124px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  transform: translate(10px, 6px);
}

.eq__badge-img,
.eq__badge-fallback {
  position: relative;
  z-index: 10;
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-top: -62px;         /* o emblema sobe para fora do painel */
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28)) brightness(1.04) saturate(1.08);
}
.eq__badge-fallback svg { width: 150px; height: 150px; display: block; }

/* Camadas de brilho atrás do emblema */
.eq__glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.eq__glow--circle {
  bottom: 30px;
  width: 128px;
  height: 128px;
  background: radial-gradient(circle, rgba(255,255,255,0.34), rgba(142,188,255,0.15) 55%, transparent 75%);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
  filter: blur(0.5px);
  z-index: 1;
}
.eq__glow--white {
  bottom: 72px;
  width: 80px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(20px);
  z-index: 2;
}
.eq__glow--lime {
  bottom: 8px;
  width: 56px;
  height: 32px;
  border-radius: 0 0 999px 999px;
  background: rgba(190, 242, 100, 0.42);
  filter: blur(1px);
  z-index: 3;
}

/* Taxas por nível */
.eq__rates {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 7px;
  padding-right: 12px;
  text-align: center;
}
.eq__rate { min-width: 0; padding: 0 4px; }
.eq__rate-val {
  margin: 0;
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  color: #151936;
}
.eq__rate-lbl {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #20284f;
}

/* Fita + mão "Convide amigos", flutuando perto do link Regras */
.eq__promo {
  position: absolute;
  top: 34px;
  right: 4px;
  z-index: 5;
  width: 150px;
  height: 54px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}
.eq__promo-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eq__promo-copy {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #0d3320;
  pointer-events: none;
}
.eq__promo-pct {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.eq__promo-lbl {
  margin-top: 2px;
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1.25;
}

/* Ícone de ajuda "?" ao lado de alguns rótulos */
.eq__hint {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-left: 5px;
  border-radius: 50%;
  border: 1px solid var(--eq-muted);
  color: var(--eq-muted);
  font-size: 9px;
  font-weight: 700;
  cursor: help;
  vertical-align: middle;
}

/* ═══ Resumo de comissão ═══ */
.eq__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin: 0 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--eq-card);
  border: 1px solid var(--eq-line);
}

.eq__stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eq__stat--full { grid-column: 1 / -1; }
.eq__stat-lbl { font-size: 0.76rem; color: var(--eq-muted); }
.eq__stat-val { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.4px; }

.eq__link {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--eq-green);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 1px;
}
.eq__link--red { color: var(--eq-red); }
.eq__link:hover { filter: brightness(1.15); }

/* ═══ Botões de ação ═══ */
.eq__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 14px;
}

.eq__cta-copy, .eq__cta-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border: none;
  border-radius: 11px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease;
}
.eq__cta-copy svg, .eq__cta-more svg { width: 18px; height: 18px; }
.eq__cta-copy { background: linear-gradient(135deg, #23c56b, #16a34a); }
.eq__cta-more { background: linear-gradient(135deg, #ff7a45, #f0562a); }
.eq__cta-copy:hover, .eq__cta-more:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ═══ Tabela por nível ═══ */
.eq__table { margin: 0 14px; }

.eq__table-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.eq__tab {
  border: none;
  border-radius: 8px;
  background: var(--eq-card);
  color: var(--eq-muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.eq__tab.is-active { background: #2f6fd0; color: #fff; }

.eq__table-detail {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--eq-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.eq__table-detail:hover { color: #c9d5e1; }

.eq__grid {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--eq-line);
}

.eq__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 14px;
  font-size: 0.86rem;
  color: #d3dbe4;
  background: var(--eq-card);
  border-bottom: 1px solid var(--eq-line);
}
.eq__row:last-child { border-bottom: none; }
.eq__row span:not(.eq__row-lbl) { text-align: center; font-weight: 700; color: #fff; }

.eq__row--head { background: #16232f; color: var(--eq-muted); font-weight: 600; }
.eq__row--head span:not(:first-child) { color: var(--eq-muted); font-weight: 600; }

.eq__row-lbl { color: var(--eq-muted); }

/* ═══ Regras ═══ */
.eq__rules {
  margin: 4px 14px 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--eq-card);
  border: 1px solid var(--eq-line);
}
.eq__rules h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; color: #fff; }
.eq__rules p { margin: 0 0 10px; font-size: 0.84rem; line-height: 1.55; color: #b9c5d2; }
.eq__rules p:last-child { margin-bottom: 0; }
.eq__rules strong { color: var(--eq-green); }

/* ═══ Barra inferior (tema escuro) ═══ */
.eq .bd-bottomnav {
  background: #0d1620;
  border-top: 1px solid var(--eq-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
}
.eq .bd-bottomnav .bd-nav-item { color: var(--eq-muted); }
.eq .bd-bottomnav .bd-nav-item.active { color: var(--eq-green); }
.eq .bd-bottomnav .bd-nav-item.active svg {
  color: #35e68a;
  filter: drop-shadow(0 0 10px rgba(53, 230, 138, 0.45));
}

/* Desktop */
@media (min-width: 860px) {
  .eq { padding-bottom: 40px; }
  .eq__wrap { max-width: 620px; }
  .eq__hero { border-radius: 0 0 16px 16px; }
  .eq .bd-bottomnav { display: none; }
}

/* ═══ Tela cheia: tabela de comissão por nível (Regras) ═══ */
.eq__rules-modal {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  flex-direction: column;
  background: #020617;
  color: #fff;
}

.eq__rules-modal-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 10px) 14px 12px;
  border-bottom: 1px solid #1e293b;
  background: rgba(15, 23, 42, 0.9);
}

.eq__rules-modal-back,
.eq__rules-modal-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  border-radius: 50%;
}
.eq__rules-modal-back svg,
.eq__rules-modal-close svg { width: 20px; height: 20px; }
.eq__rules-modal-back:hover,
.eq__rules-modal-close:hover { background: rgba(255, 255, 255, 0.06); }

.eq__rules-modal-close { margin-left: auto; }

.eq__rules-modal-title-main {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.eq__rules-modal-title-sub {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: #94a3b8;
}

.eq__rules-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px calc(env(safe-area-inset-bottom) + 16px);
}

.eq__rules-modal-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--eq-muted);
}

.eq__rules-table-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1b2746;
  background: #10162d;
}

.eq__rules-table-scroll {
  overflow-x: auto;
}

.eq__rules-table-min {
  min-width: 560px;
}

.eq__rules-table-row {
  display: grid;
  grid-template-columns: 68px 100px 120px 150px 100px 90px;
  border-bottom: 1px solid #1d2a4d;
  text-align: center;
}
.eq__rules-table-row:last-child { border-bottom: none; }
.eq__rules-table-row:not(.eq__rules-table-row--head):nth-child(even) { background: #16213d; }
.eq__rules-table-row:not(.eq__rules-table-row--head) { background: #111832; }

.eq__rules-table-row--head {
  background: #151d38;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.eq__rules-table-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border-right: 1px solid #1d2a4d;
  min-height: 36px;
}
.eq__rules-table-cell:last-child { border-right: none; }

.eq__rules-table-cell--sticky {
  position: sticky;
  left: 0;
  background: inherit;
}

.eq__rules-table-badge img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
}

.eq__rules-table-comm {
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  padding: 8px 10px;
}
.eq__rules-table-comm div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.7rem;
}
.eq__rules-table-comm span { color: #cbd5e1; font-weight: 600; }
.eq__rules-table-comm strong { color: #fff; font-family: ui-monospace, monospace; }

.eq__rules-table-cell--num {
  font-family: ui-monospace, monospace;
  font-weight: 800;
  color: #fff;
  font-size: 0.82rem;
}

.eq__rules-table-usdt {
  flex-direction: column;
  gap: 2px;
}
.eq__rules-table-usdt p {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6ee7b7;
}
.eq__rules-table-usdt span {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
}
/* ═══════════════════════════════════════════════════════════════
   Página Trading (gráfico de velas simulado) — escopo .tr
═══════════════════════════════════════════════════════════════ */
.tr {
  --tr-bg:    #0a0f16;
  --tr-panel: #0f1620;
  --tr-line:  #1c2733;
  --tr-txt:   #e8eef5;
  --tr-muted: #6f7d8c;
  --tr-green: #16c784;
  --tr-red:   #ea3943;

  min-height: 100vh;
  background: var(--tr-bg);
  color: var(--tr-txt);
  padding-bottom: 84px;
}

.tr__wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ═══ Topo ═══ */
.tr__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tr__bal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--tr-muted);
}
.tr__bal strong { color: var(--tr-txt); font-weight: 700; font-size: 0.82rem; }
.tr__bal-ic {
  display: grid; place-items: center;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--tr-green); color: #04150e; font-size: 10px; font-weight: 900;
}

.tr__pair {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: var(--tr-txt);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.tr__pair svg { width: 16px; height: 16px; }

.tr__pair-menu {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  background: var(--tr-panel);
  border: 1px solid var(--tr-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.tr__pair-menu button {
  border: none;
  background: transparent;
  color: var(--tr-txt);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 14px;
  text-align: left;
  cursor: pointer;
}
.tr__pair-menu button:hover { background: rgba(255, 255, 255, 0.05); }
.tr__pair-menu button.is-active { color: var(--tr-green); }

.tr__refresh {
  width: 34px; height: 30px;
  display: grid; place-items: center;
  border: none; border-radius: 8px;
  background: #2f6fe0; color: #fff; cursor: pointer;
}
.tr__refresh svg { width: 17px; height: 17px; }

/* ═══ Preço ═══ */
.tr__price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.tr__price { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.tr__price.up { color: var(--tr-green); }
.tr__price.down { color: var(--tr-red); }

.tr__price-sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.tr__price-sub .up { color: var(--tr-green); font-size: 0.82rem; font-weight: 700; }
.tr__price-sub .down { color: var(--tr-red); font-size: 0.82rem; font-weight: 700; }

.tr__live {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(22, 199, 132, 0.16); color: var(--tr-green);
  font-size: 0.68rem; font-weight: 700;
}
.tr__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--tr-green); animation: tr-blink 1.2s infinite; }
@keyframes tr-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.tr__source { text-align: right; }
.tr__source-lbl { display: block; font-size: 0.66rem; color: var(--tr-muted); }
.tr__source strong { font-size: 0.86rem; font-weight: 800; color: #c7d2dd; letter-spacing: 0.04em; }

/* ═══ Timeframes ═══ */
.tr__tfs { display: flex; gap: 16px; padding: 2px 2px 4px; border-bottom: 1px solid var(--tr-line); }
.tr__tf {
  border: none; background: transparent;
  color: var(--tr-muted); font-size: 0.82rem; font-weight: 700;
  padding: 4px 2px 8px; cursor: pointer; position: relative;
}
.tr__tf.is-active { color: var(--tr-txt); }
.tr__tf.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #2f6fe0; border-radius: 2px;
}

/* ═══ Controles ═══ */
.tr__ctrls { display: flex; align-items: center; gap: 6px; }
.tr__ctrls button {
  width: 28px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--tr-line); border-radius: 6px;
  background: var(--tr-panel); color: var(--tr-muted); cursor: pointer;
}
.tr__ctrls button:hover { color: var(--tr-txt); border-color: #2c3a49; }
.tr__ctrls button svg { width: 15px; height: 15px; }
.tr__counter {
  margin-left: auto;
  font-size: 0.74rem; color: var(--tr-muted);
  border: 1px solid var(--tr-line); border-radius: 6px; padding: 4px 8px;
}

/* ═══ Gráfico ═══ */
.tr__chart {
  background: radial-gradient(circle at 50% 40%, rgba(22, 199, 132, 0.06), transparent 70%), var(--tr-panel);
  border: 1px solid var(--tr-line);
  border-radius: 8px;
  padding: 4px 2px 2px;
}
.tr__svg { width: 100%; height: 300px; display: block; }

.tr__grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.tr__ylabel { fill: var(--tr-muted); font-size: 8px; }

.tr__c.up .tr__wick, .tr__c.up .tr__body { stroke: var(--tr-green); fill: var(--tr-green); }
.tr__c.down .tr__wick, .tr__c.down .tr__body { stroke: var(--tr-red); fill: var(--tr-red); }
.tr__wick { stroke-width: 1; }
.tr__body { stroke-width: 0.5; }

.tr__price-line { stroke: var(--tr-red); stroke-width: 1; opacity: 0.8; }
.tr__price-tag { fill: var(--tr-red); }
.tr__price-tag-txt { fill: #fff; font-size: 8.5px; font-weight: 700; text-anchor: middle; }

.tr__xaxis {
  display: flex;
  justify-content: space-between;
  padding: 3px 52px 2px 6px;
  font-size: 0.64rem;
  color: var(--tr-muted);
}

/* ═══ Comprar / Vender ═══ */
.tr__trade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.tr__buy, .tr__sell {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  border: none; border-radius: 8px; padding: 10px; cursor: pointer;
  color: #fff; transition: filter 0.16s ease;
}
.tr__buy span, .tr__sell span { font-size: 0.98rem; font-weight: 800; }
.tr__buy small, .tr__sell small { font-size: 0.8rem; font-weight: 700; opacity: 0.92; }
.tr__buy { background: linear-gradient(135deg, #1ad598, #12b07e); }
.tr__sell { background: linear-gradient(135deg, #ff7a45, #ef4b2b); }
.tr__buy:hover, .tr__sell:hover { filter: brightness(1.07); }

/* ═══ Abas de ordens ═══ */
.tr__otabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tr__otab {
  border: 1px solid var(--tr-line); border-radius: 7px;
  background: var(--tr-panel); color: var(--tr-muted);
  font-size: 0.82rem; font-weight: 700; padding: 9px 4px; cursor: pointer;
}
.tr__otab.is-active { color: var(--tr-txt); border-color: #2c3a49; background: #16202b; }

/* ═══ Take profit / Stop loss ═══ */
.tr__pset { display: flex; flex-direction: column; gap: 7px; }
.tr__pset-lbl { margin: 2px 0 0; font-size: 0.82rem; font-weight: 700; color: var(--tr-txt); }
.tr__pset-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.tr__pbtn {
  border: 1px solid var(--tr-line); border-radius: 6px;
  background: var(--tr-panel); color: var(--tr-muted);
  font-size: 0.76rem; font-weight: 700; padding: 9px 2px; cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.tr__pbtn:hover { color: var(--tr-txt); }
.tr__pbtn.is-active { border-color: var(--tr-green); color: var(--tr-green); background: rgba(22, 199, 132, 0.1); }
.tr__pbtn--sl.is-active { border-color: var(--tr-red); color: var(--tr-red); background: rgba(234, 57, 67, 0.1); }

/* ═══ Crosshair + tooltip ═══ */
.tr__chart { position: relative; touch-action: none; }
.tr__cross { stroke: rgba(255, 255, 255, 0.4); stroke-width: 0.7; stroke-dasharray: 3 3; }
.tr__pos-line.up { stroke: var(--tr-green); opacity: 0.7; stroke-width: 0.8; }
.tr__pos-line.down { stroke: var(--tr-red); opacity: 0.7; stroke-width: 0.8; }

.tr__tip {
  position: absolute;
  top: 6px; left: 6px;
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 5px 8px; border-radius: 6px;
  background: rgba(9, 15, 22, 0.9);
  border: 1px solid var(--tr-line);
  font-size: 0.66rem; color: #cdd8e3;
  pointer-events: none;
}
.tr__tip span { color: var(--tr-muted); margin-right: 2px; }
.tr__tip b { color: var(--tr-muted); font-weight: 600; margin-left: 4px; }
.tr__tip em { font-style: normal; font-weight: 700; }
.tr__tip em.up { color: var(--tr-green); }
.tr__tip em.down { color: var(--tr-red); }

/* ═══ Valor da operação ═══ */
.tr__amount { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr__amount-lbl { font-size: 0.8rem; color: var(--tr-muted); font-weight: 600; }
.tr__amount-ctrl {
  display: flex; align-items: center;
  border: 1px solid var(--tr-line); border-radius: 8px; overflow: hidden; background: var(--tr-panel);
}
.tr__amount-ctrl button {
  width: 34px; height: 36px; border: none; background: transparent;
  color: var(--tr-txt); font-size: 1.2rem; cursor: pointer;
}
.tr__amount-ctrl button:hover { background: rgba(255, 255, 255, 0.05); }
.tr__amount-ctrl input {
  width: 74px; height: 36px; border: none; background: transparent;
  color: #fff; font-size: 0.95rem; font-weight: 700; text-align: center; outline: none;
}
.tr__amount-presets { display: flex; gap: 6px; margin-left: auto; }
.tr__amount-presets button {
  border: 1px solid var(--tr-line); border-radius: 6px; background: var(--tr-panel);
  color: var(--tr-muted); font-size: 0.76rem; font-weight: 700; padding: 7px 11px; cursor: pointer;
}
.tr__amount-presets button.is-active { border-color: #2f6fe0; color: #6ea8ff; background: rgba(47, 111, 224, 0.12); }

/* ═══ Badge nas abas ═══ */
.tr__otab { position: relative; }
.tr__otab-badge {
  display: inline-grid; place-items: center;
  min-width: 16px; height: 16px; margin-left: 5px; padding: 0 4px;
  border-radius: 8px; background: #2f6fe0; color: #fff; font-size: 0.62rem; font-weight: 800;
}

/* ═══ Painel das abas ═══ */
.tr__panel { display: flex; flex-direction: column; gap: 8px; min-height: 48px; }
.tr__empty { text-align: center; padding: 22px 10px; color: var(--tr-muted); font-size: 0.82rem; }

.tr__order {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 9px;
  background: var(--tr-panel); border: 1px solid var(--tr-line);
}
.tr__order-l { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tr__order-l strong { font-size: 0.86rem; color: #fff; }
.tr__order-l small { font-size: 0.68rem; color: var(--tr-muted); }
.tr__order-side {
  align-self: flex-start; padding: 1px 6px; border-radius: 4px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em;
}
.tr__order-side.buy { background: rgba(22, 199, 132, 0.16); color: var(--tr-green); }
.tr__order-side.sell { background: rgba(234, 57, 67, 0.16); color: var(--tr-red); }
.tr__order-r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.tr__order-r strong, .tr__order strong.up { color: var(--tr-green); }
.tr__order strong.down { color: var(--tr-red); }
.tr__order-r strong { font-size: 0.98rem; font-weight: 800; }
.tr__order-close {
  border: 1px solid var(--tr-line); border-radius: 6px; background: transparent;
  color: var(--tr-muted); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; cursor: pointer;
}
.tr__order-close:hover { color: #fff; border-color: #2c3a49; }

/* Lista de pares */
.tr__pairs { display: flex; flex-direction: column; gap: 6px; }
.tr__pairrow {
  display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 8px;
  padding: 11px 13px; border-radius: 9px; cursor: pointer; text-align: left;
  background: var(--tr-panel); border: 1px solid var(--tr-line); color: #fff;
}
.tr__pairrow.is-active { border-color: #2f6fe0; }
.tr__pairrow strong { font-size: 0.86rem; }
.tr__pairrow-p { font-size: 0.84rem; font-weight: 700; text-align: right; }
.tr__pairrow-c { font-size: 0.78rem; font-weight: 700; text-align: right; }
.tr__pairrow-c.up { color: var(--tr-green); }
.tr__pairrow-c.down { color: var(--tr-red); }

/* ═══ Toast ═══ */
.tr__toast {
  position: fixed;
  left: 50%; bottom: 96px; transform: translateX(-50%);
  z-index: 2000;
  max-width: 92%;
  padding: 11px 16px; border-radius: 10px;
  background: #16202b; border: 1px solid var(--tr-line); color: #e8eef5;
  font-size: 0.82rem; font-weight: 600; text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: tr-toast 0.24s ease;
}
@keyframes tr-toast { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ═══ Barra inferior (tema escuro) ═══ */
.tr .bd-bottomnav {
  background: #0c131b;
  border-top: 1px solid var(--tr-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
}
.tr .bd-bottomnav .bd-nav-item { color: var(--tr-muted); }
.tr .bd-bottomnav .bd-nav-item.active { color: var(--tr-green); }
.tr .bd-bottomnav .bd-nav-item.active svg {
  color: #16c784;
  filter: drop-shadow(0 0 10px rgba(22, 199, 132, 0.45));
}

@media (min-width: 860px) {
  .tr { padding-bottom: 30px; }
  .tr__wrap { max-width: 620px; padding-top: 18px; }
  .tr .bd-bottomnav { display: none; }
}
/* ═══════════════════════════════════════════════════════════════
   VIP — tema laranja TRK
═══════════════════════════════════════════════════════════════ */

.vip-page {
  min-height: 100vh;
  padding: 24px 16px 100px;
  color: #5a3d1a;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  position: relative;
  z-index: 2;
}

.vip-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(#fff5eb, #fec075);
  z-index: -1;
  pointer-events: none;
}

.vip-shell {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

/* ── Hero banner VIP ─────────────────────────────────── */
.vip-hero {
  position: relative;
  border-radius: 22px;
  padding: 28px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(135deg, #ff8a03 0%, #f7a93b 55%, #f7d981 100%);
  box-shadow: 0 20px 44px rgba(255, 138, 3, 0.3);
  color: #ffffff;
  overflow: hidden;
}

.vip-hero::before,
.vip-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.vip-hero::before {
  width: 180px;
  height: 180px;
  right: -50px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
}

.vip-hero::after {
  width: 140px;
  height: 140px;
  left: -40px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.vip-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.vip-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin: 10px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vip-hero__badge svg {
  flex-shrink: 0;
}

.vip-hero__content > div {
  text-align: center;
}

.vip-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.vip-hero h1 {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 8px rgba(180, 83, 9, 0.4);
}

.vip-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(120, 53, 15, 0.25);
}

.vip-back {
  align-self: flex-start;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #ff8a03;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(255, 138, 3, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vip-back:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ── Mensagens e estados ─────────────────────────────── */
.vip-message {
  margin: 0;
  border: 1px solid rgba(255, 138, 3, 0.45);
  background: rgba(255, 138, 3, 0.12);
  color: #8a5300;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.vip-loading {
  border: 1px solid rgba(255, 138, 3, 0.25);
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  color: #8a5300;
  font-weight: 600;
  text-align: center;
}

/* ── Seções VIP ─────────────────────────────────────── */
.vip-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #5a3d1a;
  letter-spacing: 0.2px;
}

.vip-section-title svg {
  color: #ff8a03;
  flex-shrink: 0;
}

.vip-active-section {
  display: grid;
  gap: 12px;
}

.vip-active-section .vip-card {
  max-width: 480px;
}

.vip-available-section {
  display: grid;
  gap: 12px;
}

/* ── Grid de planos VIP ──────────────────────────────── */
.vip-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.vip-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.10);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}

.vip-card:hover {
  transform: translateY(-3px);
  border-color: #ff8a03;
  box-shadow: 0 16px 36px rgba(255, 138, 3, 0.22);
}

.vip-card.active {
  border-color: #ff8a03;
  box-shadow: 0 16px 36px rgba(255, 138, 3, 0.28);
}

/* ── Imagem do VIP ── */
.vip-card__img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
}

.vip-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vip-card__img-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, rgba(255, 138, 3, 0.92), rgba(255, 179, 71, 0.92));
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(255, 138, 3, 0.35);
}

.vip-card__img-active {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(45, 122, 58, 0.90);
  color: #ffffff;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(45, 122, 58, 0.30);
}

/* ── Corpo do card ── */
.vip-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.vip-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vip-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.vip-price small {
  color: #8a6b3f;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vip-card-top strong {
  color: #ff8a03;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* ── Info rows (texto com ícones) ── */
.vip-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-card__info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff8ef;
  border: 1px solid rgba(255, 138, 3, 0.12);
  font-size: 0.88rem;
  color: #5a3d1a;
  font-weight: 500;
}

.vip-card__info-row svg {
  color: #ff8a03;
  flex-shrink: 0;
}

.vip-card__info-row strong {
  font-weight: 800;
  color: #5a3d1a;
}

.vip-card__info-row--highlight {
  background: linear-gradient(135deg, #fff5eb, #ffecd0);
  border-color: rgba(255, 138, 3, 0.22);
}

.vip-card__info-row--highlight strong {
  color: #ff8a03;
}

/* ── Benefícios (texto livre) ── */
.vip-card__benefits {
  margin: 0;
  font-size: 0.84rem;
  color: #8a6b3f;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 138, 3, 0.05);
  border-left: 3px solid rgba(255, 138, 3, 0.35);
}

/* ── Botão de ativar ── */
.vip-btn {
  margin-top: auto;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  background: linear-gradient(90deg, #f7d981, #ff8a03);
  color: #ffffff;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 22px rgba(255, 138, 3, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vip-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.vip-btn:disabled {
  background: #ffe1b8;
  color: #8a6b3f;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.9;
}

.vip-card.active .vip-btn:disabled {
  background: linear-gradient(90deg, #8a5300, #ff8a03);
  color: #ffffff;
  opacity: 1;
}

/* ── VIPs desativados ────────────────────────────────── */
.vip-disabled-section {
  display: grid;
  gap: 12px;
}

.vip-section-title--disabled {
  color: #8a6b3f;
}

.vip-section-title--disabled svg {
  color: #b09070;
}

.vip-card--disabled {
  opacity: 0.55;
  filter: grayscale(0.4);
  border-color: rgba(150, 130, 100, 0.25);
  box-shadow: 0 4px 12px rgba(150, 130, 100, 0.08);
}

.vip-card--disabled:hover {
  transform: none;
  border-color: rgba(150, 130, 100, 0.35);
  box-shadow: 0 4px 12px rgba(150, 130, 100, 0.12);
}

.vip-card__img-disabled {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(140, 100, 60, 0.85);
  color: #ffffff;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(140, 100, 60, 0.25);
}

.vip-btn--disabled {
  background: #d4c4a8 !important;
  color: #7a6a50 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ── Requisitos de convite ─────────────────────────────── */
.vip-requirements {
  background: linear-gradient(135deg, #fff8ef, #fff1de);
  border: 1px solid rgba(255, 138, 3, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
}

.vip-requirements__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a5300;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vip-requirements__title svg {
  color: #ff8a03;
  flex-shrink: 0;
}

.vip-requirements__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vip-requirements__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 138, 3, 0.18);
  border-radius: 10px;
  padding: 8px 6px;
}

.vip-requirements__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8a6b3f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vip-requirements__item strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ff8a03;
}

.vip-requirements__sub {
  font-size: 0.68rem;
  color: #8a6b3f;
  font-weight: 500;
}

/* ── Responsividade ──────────────────────────────────── */
@media (min-width: 720px) {
  .vip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vip-card__img-wrap {
    height: 180px;
  }
}

@media (min-width: 1000px) {
  .vip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vip-card__img-wrap {
    height: 190px;
  }
}

/* ── Bottom nav page-level color overrides ─────────── */
.vip-page .dash-bottom-nav button {
  color: #6b5a3f;
}

.vip-page .dash-bottom-nav button.active {
  background: rgba(255, 138, 3, 0.15);
  color: #ff8a03;
}

/* ── Sidebar (mesma aparência do Dashboard) ─────────── */
.vip-page .dash-sidebar {
  background: #ffffff;
  border-right: 1px solid rgba(122, 93, 58, 0.15);
  color: #5a3d1a;
}

.vip-page .dash-brand strong {
  color: #5a3d1a;
}

.vip-page .dash-brand small {
  color: #8a6b3f;
}

.vip-page .dash-nav-item {
  color: #6b5a3f;
}

.vip-page .dash-nav-item.active {
  background: rgba(255, 138, 3, 0.12);
  color: #ff8a03;
}

.vip-page .dash-nav-item:hover {
  background: rgba(255, 138, 3, 0.08);
}

.vip-page .dash-overlay {
  background: rgba(95, 61, 26, 0.4);
}

@media (max-width: 560px) {
  .vip-hero {
    padding: 22px 18px;
  }

  .vip-hero h1 {
    font-size: 1.6rem;
  }

  .vip-card__img-wrap {
    height: 160px;
  }

  .vip-card-top strong {
    font-size: 1.4rem;
  }
}
/* ═══════════════════════════════════════════════════════════════
   VIP Checkout — tema laranja TRK
═══════════════════════════════════════════════════════════════ */

.vip-checkout-page {
  min-height: 100vh;
  padding: 24px 16px 100px;
  color: #5a3d1a;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  position: relative;
  z-index: 2;
}

.vip-checkout-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(#fff5eb, #fec075);
  z-index: -1;
  pointer-events: none;
}

.vip-checkout-shell {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

/* ── Header ── */
.vip-checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vip-checkout-back {
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(255, 138, 3, 0.35);
  color: #ff8a03;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 138, 3, 0.18);
  transition: transform 0.15s ease;
}

.vip-checkout-back:hover {
  transform: translateY(-1px);
}

.vip-checkout-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #5a3d1a;
}

/* ── Mensagens ── */
.vip-checkout-message {
  border: 1px solid rgba(255, 138, 3, 0.45);
  background: rgba(255, 138, 3, 0.12);
  color: #8a5300;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.vip-checkout-message--success {
  border-color: rgba(45, 122, 58, 0.45);
  background: rgba(45, 122, 58, 0.10);
  color: #2d6e2e;
}

.vip-checkout-message--error {
  border-color: rgba(220, 53, 69, 0.45);
  background: rgba(220, 53, 69, 0.08);
  color: #9b2226;
}

.vip-checkout-loading {
  border: 1px solid rgba(255, 138, 3, 0.25);
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  color: #8a5300;
  font-weight: 600;
  text-align: center;
}

/* ── Card do plano ── */
.vip-checkout-plan-card {
  background: #ffffff;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.10);
}

.vip-checkout-plan-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.vip-checkout-plan-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vip-checkout-plan-name-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, rgba(255, 138, 3, 0.92), rgba(255, 179, 71, 0.92));
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(255, 138, 3, 0.35);
}

.vip-checkout-plan-body {
  padding: 18px 20px 20px;
}

/* ── Tabela de detalhes do plano ── */
.vip-checkout-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.vip-checkout-table th,
.vip-checkout-table td {
  text-align: left;
  padding: 11px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
}

.vip-checkout-table th {
  color: #8a6b3f;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fff8ef;
}

.vip-checkout-table td {
  color: #5a3d1a;
  font-weight: 600;
}

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

.vip-checkout-table .vip-checkout-highlight {
  color: #ff8a03;
  font-weight: 800;
}

/* ── Seção de comissões ── */
.vip-checkout-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #5a3d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.vip-checkout-section-title svg {
  color: #ff8a03;
}

.vip-checkout-commission-card {
  background: #ffffff;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.10);
  padding: 18px 20px;
  display: grid;
  gap: 14px;
}

.vip-checkout-commission-table {
  width: 100%;
  border-collapse: collapse;
}

.vip-checkout-commission-table th,
.vip-checkout-commission-table td {
  text-align: left;
  padding: 11px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
}

.vip-checkout-commission-table th {
  color: #8a6b3f;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fff8ef;
}

.vip-checkout-commission-table td {
  color: #5a3d1a;
  font-weight: 600;
}

.vip-checkout-commission-table tr:last-child td {
  border-bottom: none;
}

.vip-checkout-commission-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 138, 3, 0.12), rgba(255, 179, 71, 0.12));
  border: 1px solid rgba(255, 138, 3, 0.3);
  color: #ff8a03;
}

.vip-checkout-commission-percent {
  color: #ff8a03;
  font-weight: 800;
  font-size: 1rem;
}

.vip-checkout-commission-desc {
  margin: 0;
  color: #8a6b3f;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.vip-checkout-commission-table .vip-checkout-highlight {
  color: #ff8a03;
  font-weight: 800;
}

/* ── Bloco de explicação ── */
.vip-checkout-explanation {
  background: linear-gradient(135deg, #fff8ef, #fff3e0);
  border: 1px solid rgba(255, 138, 3, 0.18);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.vip-checkout-explanation p {
  margin: 0;
  color: #5a3d1a;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
}

.vip-checkout-example-list,
.vip-checkout-bonus-list {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 6px;
}

.vip-checkout-example-list li,
.vip-checkout-bonus-list li {
  color: #5a3d1a;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

.vip-checkout-example-list li strong,
.vip-checkout-bonus-list li strong {
  color: #ff8a03;
}

.vip-checkout-explanation-note {
  color: #8a6b3f !important;
  font-size: 0.82rem !important;
  font-style: italic;
  border-top: 1px solid rgba(255, 138, 3, 0.15);
  padding-top: 10px;
}

.vip-checkout-cta-text {
  color: #ff8a03 !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  text-align: center;
  background: rgba(255, 138, 3, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

/* ── Aviso de troca de plano (upgrade) ── */
.vip-checkout-upgrade-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8ef, #fff3e0);
  border: 1px solid rgba(255, 138, 3, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
}

.vip-checkout-upgrade-notice > svg {
  flex-shrink: 0;
  color: #ff8a03;
  margin-top: 2px;
}

.vip-checkout-upgrade-notice strong {
  display: block;
  color: #8a5300;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.vip-checkout-upgrade-notice p {
  margin: 0;
  color: #5a3d1a;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ── Botão de confirmar ── */
.vip-checkout-actions {
  display: grid;
  gap: 10px;
}

.vip-checkout-confirm-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(90deg, #f7d981, #ff8a03);
  color: #ffffff;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 22px rgba(255, 138, 3, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vip-checkout-confirm-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.vip-checkout-confirm-btn:disabled {
  background: #ffe1b8;
  color: #8a6b3f;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.9;
}

/* ── Modal ── */
.vip-checkout-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: vipModalFadeIn 0.2s ease;
}

@keyframes vipModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vipModalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.vip-checkout-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: vipModalSlideUp 0.25s ease;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.vip-checkout-modal--error .vip-checkout-modal-icon svg {
  color: #dc3545;
}

.vip-checkout-modal--success .vip-checkout-modal-icon svg {
  color: #2d6e2e;
}

.vip-checkout-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-checkout-modal--error .vip-checkout-modal-icon {
  background: rgba(220, 53, 69, 0.08);
  border: 2px solid rgba(220, 53, 69, 0.2);
}

.vip-checkout-modal--success .vip-checkout-modal-icon {
  background: rgba(45, 110, 46, 0.08);
  border: 2px solid rgba(45, 110, 46, 0.2);
}

.vip-checkout-modal-text {
  margin: 0;
  color: #5a3d1a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.vip-checkout-modal-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 40px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vip-checkout-modal--error .vip-checkout-modal-btn {
  background: linear-gradient(90deg, #ff6b6b, #dc3545);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(220, 53, 69, 0.3);
}

.vip-checkout-modal--success .vip-checkout-modal-btn {
  background: linear-gradient(90deg, #6dd56d, #2d6e2e);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(45, 110, 46, 0.3);
}

.vip-checkout-modal-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ── Scroll horizontal para tabelas com muitas colunas ── */
.vip-checkout-commission-card {
  overflow-x: auto;
}

/* ── Wallet Selector ── */
.vip-checkout-wallet-section {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,138,3,0.22);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-checkout-wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.vip-checkout-wallet-card {
  border: 2px solid rgba(255,138,3,0.22);
  border-radius: 14px;
  padding: 16px 14px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: all 0.2s;
  text-align: left;
}

.vip-checkout-wallet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vip-checkout-wallet-card--selected {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.vip-checkout-wallet-icon {
  font-size: 1.5rem;
  width: 36px;
  text-align: center;
}

.vip-checkout-wallet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.vip-checkout-wallet-label {
  font-size: 0.8rem;
  color: #8a6b3f;
  font-weight: 600;
}

.vip-checkout-wallet-value {
  font-size: 1rem;
  font-weight: 800;
}

.vip-checkout-wallet-check {
  position: absolute;
  top: 8px;
  right: 8px;
}

.vip-checkout-wallet-hint {
  font-size: 0.78rem;
  color: #a08050;
  text-align: center;
  margin: 0;
}

/* ── Wallet Select ── */
.vip-checkout-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vip-checkout-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid rgba(255,138,3,0.22);
  border-radius: 14px;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a3d1a;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vip-checkout-select:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 3px rgba(255,138,3,0.15);
}

.vip-checkout-select-arrow {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: #a08050;
}

/* ── Responsividade ── */
@media (max-width: 560px) {
  .vip-checkout-header h1 {
    font-size: 1.25rem;
  }

  .vip-checkout-plan-img-wrap {
    height: 160px;
  }

  .vip-checkout-table th,
  .vip-checkout-table td,
  .vip-checkout-commission-table th,
  .vip-checkout-commission-table td {
    padding: 9px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .vip-checkout-commission-table {
    min-width: 520px;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Portfólio (/investment-orders) estilo foto: cards (tema vermelho)
   Escopo: .pf-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.pf-page {
  background: #ffffff;
}

.pf-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

/* esconde a nav inferior compartilhada (indigo) nesta página */
.pf-page .dash-bottom-nav {
  display: none !important;
}

/* nav inferior verde nesta página */
.pf-page .bd-nav-item { color: #9aa1a9; }
.pf-page .bd-nav-item.active { color: #e23744; }
.pf-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

/* ── Lista ── */
.pf-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}

.pf-card {
  border: 1px solid #eef0f2;
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

/* topo: código + badge */
.pf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.pf-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: #f2f4f6;
  color: #6b7280;
  border-radius: 9px;
  padding: 7px 11px;
  cursor: pointer;
  max-width: 70%;
  transition: background 0.15s ease;
}

.pf-code:hover { background: #e9ecef; }

.pf-code__txt {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-code svg { width: 15px; height: 15px; flex-shrink: 0; color: #9aa1a9; }

.pf-badge {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.pf-badge--ok { background: #fde3e6; color: #c01f2e; }
.pf-badge--done { background: #eef0f2; color: #6b7280; }

/* valor investido + % + barra */
.pf-card__label {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: #8a9099;
}

.pf-card__value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.pf-card__value {
  font-size: 1.9rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.pf-card__pct {
  font-size: 0.92rem;
  font-weight: 700;
  color: #6b7280;
  flex-shrink: 0;
}

.pf-bar {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: #eef0f2;
  overflow: hidden;
}

.pf-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0444f, #cf2436);
  transition: width 0.6s ease;
}

/* grades de métricas */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.pf-grid--top {
  padding-top: 16px;
  border-top: 1px solid #f0f2f4;
}

.pf-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pf-cell__lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #8a9099;
}

.pf-cell__lbl svg { width: 15px; height: 15px; color: #e23744; }

.pf-cell__val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.2px;
  word-break: break-word;
}

.pf-cell__val--green { color: #e23744; }

.pf-cell__val--sm {
  font-size: 0.95rem;
  font-weight: 700;
}

/* estados */
.pf-empty {
  text-align: center;
  padding: 48px 20px;
  color: #8a9099;
  font-size: 0.92rem;
}

.pf-empty__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

.pf-empty__sub {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #8a9099;
}

.pf-empty__btn {
  border: none;
  border-radius: 13px;
  padding: 13px 26px;
  background: linear-gradient(180deg, #f0444f, #cf2436);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(207, 36, 54, 0.3);
}
/* ═══════════════════════════════════════════════════════════════
   Detalhe do contrato (/contracts/:slug?contractId=) — tema escuro
═══════════════════════════════════════════════════════════════ */
.cd {
  --cd-bg:    #0b1219;
  --cd-card:  #111827;
  --cd-line:  #1e2c3a;
  --cd-txt:   #ffffff;
  --cd-muted: #7b8a9a;
  --cd-green: #16c47f;

  min-height: 100vh;
  background: var(--cd-bg);
  color: var(--cd-txt);
  padding-bottom: 90px;
}

.cd__topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  background: rgba(11, 18, 25, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cd-line);
}

.cd__back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -6px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cd__back svg { width: 18px; height: 18px; }

.cd__topbar-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.cd__topbar-spacer { width: 32px; }

.cd__wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--cd-muted, #7b8a9a);
}

.cd-empty-btn {
  display: block;
  margin: 0 auto;
  border: none;
  background: #16c47f;
  color: #06120c;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
}

.surface-card {
  background: var(--cd-card);
  border: 1px solid var(--cd-line);
  border-radius: 12px;
}

.cd__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.cd__head--centered {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px 4px;
  background: transparent;
  border: none;
}

.cd__avatar--lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.cd__head-name--centered {
  font-size: 1rem;
}

.cd__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #1c2c47;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 1.1rem;
}

.cd__avatar-img {
  object-fit: cover;
}

.cd__head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cd__head-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.cd__head-sub {
  font-size: 0.76rem;
  color: var(--cd-muted);
}

.cd__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cd__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--cd-line);
  background: var(--cd-card);
  text-align: center;
}

.cd__metrics--tight .cd__metric { padding: 9px 6px; }

.cd__metrics--boxed {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--cd-line);
  border-radius: 12px;
  padding: 4px;
}
.cd__metrics--boxed .cd__metric {
  border: none;
  background: transparent;
  gap: 2px;
  padding: 10px 6px;
}
.cd__metrics--boxed .cd__metric-val { font-size: 0.95rem; }
.cd__metrics--boxed .cd__metric-lbl { font-size: 0.66rem; }

.cd__metric-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cd-muted);
}

.cd__metric-val {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cd-green);
}

.cd__panel {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cd__panel-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.cd__panel-sub {
  margin: 3px 0 0;
  font-size: 0.72rem;
  color: var(--cd-muted);
}

.cd__status {
  flex-shrink: 0;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(22, 196, 127, 0.15);
  color: var(--cd-green);
}
.cd__status.is-done {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.cd__progress-box {
  border-radius: 10px;
  border: 1px solid var(--cd-line);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.cd__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--cd-muted);
}
.cd__progress-head strong { color: var(--cd-green); }

.cd__progress-track {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.cd__progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--cd-green);
}

.cd__progress-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--cd-muted);
}

.cd__cta {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--cd-green);
  color: #06120c;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  margin-bottom: 8px;
}

.cd .bd-bottomnav {
  background: #0d1620;
  border-top: 1px solid var(--cd-line);
}
.cd .bd-bottomnav .bd-nav-item { color: var(--cd-muted); }
.cd .bd-bottomnav .bd-nav-item.active { color: var(--cd-green); }

/* ── Plano disponível ── */
.cd__plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cd__plan-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cd-muted);
}

.cd__plan-row {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.cd__plan-days {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.cd__plan-sub {
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--cd-muted);
}

.cd__plan-right { text-align: right; }

.cd__plan-pct {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cd-green);
}

/* ── Tabs Gráficos / Regras ── */
.cd__tabs-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--cd-card);
  border: 1px solid var(--cd-line);
}

.cd__tab {
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--cd-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
}
.cd__tab.is-active {
  background: #1c2c47;
  color: #fff;
}

.cd__tab-panel {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd__chart-card { padding: 12px; }

.cd__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cd-muted);
}
.cd__chart-head strong { color: var(--cd-green); font-size: 0.8rem; text-transform: none; letter-spacing: 0; }
.cd__chart-head-muted { text-transform: none; letter-spacing: 0; font-size: 0.72rem; }
.cd__chart-head-muted--block { display: block; margin-top: 2px; }

.cd__chart-area {
  display: block;
  width: 100%;
  height: 130px;
  margin-top: 10px;
}

.cd__chart-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.64rem;
  color: var(--cd-muted);
}

.cd__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
  margin-top: 12px;
}

.cd__bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
}

.cd__bar {
  width: 100%;
  max-width: 22px;
  border-radius: 4px 4px 0 0;
  background: var(--cd-green);
}

.cd__bar-col span {
  font-size: 0.62rem;
  color: var(--cd-muted);
}

.cd__rules {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--cd-line);
  background: var(--cd-card);
}
.cd__rules p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
}
.cd__rules p:last-child { margin-bottom: 0; }
.cd__rules strong { color: var(--cd-green); }
.fund-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.fund-page-header h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #121212;
}

.fund-back-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fund-back-btn svg {
  width: 18px;
  height: 18px;
  color: #111827;
}

.fund-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.fund-summary-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fund-summary-card span {
  font-size: 12px;
  color: #6b7280;
}

.fund-summary-card strong {
  font-size: 15px;
  color: #111827;
}

.fund-state-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  padding: 18px;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

.fund-current-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  padding: 14px;
  margin-bottom: 14px;
}

.fund-current-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.fund-current-head h2 {
  margin: 0;
  font-size: 15px;
  color: #111827;
}

.fund-current-head span {
  font-size: 11px;
  font-weight: 600;
  color: #c2410c;
  background: #ffedd5;
  border-radius: 999px;
  padding: 4px 8px;
}

.fund-current-empty {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.fund-category {
  margin-bottom: 14px;
}

.fund-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.fund-category-head h3 {
  margin: 0;
  font-size: 14px;
  color: #111827;
}

.fund-category-head span {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.fund-list {
  display: grid;
  gap: 12px;
}

.fund-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  padding: 14px;
}

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

.fund-card-top h3 {
  margin: 0;
  font-size: 14px;
  color: #111827;
}

.fund-status {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.fund-status.ongoing {
  background: #fff7ed;
  color: #c2410c;
}

.fund-status.done {
  background: #ecfdf5;
  color: #166534;
}

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

.fund-grid label {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 3px;
}

.fund-grid strong {
  font-size: 13px;
  color: #111827;
  word-break: break-word;
}

@media (max-width: 700px) {
  .fund-summary-grid {
    grid-template-columns: 1fr;
  }

  .fund-grid {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Conta Bancária (/bank-cards) — tema vermelho
   Escopo: .bc-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.bc-page {
  background: #f7f8fa;
}

.bc-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

.bc-page .dash-bottom-nav { display: none !important; }
.bc-page .bd-nav-item { color: #9aa1a9; }
.bc-page .bd-nav-item.active { color: #e23744; }
.bc-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

.bc-page .bd-topbar {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

/* ── Sub-header ── */
.bc-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 2px;
}

.bc-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bc-back:hover { background: #eef0f2; }
.bc-back svg { width: 21px; height: 21px; }

.bc-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.bc-spacer { width: 38px; flex-shrink: 0; }

/* ── Aviso PIX ── */
.bc-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fdeef0;
  border: 1px solid #f6d2d8;
  border-radius: 14px;
  padding: 14px 15px;
}

.bc-alert__ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fde3e6;
  color: #e23744;
}

.bc-alert__ic svg { width: 19px; height: 19px; }

.bc-alert__txt strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #16181d;
  margin-bottom: 2px;
}

.bc-alert__txt p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #6b7280;
}

/* ── Feedback ── */
.bc-feedback {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.bc-feedback svg { width: 19px; height: 19px; flex-shrink: 0; }

.bc-feedback--success {
  background: #e7f7ec;
  border: 1px solid #c7ebd2;
  color: #138a48;
}

.bc-feedback--error {
  background: #fdeaea;
  border: 1px solid #f6cccc;
  color: #dc2626;
}

/* ── Card do formulário ── */
.bc-card {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.bc-card__title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

.bc-group {
  margin-bottom: 14px;
}

.bc-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
}

.bc-input {
  width: 100%;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.95rem;
  color: #16181d;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bc-input::placeholder { color: #9aa1a9; }

.bc-input:focus {
  background: #fff;
  border-color: #e23744;
  box-shadow: 0 0 0 4px rgba(226, 55, 68, 0.12);
}

.bc-select-wrap {
  position: relative;
}

.bc-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.bc-select-chev {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9aa1a9;
  pointer-events: none;
}

.bc-btn {
  width: 100%;
  margin-top: 6px;
  height: 50px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(207, 36, 54, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.bc-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(207, 36, 54, 0.4);
}

.bc-btn:active:not(:disabled) { transform: translateY(0); }

.bc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Loading ── */
.bc-loading {
  text-align: center;
  padding: 48px 20px;
  color: #8a9099;
  font-size: 0.92rem;
}

/* ── Bloqueio de 20 dias ── */
.bc-lock {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fdeef0;
  border: 1px solid #f6d2d8;
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 16px;
}

.bc-lock__ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fde3e6;
  color: #e23744;
}

.bc-lock__ic svg { width: 19px; height: 19px; }

.bc-lock__txt strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #16181d;
  margin-bottom: 2px;
}

.bc-lock__txt p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #6b7280;
}

.bc-lock__txt b { color: #e23744; }

.bc-input:disabled {
  background: #f0f1f3;
  color: #8a9099;
  cursor: not-allowed;
  border-color: #e6e8eb;
}

.bc-input:disabled:focus {
  box-shadow: none;
  border-color: #e6e8eb;
}
.sa-page {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sa-header {
  height: 56px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid #f1f2f4;
  padding: 0 8px;
}

.sa-back {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #3b82f6;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 999px;
}

.sa-back svg {
  width: 18px;
  height: 18px;
}

.sa-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #0f172a;
}

.sa-msg {
  margin: 10px 14px 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.sa-msg--success {
  background: #e8f8ee;
  color: #176b3f;
  border: 1px solid #caefd9;
}

.sa-msg--error {
  background: #ffefef;
  color: #8d2020;
  border: 1px solid #f7d0d0;
}

.sa-empty-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 110px;
}

.sa-empty-icon {
  width: 152px;
  height: 152px;
  opacity: 0.42;
}

.sa-empty-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sa-empty-text {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  color: #0f172a;
}

.sa-card-wrap {
  padding: 14px;
  margin-bottom: 110px;
}

.sa-card {
  background: #ffffff;
  border: 1px solid #eceff4;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(10, 22, 40, 0.06);
}

.sa-card h2 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
}

.sa-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}

.sa-form-wrap {
  padding: 14px;
  margin-bottom: 128px;
}

.sa-form-grid {
  display: grid;
  gap: 10px;
}

.sa-field {
  display: grid;
  gap: 6px;
}

.sa-field span {
  font-size: 12px;
  font-weight: 600;
  color: #5b6472;
}

.sa-field input {
  width: 100%;
  height: 44px;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.sa-field input:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.07);
}

.sa-field--row {
  max-width: 140px;
}

.sa-footer {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 30;
}

.sa-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.sa-add-btn,
.sa-cancel-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.sa-add-btn {
  background: linear-gradient(180deg, #171a1f, #0f1114);
}

.sa-cancel-btn {
  background: #7d8694;
}

@media (min-width: 768px) {
  .sa-page {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid #f1f2f4;
    border-right: 1px solid #f1f2f4;
  }

  .sa-footer {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(452px, calc(100vw - 28px));
  }
}
.team-report-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  min-height: 100vh;
  padding: 24px 16px 100px;
}

.team-report-page .team-tabs-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 12px;
}

.team-report-page .team-tabs-row {
  display: flex;
  gap: 8px;
}

.team-report-page .team-tab-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #8a6b3f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.team-report-page .team-tab-btn:hover {
  color: #5a3d1a;
  background: rgba(255, 138, 3, 0.12);
}

.team-report-page .team-tab-btn.active {
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.28);
}

.team-report-page .team-filter-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.team-report-page .team-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.team-report-page .team-filter-row label {
  display: grid;
  gap: 6px;
}

.team-report-page .team-filter-row span {
  font-size: 12px;
  color: #8a6b3f;
}

.team-report-page .team-filter-row input {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.3);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  padding: 0 10px;
}

.team-report-page .team-filter-row button {
  height: 40px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}

.team-report-page .team-toast {
  position: fixed;
  top: 78px;
  right: 14px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.2);
  backdrop-filter: blur(6px);
  animation: team-toast-in 0.18s ease;
}

.team-report-page .team-toast.success {
  color: #fff;
  background: rgba(22, 163, 74, 0.9);
  border-color: rgba(74, 222, 128, 0.45);
}

.team-report-page .team-toast.error {
  color: #fff;
  background: rgba(220, 38, 38, 0.9);
  border-color: rgba(248, 113, 113, 0.45);
}

@keyframes team-toast-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.team-report-page .team-kpis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.team-report-page .team-kpi-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.team-report-page .team-kpi-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #b45309;
  font-weight: 600;
}

.team-report-page .team-kpi-card strong {
  font-size: 20px;
  color: #5a3d1a;
}

.team-report-page .team-levels-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.team-report-page .team-levels-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #5a3d1a;
}

.team-report-page .team-levels-grid {
  display: grid;
  gap: 10px;
}

.team-report-page .team-level-item {
  background: rgba(255, 245, 235, 0.6);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 10px;
}

.team-report-page .team-level-item header {
  font-weight: 700;
  color: #ff8a03;
  margin-bottom: 8px;
}

.team-report-page .team-level-item p {
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5a3d1a;
  font-size: 13px;
}

.team-report-page .team-level-item strong {
  color: #5a3d1a;
}

.team-report-page .team-level-switch {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.team-report-page .team-level-switch button {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.3);
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 600;
}

.team-report-page .team-level-switch button.active {
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  border-color: transparent;
}

.team-report-page .team-kpi-single {
  margin-bottom: 12px;
}

.team-report-page .team-members-list {
  display: grid;
  gap: 10px;
}

.team-report-page .team-member-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.team-report-page .team-member-item h4 {
  margin: 0;
  color: #5a3d1a;
  font-size: 15px;
}

.team-report-page .team-member-item p {
  margin: 2px 0;
  color: #8a6b3f;
  font-size: 13px;
}

.team-report-page .team-member-item small {
  color: #8a6b3f;
  font-size: 12px;
}

.team-report-page .team-member-right {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.team-report-page .team-member-right strong {
  color: #5a3d1a;
  font-size: 14px;
}

.team-report-page .team-member-right span {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.team-report-page .team-member-right span.ok {
  color: #fff;
  background: rgba(22, 163, 74, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.team-report-page .team-member-right span.pending {
  color: #fff;
  background: rgba(255, 138, 3, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.4);
}

.team-report-page .team-empty {
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 28px 12px;
  color: #8a6b3f;
}

@media (max-width: 640px) {
  .team-report-page .team-filter-row { grid-template-columns: 1fr; }
  .team-report-page .team-kpis-grid { grid-template-columns: 1fr; }
  .team-report-page .team-level-switch { flex-wrap: wrap; }
}
/* Layout genérico de página simples (usado por GiftVouchers, Community, TaxDeclaration, TeamReport, VipRules) */
.tasks-page {
  min-height: 100vh;
  padding: 20px 16px 100px;
  background: #ffffff;
  color: #1f2937;
  box-sizing: border-box;
}

@media (min-width: 860px) {
  .tasks-page {
    padding: 28px 32px 40px 300px;
  }
}

.tasks-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tasks-header h1 {
  margin: 4px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e1b4b;
}

.tasks-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6366f1;
}

.tasks-subtitle {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #6b7280;
}

.tasks-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }

.btn.ghost {
  background: #f3f4f6;
  color: #1e1b4b;
  border: 1px solid #e5e7eb;
}

.vip-inline-message {
  padding: 24px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Minha Equipe (/position) — tema vermelho
   Escopo: .position-page
═══════════════════════════════════════════════════════════════ */
.position-page {
  background: #f4f6f8;
}

.position-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px 2px 0;
}

.position-page .dash-bottom-nav { display: none !important; }
.position-page .bd-nav-item { color: #9aa1a9; }
.position-page .bd-nav-item.active { color: #e23744; }

/* ── Header ── */
.ps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px 2px;
}

.ps-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #16181d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ps-back:hover { background: #e9edf1; }
.ps-back svg { width: 22px; height: 22px; }

.ps-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.ps-spacer { width: 38px; flex-shrink: 0; }

/* ── Hero ── */
.ps-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #e23744 0%, #b91d36 100%);
  box-shadow: 0 14px 30px rgba(226, 55, 68, 0.3);
}

.ps-hero__feather {
  position: absolute;
  right: -18px;
  top: -10px;
  width: 130px;
  height: 130px;
  transform: rotate(10deg);
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.ps-hero__feather svg { width: 100%; height: 100%; }

.ps-hero__label {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}

.ps-hero__value {
  position: relative;
  z-index: 1;
  margin: 4px 0 16px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.ps-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ps-hero__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
}

.ps-hero__cell span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.82); }
.ps-hero__cell strong { font-size: 1rem; font-weight: 800; }

/* ── Níveis ── */
.ps-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ps-level {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.ps-level__ic {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.ps-level__ic--1 { background: linear-gradient(135deg, #f0444f, #cf2436); }
.ps-level__ic--2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ps-level__ic--3 { background: linear-gradient(135deg, #3b6fe0, #2a52be); }

.ps-level__txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.ps-level__txt strong { font-size: 1.2rem; font-weight: 800; color: #16181d; }
.ps-level__txt span { font-size: 0.74rem; color: #9aa1a9; }

/* ── Stats ── */
.ps-section-title {
  margin: 4px 2px -2px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #16181d;
}

.ps-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ps-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 14px 15px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  border-left: 3px solid #d6dbe1;
}

.ps-stat strong { font-size: 1.5rem; font-weight: 800; color: #16181d; letter-spacing: -0.5px; }
.ps-stat span { font-size: 0.8rem; color: #6b7280; }

.ps-stat--green { border-left-color: #16a34a; }
.ps-stat--red { border-left-color: #e23744; }
.ps-stat--blue { border-left-color: #3b6fe0; }
.ps-stat--gray { border-left-color: #9aa1a9; }

/* ── Membros ── */
.ps-members {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #eef0f2;
  border-radius: 12px;
  padding: 4px;
}

.ps-seg__btn {
  border: none;
  background: transparent;
  color: #6b7280;
  border-radius: 9px;
  padding: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ps-seg__btn.active {
  background: #ffffff;
  color: #e23744;
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.1);
}

.ps-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.ps-pills::-webkit-scrollbar { display: none; }

.ps-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e6e9ed;
  background: #ffffff;
  color: #5b626b;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ps-pill em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  background: #f0f2f4;
  color: #6b7280;
  padding: 1px 7px;
  border-radius: 999px;
}

.ps-pill:hover { border-color: #f6cdd2; }

.ps-pill.active {
  background: linear-gradient(135deg, #f0444f 0%, #cf2436 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px rgba(207, 36, 54, 0.3);
}

.ps-pill.active em { background: rgba(255, 255, 255, 0.25); color: #fff; }

/* ── Lista de membros ── */
.ps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.ps-member {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.ps-member__av {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f0444f, #cf2436);
}

.ps-member__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-member__info strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #16181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-member__info span { font-size: 0.78rem; color: #9aa1a9; }

.ps-member__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ps-member__right > strong { font-size: 0.92rem; font-weight: 800; color: #16181d; white-space: nowrap; }

.ps-member__tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.ps-member__tag.on { background: #e7f7ec; color: #16a34a; }
.ps-member__tag.off { background: #f0f2f4; color: #9aa1a9; }

/* ── Estados ── */
.ps-empty {
  text-align: center;
  padding: 40px 20px;
  color: #8a9099;
  font-size: 0.9rem;
}

.ps-empty__title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; color: #16181d; }
.ps-empty__sub { margin: 0; font-size: 0.88rem; color: #8a9099; }

/* ═══════════════════════════════════════════════════════════════
   Desktop — usa a largura ao lado da sidebar
═══════════════════════════════════════════════════════════════ */
@media (min-width: 860px) {
  .dash-app.position-page .dash-content {
    max-width: none;
    margin: 0;
  }

  .position-page .ps-hero__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .position-page .ps-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .position-page .ps-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  }
}
.notfound-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(225, 231, 239, 0.75) 0%, transparent 38%),
    radial-gradient(circle at 80% 85%, rgba(199, 208, 220, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #f7f9fc 0%, #edf1f6 100%);
}

.notfound-card {
  width: min(520px, 100%);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  border: 1px solid rgba(95, 103, 112, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 60px rgba(95, 103, 112, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.notfound-code {
  margin: 0 0 6px;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #4f5760, #7d8792);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 28px rgba(95, 103, 112, 0.25);
}

.notfound-title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: #2f343a;
  font-weight: 800;
}

.notfound-text {
  margin: 10px auto 0;
  max-width: 40ch;
  color: #5f6770;
  font-size: 0.98rem;
  line-height: 1.5;
}

.notfound-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.notfound-btn {
  min-width: 160px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.notfound-btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #6f7882, #4f5760);
  box-shadow: 0 8px 20px rgba(79, 87, 96, 0.32);
}

.notfound-btn--ghost {
  color: #3a4048;
  background: #f4f7fb;
  border: 1px solid rgba(95, 103, 112, 0.25);
}

.notfound-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.notfound-btn:active {
  transform: translateY(0);
}
.community-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: inherit;
  color: #5a3d1a;
  padding: 22px 16px 92px;
}

.community-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.community-description {
  color: #5a3d1a;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 16px;
}

.community-btn {
  border: none;
  border-radius: 12px;
  min-height: 46px;
  padding: 12px 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.community-inline-message {
  color: #5a3d1a;
}

.community-feedback {
  margin-top: 12px;
  color: #b45309;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .community-page {
    padding: 24px 20px 32px;
  }

  .community-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.tax-page {
  padding-bottom: 110px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  overflow-y: auto;
}

.tax-card {
  margin: 18px 20px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  box-shadow: 0 16px 30px rgba(255, 138, 3, 0.12);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.tax-form { padding: 24px; color: #5a3d1a; max-width: 1080px; margin: 0 auto; }
.tax-form h2 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.3; color: #5a3d1a; }
.tax-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; font-weight: 600; color: #5a3d1a; }
.tax-grid input { height: 42px; border-radius: 10px; border: 1px solid rgba(255, 138, 3, 0.3); background: rgba(255, 245, 235, 0.8); color: #5a3d1a; padding: 0 12px; outline: none; font-size: 0.92rem; }
.tax-grid input:focus { border-color: #ff8a03; box-shadow: 0 0 0 3px rgba(255, 138, 3, 0.2); }
.tax-grid input:disabled { opacity: 0.7; }
.tax-summary { margin-top: 18px; border-radius: 12px; border: 1px solid rgba(255, 138, 3, 0.22); background: rgba(255, 255, 255, 0.85); padding: 14px; }
.tax-summary h3 { margin: 0 0 10px; color: #5a3d1a; }
.tax-summary p { display: flex; justify-content: space-between; margin: 7px 0; font-size: 0.92rem; }
.tax-actions { margin-top: 0; display: flex; justify-content: flex-end; }
.tax-submit-btn { border: none; border-radius: 12px; height: 42px; padding: 0 18px; background: linear-gradient(135deg, #ff8a03, #f7a93b); color: #fff; font-weight: 700; cursor: pointer; min-width: 170px; }
.tax-feedback { margin-top: 12px; color: #16a34a; font-weight: 600; }
.tax-report-card { margin-top: 14px; }
.tax-report-subtitle { margin: 0 0 16px; color: #8a6b3f; font-size: 0.95rem; line-height: 1.45; }
.tax-controls { border: 1px solid rgba(255, 138, 3, 0.22); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, 0.85); display: grid; gap: 12px; }
.tax-report-actions { gap: 10px; justify-content: flex-end; flex-wrap: wrap; align-items: center; }
.tax-outline-btn { border: 1px solid rgba(255, 138, 3, 0.45); border-radius: 12px; height: 42px; padding: 0 18px; background: rgba(255, 138, 3, 0.1); color: #b45309; font-weight: 700; cursor: pointer; min-width: 210px; }
.tax-outline-btn:disabled, .tax-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.tax-error { margin-top: 10px; color: #dc2626; font-weight: 600; }
.print-report-area { margin-top: 14px; border: 1px solid rgba(255, 138, 3, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.85); padding: 14px; }
.report-header h3 { margin: 0 0 8px; color: #5a3d1a; }
.company-header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255, 138, 3, 0.22); padding-bottom: 12px; margin-bottom: 12px; }
.company-sub { font-weight: 700; color: #b45309 !important; margin-bottom: 8px !important; }
.company-meta { min-width: 230px; border: 1px solid rgba(255, 138, 3, 0.22); border-radius: 10px; padding: 10px; background: rgba(255, 245, 235, 0.6); }
.report-client-block { background: rgba(255, 245, 235, 0.4); border: 1px solid rgba(255, 138, 3, 0.22); border-radius: 10px; padding: 10px; }
.report-header p { margin: 4px 0; color: #5a3d1a; font-size: 0.9rem; line-height: 1.45; }
.tax-table-wrap { overflow-x: auto; margin-top: 12px; margin-bottom: 16px; }
.tax-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.tax-table th, .tax-table td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 138, 3, 0.15); text-align: left; font-size: 0.9rem; vertical-align: middle; color: #5a3d1a; }
.tax-table th { color: #b45309; font-weight: 700; background: rgba(255, 138, 3, 0.1); }
.tax-table .row-even td { background: rgba(255, 138, 3, 0.05); }
.tax-table .row-odd td { background: rgba(255, 245, 235, 0.3); }
.status-paid { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(22, 163, 74, 0.15); border: 1px solid rgba(22, 163, 74, 0.35); color: #16a34a; font-weight: 700; font-size: 0.78rem; }
.tax-table tfoot td { font-weight: 700; color: #5a3d1a; background: rgba(255, 138, 3, 0.1); }
.tax-empty { text-align: center !important; color: #8a6b3f !important; padding: 20px !important; font-style: italic; font-size: 0.92rem; }

@media print {
  .no-print,
  .tasks-header,
  .app-sidebar,
  .tasks-bottom-nav {
    display: none !important;
  }

  .tax-page {
    background: #fff !important;
    padding: 0 !important;
  }

  .tax-card {
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .company-header,
  .report-client-block,
  .company-meta {
    border-color: #222 !important;
    background: #fff !important;
  }

  .print-report-area,
  .tax-form,
  .tax-table th,
  .tax-table td,
  .report-header p,
  .report-header h3 {
    color: #111 !important;
    background: #fff !important;
    border-color: #ddd !important;
  }

  .tax-table {
    min-width: 100% !important;
  }
}

@page {
  size: A4;
  margin: 14mm;
}

@media (max-width: 768px) {
  .tax-page {
    padding-bottom: 120px;
  }

  .tax-card {
    margin: 14px 12px 0;
  }

  .tax-form {
    padding: 14px;
  }

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

  .company-meta {
    width: 100%;
    min-width: 100%;
  }

  .tax-grid {
    grid-template-columns: 1fr;
  }

  .tax-report-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .tax-outline-btn,
  .tax-submit-btn {
    width: 100%;
    min-width: 100%;
  }

  .tax-table {
    min-width: 560px;
  }
}
/* Withdraw Password — tema cinza/chumbo */

.wp-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 18% 12%, rgba(225, 231, 239, 0.75) 0%, transparent 38%),
    radial-gradient(circle at 82% 88%, rgba(199, 208, 220, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #f7f9fc 0%, #edf1f6 100%);
}

.wp-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(95, 103, 112, 0.2);
  backdrop-filter: blur(8px);
}

.wp-topbar-back {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(79, 87, 96, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #30363d;
}

.wp-topbar-back svg {
  width: 22px;
  height: 22px;
}

.wp-topbar-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #2f343a;
  letter-spacing: 0.2px;
}

.wp-scroll-box {
  width: min(560px, calc(100% - 24px));
  margin: 18px auto 24px;
  border-radius: 18px;
  border: 1px solid rgba(95, 103, 112, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 48px rgba(95, 103, 112, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.wp-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(95, 103, 112, 0.13);
  background: transparent;
}

.wp-cell:last-of-type {
  border-bottom: 0;
}

.wp-cell-title {
  font-size: 0.88rem;
  color: #4f5760;
  font-weight: 700;
}

.wp-cell-value {
  width: 100%;
}

.wp-cell-input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(95, 103, 112, 0.26);
  border-radius: 12px;
  outline: 0;
  background: #f7f9fc;
  font-size: 0.94rem;
  color: #2f343a;
  font-family: inherit;
  padding: 0 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.wp-cell-input::placeholder {
  color: #8a9199;
}

.wp-cell-input:focus {
  border-color: #6f7882;
  box-shadow: 0 0 0 3px rgba(111, 120, 130, 0.2);
  background: #ffffff;
}

.wp-submit-wrap {
  padding: 14px;
  background: transparent;
}

.wp-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(90deg, #6f7882, #4f5760);
  box-shadow: 0 10px 24px rgba(79, 87, 96, 0.28);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.wp-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.wp-submit:active {
  transform: translateY(0);
}

.wp-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* Modal */
.wp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 30, 36, 0.5);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
  animation: wp-fade-in 0.18s ease;
}

@keyframes wp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wp-modal {
  width: min(360px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 18px 16px;
  box-shadow: 0 20px 52px rgba(25, 30, 36, 0.28);
  border: 1px solid rgba(95, 103, 112, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: wp-pop-in 0.22s ease;
}

@keyframes wp-pop-in {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.wp-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
}

.wp-modal-icon--success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.wp-modal-icon--error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.wp-modal-icon svg {
  width: 30px;
  height: 30px;
}

.wp-modal-message {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f343a;
  margin: 0 0 14px;
  line-height: 1.45;
}

.wp-modal-button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(90deg, #6f7882, #4f5760);
  cursor: pointer;
  font-family: inherit;
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Alterar Senha (/change-password) — tema vermelho
   Escopo: .cp-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.cp-page {
  background: #f7f8fa;
}

.cp-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

.cp-page .dash-bottom-nav { display: none !important; }
.cp-page .bd-nav-item { color: #9aa1a9; }
.cp-page .bd-nav-item.active { color: #e23744; }
.cp-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

.cp-page .bd-topbar {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

/* ── Sub-header ── */
.cp-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 2px;
}

.cp-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cp-back:hover { background: #eef0f2; }
.cp-back svg { width: 21px; height: 21px; }

.cp-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.cp-spacer { width: 38px; flex-shrink: 0; }

/* ── Dica ── */
.cp-hint {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fdeef0;
  border: 1px solid #f6d2d8;
  border-radius: 14px;
  padding: 13px 15px;
}

.cp-hint__ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fde3e6;
  color: #e23744;
}

.cp-hint__ic svg { width: 19px; height: 19px; }

.cp-hint p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6b7280;
}

.cp-hint b { color: #16181d; }

/* ── Feedback ── */
.cp-feedback {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.cp-feedback svg { width: 19px; height: 19px; flex-shrink: 0; }

.cp-feedback--success {
  background: #e7f7ec;
  border: 1px solid #c7ebd2;
  color: #138a48;
}

.cp-feedback--error {
  background: #fdeaea;
  border: 1px solid #f6cccc;
  color: #dc2626;
}

/* ── Card ── */
.cp-card {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.cp-group {
  margin-bottom: 14px;
}

.cp-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
}

.cp-field {
  display: flex;
  align-items: center;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 0 6px 0 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cp-field:focus-within {
  background: #fff;
  border-color: #e23744;
  box-shadow: 0 0 0 4px rgba(226, 55, 68, 0.12);
}

.cp-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 13px 0;
  font-size: 0.95rem;
  color: #16181d;
}

.cp-input::placeholder { color: #9aa1a9; }

.cp-eye {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #9aa1a9;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}

.cp-eye:hover { color: #e23744; background: rgba(226, 55, 68, 0.08); }
.cp-eye svg { width: 19px; height: 19px; }

.cp-btn {
  width: 100%;
  margin-top: 6px;
  height: 50px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(207, 36, 54, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.cp-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(207, 36, 54, 0.4);
}

.cp-btn:active:not(:disabled) { transform: translateY(0); }

.cp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Novo Saque (/saque) estilo foto — tema vermelho
   Escopo: .nw-page  (reusa .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.nw-page {
  background: #ffffff;
}

.nw-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 2px 2px 0;
}

.nw-page .dash-bottom-nav { display: none !important; }
.nw-page .bd-nav-item { color: #9aa1a9; }
.nw-page .bd-nav-item.active { color: #e23744; }
.nw-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

/* ── Header ── */
.nw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 4px;
  border-bottom: 1px solid #eef0f2;
}

.nw-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: #16181d;
}

.nw-close {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nw-close:hover { background: #f3f5f7; }
.nw-close svg { width: 22px; height: 22px; }

/* ── Origem do saldo ── */
.nw-label {
  margin: 8px 4px 0;
  font-size: 0.95rem;
  color: #8a9099;
}

.nw-sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nw-source {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 1.5px solid #eef0f2;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nw-source:hover { border-color: #f6cdd2; }

.nw-source.active {
  border-color: #e23744;
  background: #fff5f6;
  box-shadow: 0 6px 16px rgba(226, 55, 68, 0.12);
}

.nw-source__ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fde3e6;
  color: #e23744;
}

.nw-source__ic svg { width: 21px; height: 21px; }

.nw-source__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-source__name {
  font-size: 0.86rem;
  color: #8a9099;
}

.nw-source__val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.3px;
}

.nw-source__radio {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #d6dbe1;
  position: relative;
  transition: border-color 0.15s ease;
}

.nw-source.active .nw-source__radio {
  border-color: #e23744;
}

.nw-source.active .nw-source__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #e23744;
}

/* ── Botão confirmar ── */
.nw-confirm {
  width: 100%;
  margin-top: 4px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(207, 36, 54, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.nw-confirm:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(207, 36, 54, 0.4);
}

.nw-confirm:active:not(:disabled) { transform: translateY(0); }

.nw-confirm:disabled {
  background: #d5dae0;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}

/* ── Info ── */
.nw-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #eef0f2;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.nw-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #6b7280;
}

.nw-info__row b { color: #16181d; font-weight: 800; }
.nw-ok { color: #16a34a !important; }
.nw-no { color: #dc2626 !important; }

/* ── Modais ── */
.nw-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(2px);
  animation: nw-fade 0.2s ease;
}

@keyframes nw-fade { from { opacity: 0; } to { opacity: 1; } }

.nw-modal {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
  animation: nw-pop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes nw-pop {
  from { transform: translateY(14px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.nw-modal--center { text-align: center; }

.nw-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nw-modal__head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: #16181d; }

.nw-modal__close {
  width: 34px; height: 34px; border: none; background: transparent; color: #3a3f47;
  border-radius: 9px; display: grid; place-items: center; cursor: pointer;
}
.nw-modal__close:hover { background: #f3f5f7; }
.nw-modal__close svg { width: 20px; height: 20px; }

.nw-modal__src { margin: 0 0 14px; font-size: 0.86rem; color: #6b7280; }
.nw-modal__src b { color: #16181d; }

.nw-modal__label {
  display: block;
  margin: 0 0 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
}

.nw-modal__input {
  width: 100%;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.95rem;
  color: #16181d;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nw-modal__input:focus {
  background: #fff;
  border-color: #e23744;
  box-shadow: 0 0 0 4px rgba(226, 55, 68, 0.12);
}

.nw-modal__rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eef0f2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.nw-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f7f8fa;
  padding: 11px 13px;
  font-size: 0.86rem;
  color: #6b7280;
}

.nw-modal__row strong { color: #16181d; font-weight: 800; }
.nw-green { color: #16a34a !important; }
.nw-red { color: #dc2626 !important; }

.nw-modal__pass {
  position: relative;
}

.nw-modal__pass .nw-modal__input { padding-right: 76px; }

.nw-modal__eye {
  position: absolute;
  right: 8px;
  top: 11px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

.nw-modal__eye:hover { color: #e23744; }

.nw-modal__err {
  margin: -4px 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dc2626;
}

.nw-modal__forgot {
  width: 100%;
  margin-top: 10px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.nw-modal__forgot:hover { color: #e23744; }

.nw-modal__ic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 4px auto 14px;
}

.nw-modal__ic svg { width: 28px; height: 28px; }
.nw-modal__ic--success { background: #e7f7ec; color: #16a34a; }
.nw-modal__ic--error { background: #fdeaea; color: #dc2626; }
.nw-modal__ic--warn { background: #fff3e0; color: #f59e0b; }

.nw-modal__msg {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
}

/* ── Valor do saque (inline) ── */
.nw-amount {
  border: 1px solid #eef0f2;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  animation: nw-amt-in 0.2s ease;
}

@keyframes nw-amt-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.nw-amount__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.nw-amount__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
}

.nw-amount__avail {
  font-size: 0.8rem;
  color: #9aa1a9;
}

.nw-amount__field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nw-amount__field:focus-within {
  background: #fff;
  border-color: #e23744;
  box-shadow: 0 0 0 4px rgba(226, 55, 68, 0.12);
}

.nw-amount__currency {
  font-size: 1.1rem;
  font-weight: 800;
  color: #9aa1a9;
}

.nw-amount__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 14px 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: #16181d;
}

.nw-amount__input::placeholder { color: #c3c8ce; font-weight: 700; }

.nw-amount__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.nw-chip {
  border: 1px solid #f6d2d8;
  background: #fde3e6;
  color: #cf2436;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nw-chip:hover { filter: brightness(0.97); transform: translateY(-1px); }
.nw-chip:active { transform: translateY(0); }

.nw-amount__preview {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f2f4;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nw-amount__preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #6b7280;
}

.nw-amount__preview b { color: #16181d; font-weight: 800; }

/* ── Escolha de método (PIX / USDT) ── */
.nw-pay {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nw-pay__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.nw-pay__opt:hover { transform: translateY(-2px); border-color: #f6cdd2; background: #fff5f6; }

.nw-pay__ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.nw-pay__ic svg { width: 21px; height: 21px; }
.nw-pay__ic--pix { background: #d7f4ec; color: #0a9b7d; }
.nw-pay__ic--usdt { background: #ddf3e6; color: #15a05a; }

.nw-pay__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.nw-pay__txt strong { font-size: 0.98rem; font-weight: 800; color: #16181d; }
.nw-pay__txt small { font-size: 0.78rem; color: #8a9099; }

.nw-pay__chev { width: 20px; height: 20px; color: #c3c8ce; flex-shrink: 0; }

/* select reaproveita .nw-modal__input */
select.nw-modal__input { appearance: auto; cursor: pointer; }
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Comprovante de saque (/saque/comprovante)
   Escopo: .rc-page
═══════════════════════════════════════════════════════════════ */
.rc-page {
  background: #f4f6f8;
}

.rc-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px 2px 24px;
}

.rc-page .dash-bottom-nav { display: none !important; }

/* ── Header ── */
.rc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px 2px;
}

.rc-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #16181d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rc-back:hover { background: #e9edf1; }
.rc-back svg { width: 22px; height: 22px; }

.rc-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.rc-spacer { width: 38px; flex-shrink: 0; }

/* ── Ticket ── */
.rc-ticket {
  position: relative;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  animation: rc-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rc-pop {
  from { transform: translateY(10px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.rc-ticket__top {
  text-align: center;
  padding: 26px 20px 22px;
  background:
    radial-gradient(120% 140% at 50% 0%, #fff5f6 0%, #ffffff 60%);
}

.rc-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.32);
  animation: rc-check-in 0.4s ease 0.1s both;
}

@keyframes rc-check-in {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.rc-check svg { width: 32px; height: 32px; }

.rc-ticket__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #16181d;
}

.rc-ticket__sub {
  margin: 4px 0 16px;
  font-size: 0.86rem;
  color: #8a9099;
}

.rc-amount {
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #e23744;
}

/* ── Perfuração ── */
.rc-perf {
  position: relative;
  height: 22px;
  background: #ffffff;
}

.rc-perf::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  border-top: 2px dashed #e6e9ed;
}

.rc-perf span {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  background: #f4f6f8;
  border-radius: 50%;
  transform: translateY(-50%);
}

.rc-perf span:first-child { left: -11px; }
.rc-perf span:last-child { right: -11px; }

/* ── Corpo (detalhes) ── */
.rc-ticket__body {
  padding: 6px 20px 4px;
  display: flex;
  flex-direction: column;
}

.rc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f5;
}

.rc-row:last-child { border-bottom: none; }

.rc-row__label {
  font-size: 0.84rem;
  color: #8a9099;
  flex-shrink: 0;
}

.rc-row__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #16181d;
  text-align: right;
  min-width: 0;
  word-break: break-word;
}

.rc-row__value--mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.rc-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d98a00;
}

.rc-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.rc-method {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.rc-method--pix { background: #d7f4ec; color: #0a9b7d; }
.rc-method--usdt { background: #ddf3e6; color: #15a05a; }

.rc-note {
  margin: 6px 0 0;
  padding: 14px 20px 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #8a9099;
  text-align: center;
  border-top: 1px dashed #eef0f2;
}

/* ── Ações ── */
.rc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rc-btn {
  height: 50px;
  border: none;
  border-radius: 13px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rc-btn--primary {
  background: linear-gradient(180deg, #f0444f 0%, #cf2436 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(207, 36, 54, 0.3);
}
.rc-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 28px rgba(207, 36, 54, 0.4); }

.rc-btn--ghost { background: #f0f2f4; color: #5b626b; }
.rc-btn--ghost:hover { background: #e6e9ed; }

/* ── Estado vazio ── */
.rc-empty {
  text-align: center;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  padding: 36px 22px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.rc-empty__ic {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fde3e6;
  color: #e23744;
  display: grid;
  place-items: center;
}

.rc-empty__ic svg { width: 30px; height: 30px; }
.rc-empty h2 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: #16181d; }
.rc-empty p { margin: 0 0 18px; font-size: 0.9rem; color: #6b7280; }
.rc-empty .rc-btn { width: 100%; }
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Saques / histórico (acessado pelo Conta) estilo foto
   Escopo: .wd-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.wd-page {
  background: #f7f8fa;
}

.wd-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

.wd-page .dash-bottom-nav { display: none !important; }

.wd-page .bd-nav-item { color: #9aa1a9; }
.wd-page .bd-nav-item.active { color: #e23744; }
.wd-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

.wd-page .bd-topbar {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

/* ── Sub-header (voltar · Saques · atualizar) ── */
.wd-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 2px;
}

.wd-back,
.wd-refresh {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.wd-back:hover,
.wd-refresh:hover { background: #eef0f2; }
.wd-back svg, .wd-refresh svg { width: 21px; height: 21px; }

.wd-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

/* ── Lista ── */
.wd-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}

.wd-card {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.wd-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wd-method {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.wd-coin {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  background: #fde3e6;
  color: #e23744;
}

.wd-method__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wd-method__txt strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

.wd-method__txt span {
  font-size: 0.8rem;
  color: #9aa1a9;
}

.wd-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.wd-amount__lbl {
  font-size: 0.8rem;
  color: #9aa1a9;
}

.wd-amount__val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.3px;
}

/* pílulas Status / Rede */
.wd-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.wd-pill {
  background: #f4f5f7;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wd-pill__lbl {
  font-size: 0.76rem;
  color: #9aa1a9;
}

.wd-pill__val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #16181d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wd-status--done { color: #16181d; }
.wd-status--proc { color: #d97706; }
.wd-status--fail { color: #dc2626; }

/* ver detalhes */
.wd-toggle {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border: none;
  border-top: 1px solid #f0f2f4;
  background: transparent;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.wd-toggle:hover { color: #e23744; }

.wd-toggle__chev {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.wd-toggle__chev.up { transform: rotate(180deg); }

.wd-details {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eef0f2;
  border-radius: 12px;
  overflow: hidden;
}

.wd-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f7f8fa;
  padding: 11px 13px;
  font-size: 0.86rem;
  color: #6b7280;
}

.wd-detail strong {
  color: #16181d;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.wd-detail__mono {
  font-size: 0.78rem;
  letter-spacing: 0.2px;
}

/* estados */
.wd-empty {
  text-align: center;
  padding: 48px 20px;
  color: #8a9099;
  font-size: 0.92rem;
}

.wd-empty__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

.wd-empty__sub {
  margin: 0;
  font-size: 0.9rem;
  color: #8a9099;
}
/* Redeem Code — estilo dashboard */

.rc-page {
  min-height: 100vh;
}

.rc-content {
  padding: 18px 16px 28px;
}

.rc-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 14px;
}

.rc-topbar-back {
  width: 34px;
  height: 34px;
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #333;
}

.rc-topbar-back svg {
  width: 20px;
  height: 20px;
}

.rc-topbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
}

.rc-scroll-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-hero {
  background: linear-gradient(135deg, #f7e6a6 0%, #d4af37 100%);
  padding: 26px 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.22);
}

.rc-hero-image {
  width: min(220px, 70%);
  height: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

.rc-hero-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.rc-hero-text {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.95;
  max-width: 360px;
}

.rc-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eceff3;
}

.rc-cell-title {
  flex: 0 0 80px;
  font-size: 14px;
  color: #5b6470;
  font-weight: 600;
}

.rc-cell-value {
  flex: 1;
}

.rc-cell-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #1f2937;
  font-family: inherit;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.rc-cell-input::placeholder {
  color: #a7adb8;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
}

.rc-submit-wrap {
  padding-top: 4px;
}

.rc-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #f7e6a6 0%, #d4af37 100%);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.24);
}

.rc-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.rc-info-section {
  background: #ffffff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #eceff3;
}

.rc-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px;
}

.rc-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #5b6470;
  line-height: 1.45;
}

.rc-info-list li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: #d4af37;
}

/* Modal */
.rc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.38);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
  animation: rc-fade-in 0.18s ease;
}

@keyframes rc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rc-modal {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px 16px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rc-pop-in 0.22s ease;
}

@keyframes rc-pop-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.rc-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
}

.rc-modal-icon--success {
  background: #22c55e;
}

.rc-modal-icon--error {
  background: #ef4444;
}

.rc-modal-icon svg {
  width: 30px;
  height: 30px;
}

.rc-modal-message {
  font-size: 15px;
  font-weight: 500;
  color: #323233;
  margin: 0 0 16px;
  line-height: 1.45;
}

.rc-modal-button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #f7e6a6 0%, #d4af37 100%);
  cursor: pointer;
  font-family: inherit;
}
/* ─── Caixas Box Page ─────────────────────────────────────────────────────── */
.cbox-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  padding-bottom: 48px;
}

.cbox-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 245, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 138, 3, 0.22);
}

.cbox-back-btn,
.cbox-history-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 138, 3, 0.3);
  background: rgba(255, 138, 3, 0.15);
  color: #5a3d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.cbox-back-btn:hover,
.cbox-history-btn:hover {
  background: rgba(255, 138, 3, 0.3);
  border-color: rgba(255, 138, 3, 0.5);
}

.cbox-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.cbox-header-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
  opacity: 0.85;
}

.cbox-header-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff8a03, #f7a93b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Spins Banner ─────────────────────────────────────────────────────────── */
.cbox-spins-banner {
  position: relative;
  margin: 16px 16px 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 138, 3, 0.35);
  background: linear-gradient(135deg, rgba(255, 138, 3, 0.2), rgba(247, 169, 59, 0.15));
  padding: 20px 20px 16px;
  overflow: hidden;
  text-align: center;
}

.cbox-spins-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 138, 3, 0.18), transparent 65%);
  pointer-events: none;
}

.cbox-spins-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.cbox-spins-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b45309;
  opacity: 0.85;
}

.cbox-spins-count {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ff8a03 0%, #f7a93b 60%, #f7d981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(255, 138, 3, 0.4));
}

.cbox-spins-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
  font-size: 12px;
  color: #8a6b3f;
  position: relative;
}
.cbox-spins-meta b { color: #ff8a03; }

/* ─── Error ───────────────────────────────────────────────────────────────── */
.cbox-error {
  margin: 12px 16px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  font-size: 13px;
  text-align: center;
}

/* ─── Box Animation ───────────────────────────────────────────────────────── */
.cbox-animation-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 24px 16px 8px;
  position: relative;
}

.cbox-box-svg {
  transition: transform 0.15s ease;
  filter: drop-shadow(0 8px 32px rgba(255, 138, 3, 0.4));
}

/* Shaking animation */
.cbox-box-svg.phase-shaking {
  animation: cbox-shake 0.18s ease-in-out infinite;
}
@keyframes cbox-shake {
  0%   { transform: rotate(-4deg) scale(1.02); }
  25%  { transform: rotate(4deg) scale(1.04); }
  50%  { transform: rotate(-3deg) scale(1.02); }
  75%  { transform: rotate(3deg) scale(1.04); }
  100% { transform: rotate(-4deg) scale(1.02); }
}

/* Opening animation */
.cbox-box-svg.phase-opening {
  animation: cbox-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes cbox-pop {
  0%   { transform: scale(1); filter: drop-shadow(0 8px 32px rgba(255, 138, 3, 0.4)); }
  40%  { transform: scale(1.18); filter: drop-shadow(0 12px 48px rgba(255, 138, 3, 0.6)); }
  70%  { transform: scale(0.85); }
  100% { transform: scale(1.1); opacity: 0.5; }
}

/* Lid opening */
.cbox-lid-open {
  animation: cbox-lid 0.6s ease-out forwards;
  transform-origin: 70px 48px;
}
@keyframes cbox-lid {
  0%   { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(-55deg) translateY(-30px); }
}

/* Stars */
.cbox-star { animation: cbox-blink 0.4s ease-in-out infinite alternate; }
.cbox-star-1 { animation-delay: 0s; }
.cbox-star-2 { animation-delay: 0.1s; }
.cbox-star-3 { animation-delay: 0.2s; }
.cbox-star-4 { animation-delay: 0.05s; }
@keyframes cbox-blink {
  from { opacity: 0.3; r: 2; }
  to   { opacity: 1; r: 4; }
}

/* ─── Reveal ──────────────────────────────────────────────────────────────── */
.cbox-reveal-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cbox-reveal-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes cbox-reveal-in {
  from { opacity: 0; transform: scale(0.5) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cbox-confetti-layer {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.cbox-confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: cbox-confetti-fall 1.5s ease-out both;
}
.cbox-confetti-1 { left: 15%; top: 10%; background: #f59e0b; animation-delay: 0s; transform: rotate(20deg); }
.cbox-confetti-2 { left: 30%; top: 5%;  background: #10b981; animation-delay: 0.08s; width: 8px; height: 14px; }
.cbox-confetti-3 { left: 50%; top: 8%;  background: #ff8a03; animation-delay: 0.12s; border-radius: 50%; }
.cbox-confetti-4 { left: 70%; top: 4%;  background: #f7d981; animation-delay: 0.06s; transform: rotate(-30deg); }
.cbox-confetti-5 { left: 85%; top: 12%; background: #fbbf24; animation-delay: 0.16s; width: 12px; height: 8px; }
.cbox-confetti-6 { left: 5%;  top: 20%; background: #fb923c; animation-delay: 0.04s; border-radius: 50%; width: 8px; height: 8px; }
.cbox-confetti-7 { left: 90%; top: 25%; background: #34d399; animation-delay: 0.1s; transform: rotate(45deg); }
.cbox-confetti-8 { left: 25%; top: 0%;  background: #fb923c; animation-delay: 0.14s; width: 6px; height: 12px; }
.cbox-confetti-9  { left: 60%; top: 15%; background: #fde68a; animation-delay: 0.02s; border-radius: 50%; }
.cbox-confetti-10 { left: 45%; top: 2%;  background: #ff8a03; animation-delay: 0.18s; transform: rotate(-15deg); }
.cbox-confetti-11 { left: 78%; top: 8%;  background: #fb7185; animation-delay: 0.07s; width: 10px; height: 10px; }
.cbox-confetti-12 { left: 10%; top: 30%; background: #4ade80; animation-delay: 0.13s; border-radius: 50%; width: 7px; height: 7px; }
.cbox-confetti-13 { left: 35%; top: 18%; background: #fde68a; animation-delay: 0.09s; transform: rotate(60deg); }
.cbox-confetti-14 { left: 55%; top: 6%;  background: #f7a93b; animation-delay: 0.15s; width: 12px; height: 6px; }
.cbox-confetti-15 { left: 92%; top: 35%; background: #f97316; animation-delay: 0.03s; border-radius: 50%; }
.cbox-confetti-16 { left: 20%; top: 40%; background: #ff8a03; animation-delay: 0.11s; transform: rotate(-45deg); }
.cbox-confetti-17 { left: 65%; top: 22%; background: #fb923c; animation-delay: 0.17s; border-radius: 50%; width: 9px; height: 9px; }
.cbox-confetti-18 { left: 40%; top: 30%; background: #a3e635; animation-delay: 0.05s; transform: rotate(30deg); }
.cbox-confetti-19 { left: 75%; top: 40%; background: #f472b6; animation-delay: 0.19s; width: 8px; height: 14px; }
.cbox-confetti-20 { left: 8%;  top: 45%; background: #f7d981; animation-delay: 0.01s; border-radius: 50%; width: 6px; height: 6px; }
.cbox-confetti-21 { left: 50%; top: 35%; background: #fbbf24; animation-delay: 0.08s; transform: rotate(75deg); }
.cbox-confetti-22 { left: 82%; top: 50%; background: #34d399; animation-delay: 0.14s; width: 10px; height: 6px; }
.cbox-confetti-23 { left: 28%; top: 55%; background: #60a5fa; animation-delay: 0.06s; border-radius: 50%; }
.cbox-confetti-24 { left: 60%; top: 48%; background: #f87171; animation-delay: 0.12s; transform: rotate(-60deg); }

@keyframes cbox-confetti-fall {
  0%   { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translateY(120px) rotate(360deg) scale(0.5); }
}

/* Prize card */
.cbox-prize-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 32px 20px;
  border-radius: 20px;
  border: 2px solid rgba(255, 138, 3, 0.35);
  background: linear-gradient(135deg, rgba(255, 245, 235, 0.97), rgba(255, 225, 184, 0.97));
  min-width: 220px;
  box-shadow: 0 0 40px rgba(255, 138, 3, 0.25), 0 8px 32px rgba(180, 83, 9, 0.15);
}
.cbox-prize-card.rarity-legendary {
  border-color: #fbbf24;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.4), 0 8px 32px rgba(180, 83, 9, 0.2);
  background: linear-gradient(135deg, rgba(255, 245, 235, 0.97), rgba(253, 230, 138, 0.95));
}
.cbox-prize-card.rarity-epic {
  border-color: #ff8a03;
  box-shadow: 0 0 50px rgba(255, 138, 3, 0.4), 0 8px 32px rgba(180, 83, 9, 0.2);
}
.cbox-prize-card.rarity-rare {
  border-color: #f7d981;
  box-shadow: 0 0 40px rgba(247, 217, 129, 0.3), 0 8px 32px rgba(180, 83, 9, 0.12);
}

.cbox-prize-icon-wrap {
  width: 130px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 138, 3, 0.06);
  border: 1.5px solid rgba(255, 138, 3, 0.2);
  overflow: hidden;
  animation: cbox-icon-pulse 1.2s ease-in-out infinite alternate;
  padding: 8px;
  box-sizing: border-box;
}
.cbox-prize-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.cbox-prize-icon-wrap svg {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
@keyframes cbox-icon-pulse {
  from { box-shadow: 0 0 0 0 rgba(255, 138, 3, 0.3); }
  to   { box-shadow: 0 0 0 14px rgba(255, 138, 3, 0); }
}

.cbox-prize-label {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #5a3d1a;
  text-align: center;
}
.cbox-prize-sub {
  margin: 0;
  font-size: 12px;
  color: #8a6b3f;
  text-align: center;
}

/* ─── Open Button ─────────────────────────────────────────────────────────── */
.cbox-open-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 8px;
}

.cbox-open-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 138, 3, 0.45);
  letter-spacing: 0.01em;
}
.cbox-open-btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 138, 3, 0.6);
}
.cbox-open-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.cbox-open-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cbox-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cbox-spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes cbox-spin {
  to { transform: rotate(360deg); }
}

.cbox-no-spins-tip {
  font-size: 12.5px;
  color: #8a6b3f;
  text-align: center;
  max-width: 280px;
  line-height: 1.5;
  margin: 0;
}

/* ─── Prizes Grid ─────────────────────────────────────────────────────────── */
.cbox-prizes-section {
  margin: 20px 16px 0;
}

.cbox-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #8a6b3f;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.cbox-prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.cbox-prize-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 3, 0.12);
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cbox-prize-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 3, 0.15);
}
.cbox-prize-item.rarity-legendary {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(253, 230, 138, 0.85);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.1);
}
.cbox-prize-item.rarity-epic {
  border-color: rgba(255, 138, 3, 0.35);
  background: rgba(247, 169, 59, 0.15);
  box-shadow: 0 0 12px rgba(255, 138, 3, 0.08);
}
.cbox-prize-item.rarity-rare {
  border-color: rgba(247, 217, 129, 0.3);
  background: rgba(253, 230, 138, 0.2);
}
.cbox-prize-item.rarity-common {
  border-color: rgba(148, 163, 184, 0.2);
}

.cbox-prize-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 138, 3, 0.08);
  flex-shrink: 0;
}
.cbox-prize-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.cbox-prize-item-icon svg {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.cbox-prize-item-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #5a3d1a;
  text-align: center;
  line-height: 1.3;
}

/* ─── History ─────────────────────────────────────────────────────────────── */
.cbox-history-section {
  margin: 20px 16px 0;
}

.cbox-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbox-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 3, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

.cbox-history-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 138, 3, 0.1);
  overflow: hidden;
}
.cbox-history-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.cbox-history-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cbox-history-label {
  font-size: 13px;
  font-weight: 600;
  color: #5a3d1a;
}

.cbox-history-date {
  font-size: 11px;
  color: #8a6b3f;
}

.cbox-history-value {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}

.cbox-empty {
  font-size: 13px;
  color: #8a6b3f;
  text-align: center;
  padding: 16px 0;
  margin: 0;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .cbox-spins-banner { margin: 20px 24px 0; }
  .cbox-prizes-section, .cbox-history-section { margin: 24px 24px 0; }
  .cbox-prizes-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .cbox-prize-item-icon { width: 80px; height: 80px; }
}
/* ─── CycleProducts Page ──────────────────────────────────────────────────── */
.cycle-page {
  background: inherit;
  color: #333333;
}

/* ── Banner topo ─────────────────────────────────── */
.cycle-banner-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
}

.cycle-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  max-height: 200px;
  object-fit: cover;
}

.cycle-storage-title {
  font-size: 1rem;
  font-weight: 800;
  color: #333333;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

/* ── Categoria tabs ──────────────────────────────────── */
.cycle-category-tabs {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.cycle-category-tab {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #666666;
  border-radius: 8px;
  padding: 10px 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cycle-category-tab:hover {
  border-color: #d4af37;
  color: #333333;
}

.cycle-category-tab.active {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

/* ── Estilos herdados do Dashboard (usamos as classes do Dashboard.css) ── */
/* dash-cycle-products-grid, dash-cycle-product-card, etc. */

/* Estilos específicos do CycleProducts */
.dash-cycle-product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #d4af37;
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.dash-cycle-product-min {
  font-size: 0.72rem;
  color: #666666;
  font-weight: 600;
  margin-top: 4px;
}

.dash-cycle-product-card.unavailable {
  opacity: 0.6;
  pointer-events: none;
}

/* ── Stats do card ───────────────────────────────────── */
.dash-cycle-product-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.dash-cycle-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.dash-cycle-stat-label {
  color: #666666;
  font-weight: 500;
}

.dash-cycle-stat-value {
  color: #2d3b44;
  font-weight: 700;
}

/* ── Responsivo ───────────────────────────────────── */
@media (max-width: 480px) {
  .cycle-category-tabs {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Investir (estilo foto: lista de planos verde/clean)
   Escopo: .inv-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.inv-page {
  background: #ffffff;
}

.inv-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

/* esconde a nav inferior compartilhada (indigo) nesta página */
.inv-page .dash-bottom-nav {
  display: none !important;
}

.inv-section-label {
  margin: 6px 2px 0;
  font-size: 0.95rem;
  color: #8a9099;
  font-weight: 500;
}

/* ── Lista de planos ── */
.inv-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inv-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid #eef0f2;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.inv-plan:hover {
  background: #ffffff;
  border-color: #d6efc8;
  box-shadow: 0 8px 20px rgba(75, 163, 45, 0.10);
  transform: translateY(-1px);
}

.inv-plan--off {
  opacity: 0.55;
  cursor: not-allowed;
}

.inv-plan__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.inv-plan__amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16181d;
  letter-spacing: -0.3px;
}

.inv-plan__meta {
  font-size: 0.8rem;
  color: #9aa1a9;
}

.inv-plan__right {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
  white-space: nowrap;
}

.inv-plan__daily {
  font-size: 1.05rem;
  font-weight: 800;
  color: #3f9a2a;
}

.inv-plan__per {
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c585;
}

.inv-plan__off {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b0b6bd;
}

/* ── Ver todos ── */
.inv-more {
  margin-top: 2px;
  width: 100%;
  border: 1px dashed #cfe6c0;
  background: #ffffff;
  color: #3f9a2a;
  border-radius: 14px;
  padding: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.inv-more:hover {
  background: #f3fbef;
  border-color: #4ba32d;
}

.inv-more__chev {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.inv-more__chev.up {
  transform: rotate(180deg);
}

.inv-empty {
  text-align: center;
  padding: 28px 10px;
  color: #8a9099;
  font-size: 0.9rem;
}

/* ── Bloqueio T0 ── */
.inv-blocked {
  text-align: center;
  padding: 36px 18px;
  color: #6b7280;
}

.inv-blocked__emoji { font-size: 44px; margin-bottom: 12px; }
.inv-blocked h3 { color: #16181d; margin: 0 0 8px; font-size: 1.05rem; }
.inv-blocked p { font-size: 0.88rem; max-width: 320px; margin: 0 auto 16px; line-height: 1.5; }

.inv-blocked__btn {
  margin-top: 4px;
  padding: 11px 24px;
  background: linear-gradient(180deg, #54b035, #459b2a);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ── Modal de investimento ── */
.inv-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.inv-modal {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
  max-height: 90vh;
  overflow-y: auto;
  animation: inv-pop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes inv-pop {
  from { transform: translateY(14px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.inv-modal__title { margin: 0 0 4px; font-size: 1.2rem; font-weight: 800; color: #16181d; }
.inv-modal__sub { margin: 0 0 16px; font-size: 0.88rem; color: #8a9099; }

.inv-modal__rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eef0f2;
  border-radius: 14px;
  overflow: hidden;
}

.inv-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f7f8fa;
  padding: 12px 15px;
  font-size: 0.9rem;
  color: #5b626b;
}

.inv-modal__row strong { color: #16181d; font-weight: 800; }
.inv-green { color: #3f9a2a !important; }

.inv-modal__req {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f8fa;
  border: 1px solid #eef0f2;
  font-size: 0.85rem;
  color: #5b626b;
}

.inv-modal__req strong { display: block; margin-bottom: 6px; color: #16181d; }
.inv-modal__req-line { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.inv-ok { color: #3f9a2a; font-weight: 800; }
.inv-no { color: #dc2626; font-weight: 800; }

.inv-modal__actions { margin-top: 18px; display: flex; gap: 10px; }

.inv-modal__btn {
  flex: 1;
  border: none;
  border-radius: 13px;
  padding: 13px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.inv-modal__btn--cancel { background: #f0f2f4; color: #5b626b; }
.inv-modal__btn--ok {
  background: linear-gradient(180deg, #54b035, #459b2a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(63, 140, 38, 0.28);
}
.inv-modal__btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Forma de pagamento do plano (PIX / USDT) ── */
.inv-page .inv-modal__pay-label {
  margin: 18px 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a9099;
  text-align: center;
}

.inv-page .inv-modal__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.inv-page .inv-pay {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid #e6e8eb;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.inv-page .inv-pay:hover:not(:disabled) { transform: translateY(-2px); }
.inv-page .inv-pay:disabled { opacity: 0.6; cursor: not-allowed; }

.inv-page .inv-pay__ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  display: grid; place-items: center;
}
.inv-page .inv-pay__ic svg { width: 20px; height: 20px; }

.inv-page .inv-pay__txt { display: flex; flex-direction: column; line-height: 1.15; }
.inv-page .inv-pay__txt strong { font-size: 0.98rem; font-weight: 800; color: #16181d; }
.inv-page .inv-pay__txt small { font-size: 0.72rem; color: #8a9099; }

.inv-page .inv-pay--pix .inv-pay__ic { background: #d7f4ec; color: #0a9b7d; }
.inv-page .inv-pay--pix:hover:not(:disabled) { border-color: #0a9b7d; box-shadow: 0 8px 18px rgba(10, 155, 125, 0.18); }

.inv-page .inv-pay--usdt .inv-pay__ic { background: #ddf3e6; color: #15a05a; }
.inv-page .inv-pay--usdt:hover:not(:disabled) { border-color: #15a05a; box-shadow: 0 8px 18px rgba(21, 160, 90, 0.18); }

.inv-page .inv-modal__btn--full { flex: 1; }

/* Pagamento com saldo interno — Rendimento / Comissão */
.inv-page .inv-pay--rend .inv-pay__ic { background: #fde3e6; color: #e23744; }
.inv-page .inv-pay--rend:hover:not(:disabled) { border-color: #e23744; box-shadow: 0 8px 18px rgba(226, 55, 68, 0.18); }
.inv-page .inv-pay--com .inv-pay__ic { background: #fdeef0; color: #cf2436; }
.inv-page .inv-pay--com:hover:not(:disabled) { border-color: #cf2436; box-shadow: 0 8px 18px rgba(207, 36, 54, 0.18); }

/* ═══════════════════════════════════════════════════════════════
   Novo Investimento — drawer estilo foto (plano + pagamento + resumo)
═══════════════════════════════════════════════════════════════ */
.ni-label {
  margin: 16px 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a9099;
}
.ni-label:first-of-type { margin-top: 4px; }

/* Card do plano selecionado */
.ni-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #effaf1;
  border: 1.5px solid #1bbf63;
}
.ni-plan-card__left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ni-plan-card__amount { font-size: 1.35rem; font-weight: 800; color: #16181d; }
.ni-plan-card__meta { font-size: 0.8rem; color: #6f8a78; }
.ni-plan-card__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ni-plan-card__daily { font-size: 1rem; font-weight: 800; color: #16a34a; white-space: nowrap; }
.ni-plan-card__daily small { font-size: 0.78rem; font-weight: 700; color: #57b07e; }
.ni-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.ni-check svg { width: 14px; height: 14px; }

/* Trocar plano */
.ni-switch {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid #e6e9ed;
  background: #fff;
  color: #16181d;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
  transition: background 0.15s ease;
}
.ni-switch:hover { background: #f7f8fa; }
.ni-switch__chev { width: 18px; height: 18px; color: #8a9099; transition: transform 0.2s ease; }
.ni-switch__chev.up { transform: rotate(180deg); }

/* Dropdown de planos */
.ni-plan-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding: 5px;
  border-radius: 14px;
  background: #f7f8fa;
}
.ni-plan-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease;
}
.ni-plan-opt__amount { font-size: 0.98rem; font-weight: 800; color: #16181d; }
.ni-plan-opt__meta { font-size: 0.78rem; color: #8a9099; }
.ni-plan-opt:hover { border-color: #1bbf63; }
.ni-plan-opt.is-active { border-color: #1bbf63; background: #effaf1; }
.ni-plan-opt.is-off { opacity: 0.5; cursor: not-allowed; }
.ni-plan-opt.is-off:hover { border-color: transparent; }

/* Requisitos de indicação */
.ni-req {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #fbe7b3;
  font-size: 0.82rem;
  color: #8a6d1a;
}
.ni-req > strong { display: block; margin-bottom: 6px; color: #16181d; font-size: 0.85rem; }
.ni-req__line { display: flex; align-items: center; gap: 7px; padding: 2px 0; }

/* Tipo de pagamento */
.ni-pay-list { display: flex; flex-direction: column; gap: 10px; }
.ni-pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid #e6e9ed;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ni-pay-opt:hover { border-color: #cdd3da; }
.ni-pay-opt.is-active { border-color: #1bbf63; background: #effaf1; }
.ni-pay-opt.is-off { opacity: 0.55; cursor: not-allowed; }
.ni-pay-opt.is-off:hover { border-color: #e6e9ed; }

.ni-pay-opt__ic {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.ni-pay-opt__ic svg { width: 19px; height: 19px; }
.ni-pay-opt__ic--crypto { background: #fff2d6; color: #e2a017; }
.ni-pay-opt__ic--pix { background: #d7f4ec; color: #0a9b7d; }
.ni-pay-opt__ic--bal { background: #eef0f2; color: #8a9099; }

.ni-pay-opt__name { flex: 1; font-size: 0.98rem; font-weight: 700; color: #16181d; }
.ni-pay-opt__amount { font-size: 0.9rem; font-weight: 700; color: #8a9099; }

.ni-pay-opt__check {
  width: 24px; height: 24px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: none; place-items: center; flex-shrink: 0;
}
.ni-pay-opt__check svg { width: 14px; height: 14px; }
.ni-pay-opt.is-active .ni-pay-opt__check { display: grid; }

/* Resumo */
.ni-summary { margin-top: 16px; display: flex; flex-direction: column; }
.ni-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.9rem;
}
.ni-summary__row:last-child { border-bottom: none; }
.ni-summary__row span { color: #8a9099; }
.ni-summary__row strong { color: #16181d; font-weight: 800; }
.ni-summary__row .ni-green { color: #16a34a; }

/* Botão investir */
.ni-invest {
  width: 100%;
  margin-top: 16px;
  height: 54px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(180deg, #28c76f 0%, #16a34a 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.3);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}
.ni-invest:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 30px rgba(22, 163, 74, 0.4); }
.ni-invest:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ═══════════════════════════════════════════════════════════════
   Modal de Sucesso — overlay com efeitos
═══════════════════════════════════════════════════════════════ */
.ni-success-back {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  animation: ns-fade 0.22s ease;
}

@keyframes ns-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ni-success-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  padding: 44px 26px 30px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  animation: ns-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ns-pop {
  from { transform: scale(0.7) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Pulso expandindo a partir do centro do círculo */
.ni-success-ring {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2.5px solid rgba(22, 163, 74, 0.65);
  margin: -40px 0 0 -40px;
  opacity: 0;
  pointer-events: none;
  animation: ns-ring 1.6s ease-out 0.5s infinite;
}

.ni-success-ring--2 {
  animation-delay: 1s;
}

@keyframes ns-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Partículas que explodem do centro do círculo */
.ni-success-burst {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.ni-success-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ns-dot 0.9s ease-out both;
}

@keyframes ns-dot {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
    opacity: 1;
  }
  70% { opacity: 0.7; }
  100% {
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--r)) scale(0.3);
    opacity: 0;
  }
}

/* Círculo verde com checkmark */
.ni-success-circle {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28c76f 0%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 32px rgba(22, 163, 74, 0.5);
  animation: ns-circle-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

@keyframes ns-circle-bounce {
  from { transform: scale(0.2); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ni-success-circle svg {
  width: 44px;
  height: 44px;
}

.ni-check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: ns-draw 0.42s ease 0.5s forwards;
}

@keyframes ns-draw {
  to { stroke-dashoffset: 0; }
}

/* Textos */
.ni-success-title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #16181d;
  animation: ns-up 0.35s ease 0.28s both;
}

.ni-success-sub {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: #8a9099;
  animation: ns-up 0.35s ease 0.36s both;
}

@keyframes ns-up {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Linha do plano */
.ni-success-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  background: #effaf1;
  border: 1.5px solid #bbf7d0;
  margin-bottom: 20px;
  animation: ns-up 0.35s ease 0.44s both;
}

.ni-success-plan-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #16a34a;
}

.ni-success-plan-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

/* Botão Ótimo */
.ni-success-ok {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #28c76f 0%, #16a34a 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  animation: ns-up 0.35s ease 0.52s both;
}

.ni-success-ok:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.48);
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Extrato (/statement) estilo foto
   Escopo: .st-page  (reusa .dash-app / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.st-page {
  background: #f4f6f8;
}

.st-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

.st-page .dash-bottom-nav { display: none !important; }
.st-page .bd-nav-item { color: #9aa1a9; }
.st-page .bd-nav-item.active { color: #e23744; }
.st-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

/* ── Header ── */
.st-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 4px;
}

.st-back {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #16181d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.st-back:hover { background: #e9edf1; }
.st-back svg { width: 22px; height: 22px; }

.st-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16181d;
}

.st-spacer { width: 38px; flex-shrink: 0; }

/* ── Abas ── */
.st-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}

.st-tabs::-webkit-scrollbar { display: none; }

.st-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e6e9ed;
  background: #ffffff;
  color: #5b626b;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.st-tab__ic { display: grid; place-items: center; }
.st-tab__ic svg { width: 16px; height: 16px; }

.st-tab:hover { border-color: #f6cdd2; }

.st-tab.active {
  background: linear-gradient(135deg, #f0444f 0%, #cf2436 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(207, 36, 54, 0.32);
}

/* ── Lista ── */
.st-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 10px;
}

.st-item {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  transition: box-shadow 0.16s ease;
}

.st-item.open { box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08); }

.st-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 14px 15px;
  cursor: pointer;
}

.st-item__ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.st-item__ic svg { width: 20px; height: 20px; }
.st-item__ic--withdraw { background: #fff1e6; color: #f97316; }
.st-item__ic--income   { background: #e8eefb; color: #3b6fe0; }
.st-item__ic--commission { background: #e7f7ec; color: #16a34a; }

.st-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.st-item__info strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #16181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-item__info span {
  font-size: 0.76rem;
  color: #9aa1a9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-item__amt {
  flex-shrink: 0;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 9px;
}

.st-item__amt.pos { color: #16a34a; background: #e7f7ec; }
.st-item__amt.neg { color: #e23744; background: #fde3e6; }

.st-item__chev {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #b6bcc4;
  transition: transform 0.2s ease;
}

.st-item__chev svg { width: 18px; height: 18px; }
.st-item__chev.up { transform: rotate(180deg); }

/* ── Detalhe expandido ── */
.st-item__detail {
  padding: 0 15px 14px;
  animation: st-expand 0.2s ease;
}

@keyframes st-expand {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.st-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f7f8fa;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  padding: 12px 14px;
}

.st-detail-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.st-detail-cell span { font-size: 0.74rem; color: #9aa1a9; }
.st-detail-cell strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #16181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Estados ── */
.st-empty {
  text-align: center;
  padding: 48px 20px;
  color: #8a9099;
  font-size: 0.92rem;
}

.st-empty__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #16181d;
}

.st-empty__sub {
  margin: 0;
  font-size: 0.9rem;
  color: #8a9099;
}
/* ═══════════════════════════════════════════════════════════════
   Titan Labs — Conta (/profile) estilo foto (tema vermelho)
   Escopo: .co-page  (reusa .bd-topbar / .bd-bottomnav do Dashboard.css)
═══════════════════════════════════════════════════════════════ */
.co-page {
  background: #ffffff;
}

.co-page .dash-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 2px 0;
}

/* esconde a nav inferior compartilhada (indigo) nesta página */
.co-page .dash-bottom-nav {
  display: none !important;
}

/* nav inferior (Conta ativa = vermelho) */
.co-page .bd-nav-item { color: #9aa1a9; }
.co-page .bd-nav-item.active { color: #e23744; }
.co-page .bd-nav-item.active .bd-nav-avatar { background: #e23744; color: #fff; }

/* ── Banner ── */
.co-banner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
  margin: 6px 0 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #e23744 0%, #b91d36 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(226, 55, 68, 0.28);
}

.co-banner__feather {
  position: absolute;
  right: -16px;
  bottom: -22px;
  width: 130px;
  height: 130px;
  transform: rotate(8deg);
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.co-banner__feather svg { width: 100%; height: 100%; }

.co-banner__av {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.co-banner__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.co-banner__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-banner__id {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Seções e itens ── */
.co-section-title {
  margin: 14px 4px 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #8a9099;
}

.co-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 1px solid #eef0f2;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.co-item:hover {
  transform: translateY(-1px);
  border-color: #f6cdd2;
  box-shadow: 0 8px 20px rgba(226, 55, 68, 0.1);
}

.co-item__ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fde3e6;
  color: #e23744;
}

.co-item__ic svg { width: 21px; height: 21px; }

.co-item__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.co-item__txt strong {
  font-size: 1rem;
  font-weight: 700;
  color: #16181d;
}

.co-item__txt span {
  font-size: 0.84rem;
  color: #8a9099;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-item__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c3c8ce;
}

.co-item--danger .co-item__ic {
  background: #fdeaea;
  color: #ef4444;
}

.co-item--danger .co-item__txt strong { color: #dc2626; }

/* ── Modal Meus Dados ── */
.co-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(2px);
  animation: co-fade 0.2s ease;
}

@keyframes co-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.co-modal {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
  animation: co-pop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes co-pop {
  from { transform: translateY(14px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.co-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.co-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #16181d;
}

.co-modal__close {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #3a3f47;
  border-radius: 9px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.co-modal__close:hover { background: #f3f5f7; }
.co-modal__close svg { width: 20px; height: 20px; }

.co-modal__rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eef0f2;
  border-radius: 14px;
  overflow: hidden;
}

.co-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f7f8fa;
  padding: 13px 15px;
  font-size: 0.9rem;
  color: #6b7280;
}

.co-modal__row strong { color: #16181d; font-weight: 800; }

.co-modal__btn {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 13px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #f0444f, #cf2436);
  box-shadow: 0 8px 18px rgba(207, 36, 54, 0.28);
}
/* ═══════════════════════════════════════════════════════════════
   Salario Mensal
═══════════════════════════════════════════════════════════════ */

.ms-content {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 60px;
}

/* ── Descrição ── */
.ms-desc {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  margin-bottom: 14px;
}

.ms-desc p {
  margin: 0;
  color: #8a6b3f;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ── Banner header ─────────────────────────────────── */
.ms-banner {
  position: relative;
  border-radius: 16px;
  padding: 22px 20px 18px;
  background: linear-gradient(135deg, #ff8a03 0%, #f7a93b 55%, #f7d981 100%);
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(255, 138, 3, 0.3);
  color: #ffffff;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

.ms-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ms-banner__glow {
  position: absolute;
  border-radius: 50%;
}

.ms-banner__glow--1 {
  width: 200px;
  height: 200px;
  top: -80px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20), transparent 70%);
}

.ms-banner__glow--2 {
  width: 150px;
  height: 150px;
  bottom: -60px;
  left: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.ms-banner__content {
  position: relative;
  z-index: 1;
}

.ms-banner__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #ffffff;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.15s ease;
}

.ms-banner__back:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ms-banner__title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.ms-banner__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ── Modal de feedback ─────────────────────────────── */
.ms-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(90, 61, 26, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ms-overlay-in 0.2s ease;
}

@keyframes ms-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ms-modal {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 18px;
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: ms-modal-in 0.25s ease;
  box-shadow: 0 20px 60px rgba(90, 61, 26, 0.18);
}

@keyframes ms-modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ms-modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ms-modal--error .ms-modal__icon {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.ms-modal--success .ms-modal__icon {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.ms-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.ms-modal--error .ms-modal__title {
  color: #f87171;
}

.ms-modal--success .ms-modal__title {
  color: #34d399;
}

.ms-modal__message {
  margin: 0;
  color: #5a3d1a;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.ms-modal__btn {
  margin-top: 6px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.ms-modal--error .ms-modal__btn {
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #b91c1c;
}

.ms-modal--error .ms-modal__btn:hover {
  filter: brightness(1.15);
}

.ms-modal--success .ms-modal__btn {
  background: rgba(45, 122, 58, 0.18);
  border: 1px solid rgba(45, 122, 58, 0.35);
  color: #2d7a3a;
}

.ms-modal--success .ms-modal__btn:hover {
  filter: brightness(1.15);
}

/* ── Empty / loading card ──────────────────────────── */
.ms-empty-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  color: #8a6b3f;
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 480px;
  width: 100%;
}

/* ── Grid ──────────────────────────────────────────── */
.ms-grid {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Card ──────────────────────────────────────────── */
.ms-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ms-card:hover {
  border-color: rgba(255, 138, 3, 0.40);
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.15);
}

.ms-card__image {
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 3, 0.05);
  border-left: 1px solid rgba(255, 138, 3, 0.12);
  padding: 8px;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
}

.ms-card__image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

/* ── Card body ── */
.ms-card__body {
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.ms-card__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ms-card__salary {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 18px;
  background: linear-gradient(135deg, #ff8a03 0%, #f7a93b 55%, #f7d981 100%);
  gap: 2px;
}

.ms-card__salary small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ms-card__salary strong {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* ── Requirements ── */
.ms-card__requirements {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
}

.ms-req {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.ms-req__label {
  color: #8a6b3f;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ms-req__value {
  color: #ff8a03;
  font-size: 0.82rem;
  font-weight: 800;
}

/* ── CTA Button ── */
.ms-btn {
  width: 100%;
  border: 0;
  border-radius: 0 0 0 0;
  margin-top: auto;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: #ffffff;
  color: #ff8a03;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.ms-btn:hover:not(:disabled) {
  background: #ff8a03;
  color: #ffffff;
}

.ms-btn:disabled {
  background: rgba(255, 245, 235, 0.6);
  color: #8a6b3f;
  cursor: not-allowed;
}
/* ─── Team Expansion Page ─────────────────────────────────────────────────── */
.team-exp-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  min-height: 100vh;
  padding: 24px 16px 100px;
}

.team-exp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.team-exp-back {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 10px;
  padding: 8px;
  color: #5a3d1a;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-exp-back:hover {
  background: rgba(255, 138, 3, 0.15);
}

.team-exp-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #5a3d1a;
  margin: 0;
}

.team-exp-loading {
  text-align: center;
  color: #8a6b3f;
  padding: 48px 0;
  font-size: 0.95rem;
}

/* Summary Cards */
.team-exp-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.team-exp-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-exp-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 138, 3, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8a03;
}

.team-exp-card-icon svg {
  width: 22px;
  height: 22px;
}

.team-exp-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.team-exp-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a3d1a;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-exp-card-label {
  font-size: 0.75rem;
  color: #8a6b3f;
  line-height: 1.2;
}

/* Section Title */
.team-exp-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #5a3d1a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Referral Section */
.team-exp-referral {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.team-exp-referral-desc {
  font-size: 0.85rem;
  color: #8a6b3f;
  margin: 0 0 16px;
  line-height: 1.5;
}

.team-exp-referral-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-exp-ref-code {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-exp-ref-label {
  font-size: 0.85rem;
  color: #8a6b3f;
}

.team-exp-ref-value {
  font-size: 1rem;
  font-weight: 700;
  color: #ff8a03;
  letter-spacing: 1px;
}

.team-exp-ref-link {
  display: flex;
  gap: 8px;
}

.team-exp-ref-input {
  flex: 1;
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #5a3d1a;
  font-size: 0.82rem;
  outline: none;
  min-width: 0;
}

.team-exp-copy-btn {
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.team-exp-copy-btn:hover {
  opacity: 0.9;
}

/* Levels Grid */
.team-exp-levels {
  margin-bottom: 20px;
}

.team-exp-levels-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-exp-level-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 16px;
}

.team-exp-level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.team-exp-level-badge {
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.team-exp-level-commission {
  font-size: 0.78rem;
  color: #16a34a;
  font-weight: 600;
}

.team-exp-level-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.team-exp-level-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.team-exp-level-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #5a3d1a;
}

.team-exp-level-stat-label {
  font-size: 0.7rem;
  color: #8a6b3f;
}

.team-exp-empty {
  text-align: center;
  color: #8a6b3f;
  font-size: 0.9rem;
  padding: 24px 0;
}

/* Commission Table */
.team-exp-commission-info {
  margin-bottom: 20px;
}

.team-exp-commission-table {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  overflow: hidden;
}

.team-exp-commission-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
}

.team-exp-commission-row:last-child {
  border-bottom: none;
}

.team-exp-commission-header {
  background: rgba(255, 138, 3, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff8a03;
}

.team-exp-commission-level {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a3d1a;
}

.team-exp-commission-name {
  font-size: 0.85rem;
  color: #8a6b3f;
}

.team-exp-commission-percent {
  font-size: 0.9rem;
  font-weight: 700;
  color: #16a34a;
  text-align: right;
}

/* Action Buttons */
.team-exp-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.team-exp-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.team-exp-action-btn:hover {
  opacity: 0.9;
}

.team-exp-action-secondary {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  color: #5a3d1a;
}

.team-exp-action-secondary:hover {
  background: rgba(255, 138, 3, 0.15);
}

/* ── Tips ─────────────────────── */
.team-exp-tips {
  margin-bottom: 20px;
}

.team-exp-tip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-exp-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
}

.team-exp-tip-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #5a3d1a;
  line-height: 1.5;
}

.team-exp-tip-item strong {
  color: #ff8a03;
  font-weight: 700;
}

.team-exp-tip-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 520px) {
  .team-exp-summary {
    grid-template-columns: 1fr;
  }
}
.admin-page {
  min-height: 100vh;
  color: #5a3d1a;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  background: #9ca3af;
}

.admin-content {
  width: 100%;
  margin-left: 0;
  padding: 20px 20px 28px;
  box-sizing: border-box;
  background: #9ca3af;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-header h1 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
}

.admin-subtitle {
  margin: 8px 0 0;
  color: #8a6b3f;
}

.admin-header-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-chip {
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-chip.soft {
  background: rgba(255, 245, 235, 0.6);
  border-color: rgba(255, 138, 3, 0.18);
}

.admin-chip--online {
  background: rgba(45, 122, 58, 0.15);
  border-color: rgba(45, 122, 58, 0.4);
  color: #2d7a3a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: admin-pulse-dot 1.6s ease-in-out infinite;
}

@keyframes admin-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.admin-kpi-grid .admin-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-kpi-label {
  font-size: 0.88rem;
  color: #8a6b3f;
  font-weight: 600;
}

.admin-kpi-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #5a3d1a;
  margin-top: 4px;
}

.admin-kpi-sub {
  font-size: 0.85rem;
  color: #8a6b3f;
  margin-top: 2px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.admin-kpi-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 16px;
}

.admin-kpi-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #8a6b3f;
  font-weight: 600;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  color: #5a3d1a;
}

.admin-kpi-card p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #8a6b3f;
}

/* segunda linha de KPIs (depósitos e saques hoje/mês) */
.admin-kpis--split {
  margin-top: 0;
  margin-bottom: 16px;
}

/* card destaque — cadastros hoje */
.admin-kpi-card--highlight {
  border-color: rgba(255, 138, 3, 0.45);
  background: rgba(255, 255, 255, 0.90);
}

.admin-kpi-card--highlight strong {
  color: #ff8a03;
}

/* cards de depósito */
.admin-kpi-card--deposit {
  border-color: rgba(45, 122, 58, 0.45);
  background: rgba(255, 255, 255, 0.90);
}

.admin-kpi-card--deposit strong {
  color: #2d7a3a;
}

.admin-kpi-card--deposit p {
  color: #2d7a3a;
}

/* cards de saque */
.admin-kpi-card--withdraw {
  border-color: rgba(185, 28, 28, 0.45);
  background: rgba(255, 255, 255, 0.90);
}

.admin-kpi-card--withdraw strong {
  color: #b91c1c;
}

.admin-kpi-card--withdraw p {
  color: #b91c1c;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px;
}

.admin-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 14px;
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #5a3d1a;
}

.admin-panel-head span {
  color: #8a6b3f;
  font-size: 0.82rem;
}

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

.admin-shortcuts button {
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.admin-shortcuts button:hover {
  background: rgba(255, 245, 235, 0.9);
}

.admin-status-list {
  margin: 0;
  padding-left: 18px;
  color: #5a3d1a;
  line-height: 1.8;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #8a6b3f;
  font-weight: 700;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status.pending {
  background: rgba(255, 138, 3, 0.12);
  color: #ff8a03;
}

.status.paid {
  background: rgba(45, 122, 58, 0.12);
  color: #2d7a3a;
}

.status.processing {
  background: rgba(255, 138, 3, 0.08);
  color: #8a6b3f;
}

@media (max-width: 1500px) {
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-dash-sidebar {
  position: sticky !important;
  top: 0;
  transform: none !important;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-dash-user-chip {
  margin-top: 10px;
  padding: 8px 10px 12px;
  color: #8a6b3f;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 138, 3, 0.15);
}

.admin-mobile-topbar {
  display: none;
}

.admin-mobile-user {
  min-width: 0;
  display: grid;
}

.admin-mobile-user strong {
  font-size: 0.88rem;
  color: #5a3d1a;
  line-height: 1.1;
}

.admin-mobile-user small {
  font-size: 0.75rem;
  color: #8a6b3f;
  line-height: 1.1;
}

@media (max-width: 1100px) {
  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-shortcuts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-page {
    display: block;
  }

  .admin-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 138, 3, 0.15);
    background: rgba(255, 245, 235, 0.96);
    backdrop-filter: blur(4px);
  }

  .admin-dash-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 50;
    transform: translateX(-100%) !important;
    width: 272px;
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .admin-dash-sidebar.open {
    transform: translateX(0) !important;
  }

  .admin-content {
    padding: 14px 12px 22px;
  }

  .admin-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .admin-header h1 {
    font-size: 1.35rem;
  }

  .admin-subtitle {
    margin-top: 4px;
    font-size: 0.84rem;
  }

  .admin-chip {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .admin-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-kpi-card {
    padding: 12px;
  }

  .admin-kpi-card strong {
    font-size: 1.18rem;
  }

  .admin-panel {
    padding: 12px;
  }

  .admin-panel-head {
    margin-bottom: 8px;
  }

  .admin-panel-head h2 {
    font-size: 0.98rem;
  }

  .admin-panel-head span {
    font-size: 0.74rem;
  }

  .admin-status-list {
    line-height: 1.55;
    font-size: 0.88rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px;
    font-size: 0.83rem;
  }
}

.admin-kpi-error {
  margin: 0 0 12px;
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.38);
  background: rgba(127, 29, 29, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.admin-withdraw-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 0.9fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.admin-withdraw-filter-field {
  display: grid;
  gap: 6px;
}

.admin-withdraw-filter-field label {
  font-size: 0.77rem;
  color: #8a6b3f;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.admin-withdraw-filter-input {
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  padding: 0 12px;
  outline: none;
  font-size: 0.9rem;
}

.admin-withdraw-filter-input::placeholder {
  color: #a08050;
}

.admin-withdraw-filter-input:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 2px rgba(255, 138, 3, 0.15);
}

.admin-withdraw-filter-actions {
  display: flex;
  align-items: stretch;
}

.admin-withdraw-filter-actions .btn {
  width: 100%;
  min-height: 38px;
}

.admin-withdraw-cards {
  display: none;
}

.admin-cycle-form-panel {
  margin-bottom: 16px;
}

.admin-cycle-form-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.admin-cycle-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.admin-cycle-field {
  display: grid;
  gap: 6px;
}

.admin-cycle-field.full {
  grid-column: 1 / -1;
}

.admin-cycle-field label {
  font-size: 0.82rem;
  color: #8a6b3f;
  font-weight: 700;
}

.admin-cycle-field input,
.admin-cycle-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  padding: 10px 12px;
  outline: none;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.admin-cycle-field input::placeholder,
.admin-cycle-field textarea::placeholder {
  color: #a08050;
}

.admin-cycle-field input:focus,
.admin-cycle-field textarea:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 2px rgba(255, 138, 3, 0.15);
}

.admin-cycle-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.admin-cycle-checkbox input {
  width: auto;
}

.admin-cycle-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.admin-cycle-list {
  display: grid;
  gap: 10px;
}

.admin-cycle-item {
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.admin-cycle-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-cycle-item-title {
  color: #5a3d1a;
}

.admin-cycle-item-description {
  margin: 6px 0;
  color: #8a6b3f;
}

.admin-cycle-item-meta {
  margin: 0;
  color: #5a3d1a;
}

.admin-cycle-item-meta.secondary {
  margin-top: 6px;
  color: #8a6b3f;
}

.admin-cycle-item-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.admin-cycle-delete-btn {
  background: rgba(185, 28, 28, 0.15);
  color: #b91c1c;
}

.admin-cycle-delete-btn:hover {
  background: rgba(185, 28, 28, 0.25);
}

/* ── Resumo de saques pendentes ── */
.apw-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.apw-summary-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apw-summary-card--amount {
  border-color: rgba(255, 138, 3, 0.45);
}

.apw-summary-label {
  font-size: 0.78rem;
  color: #8a6b3f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.apw-summary-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #5a3d1a;
  line-height: 1.1;
}

.apw-summary-card--amount .apw-summary-value {
  color: #ff8a03;
}

.apw-summary-sub {
  font-size: 0.76rem;
  color: #8a6b3f;
}

@media (max-width: 480px) {
  .apw-summary {
    grid-template-columns: 1fr;
  }

  .apw-summary-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .admin-withdraw-filters {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .admin-withdraw-filter-actions .btn {
    width: 100%;
  }

  .admin-header-meta {
    width: 100%;
    gap: 6px;
  }

  .admin-chip {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .admin-table-wrap {
    display: none;
  }

  .admin-withdraw-cards {
    display: grid;
    gap: 8px;
  }

  .admin-cycle-item-actions {
    width: 100%;
  }

  .admin-cycle-item-actions .btn {
    flex: 1;
    text-align: center;
  }

  .admin-withdraw-card {
    border: 1px solid rgba(255, 138, 3, 0.22);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 10px;
  }

  .admin-withdraw-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: #5a3d1a;
  }

  .admin-withdraw-row:last-child {
    margin-bottom: 0;
  }

  .admin-withdraw-row strong {
    color: #8a6b3f;
    font-size: 0.78rem;
  }

  .admin-withdraw-row .status {
    font-size: 0.72rem;
    padding: 4px 8px;
  }
}
.admin-users-page .admin-header {
  margin-bottom: 14px;
}

/* Bolinha de presença online na tabela de usuários */
.admin-user-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-online-dot--on {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: admin-dot-pulse 2s infinite;
}

.admin-online-dot--off {
  background: transparent;
}

@keyframes admin-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12); }
}

.admin-users-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.admin-users-panel {
  padding: 12px;
}

.admin-users-table-wrap {
  overflow-x: auto;
}

.admin-users-table td,
.admin-users-table th {
  vertical-align: middle;
}

.admin-users-input {
  width: 100%;
  min-width: 140px;
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
}

.admin-users-input:focus {
  border-color: #ff8a03;
}

.admin-users-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-users-actions button {
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 600;
}

.admin-users-actions button:hover {
  background: #fff5eb;
}

.admin-users-actions .warn {
  border-color: rgba(185, 28, 28, 0.45);
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.admin-users-actions .warn:hover {
  background: rgba(185, 28, 28, 0.22);
}

.admin-users-actions .soft {
  border-color: rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.6);
  color: #8a6b3f;
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-user-badge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 3, 0.45);
  background: rgba(255, 138, 3, 0.12);
  color: #ff8a03;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .admin-users-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-users-panel {
    padding: 10px;
  }

  .admin-users-table th,
  .admin-users-table td {
    font-size: 0.82rem;
    padding: 8px;
  }

  .admin-users-actions button {
    font-size: 0.78rem;
    padding: 5px 8px;
  }
}
.admin-user-details-page .admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-back-btn {
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-back-btn:hover {
  background: #fff5eb;
}

.admin-user-identity h2 {
  margin: 0 0 10px;
}

.admin-user-identity p {
  margin: 6px 0;
  color: #8a6b3f;
}

.admin-user-metrics-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
}

@media (max-width: 1200px) {
  .admin-user-metrics-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 860px) {
  .admin-user-details-page .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-user-metrics-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

.admin-user-list-panel {
  margin-top: 14px;
}

.admin-user-list-panel h3 {
  margin: 0;
}

.admin-user-list {
  display: grid;
  gap: 10px;
}

.admin-user-list-item,
.admin-user-log-item {
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-user-list-item p,
.admin-user-log-item p {
  margin: 4px 0 0;
  color: #8a6b3f;
}

.admin-user-log-item small {
  color: #5a3d1a;
}

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

.admin-toggle-logs-btn {
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #5a3d1a;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-toggle-logs-btn:hover {
  background: #fff5eb;
}

.admin-log-hint {
  margin: 6px 0 0;
  color: #8a6b3f;
}

.admin-balance-adjust-form {
  display: grid;
  gap: 12px;
}

.admin-balance-adjust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
}

.admin-balance-adjust-grid label {
  display: grid;
  gap: 6px;
  color: #8a6b3f;
  font-size: 13px;
}

.admin-balance-adjust-grid input,
.admin-balance-adjust-grid select {
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  border-radius: 10px;
  padding: 9px 10px;
}

.admin-balance-adjust-reason {
  grid-column: span 1;
}

.admin-balance-feedback-success,
.admin-balance-feedback-error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.admin-balance-feedback-success {
  color: #22c55e;
}

.admin-balance-feedback-error {
  color: #f87171;
}

/* ── Cards de convidados por nível de comissão ── */
.admin-kpi-card--referral {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-kpi-card--referral .admin-kpi-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a6b3f;
  margin: 0;
}

.admin-kpi-commission-badge {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.admin-kpi-card--referral .admin-kpi-value {
  font-size: 2rem;
  font-weight: 800;
  color: #5a3d1a;
  line-height: 1.1;
}

.admin-kpi-sub {
  font-size: 0.78rem;
  color: #8a6b3f;
  font-weight: 600;
}


@media (max-width: 560px) {
  .admin-user-metrics-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-user-list-item,
  .admin-user-log-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-balance-adjust-grid {
    grid-template-columns: 1fr;
  }
}
.floating-toast-wrap {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2500;
  pointer-events: none;
}

.floating-toast {
  position: relative;
  min-width: 280px;
  max-width: min(92vw, 420px);
  border-radius: 12px;
  padding: 12px 42px 12px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto;
  border: 1px solid transparent;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
  animation: floating-toast-in 180ms ease-out;
}

.floating-toast p {
  margin: 0;
  color: #f8fafc;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
}

.floating-toast-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-top: 5px;
  flex: 0 0 auto;
}

.floating-toast-success {
  background: linear-gradient(180deg, rgba(21, 128, 61, 0.96), rgba(20, 83, 45, 0.92));
  border-color: rgba(74, 222, 128, 0.55);
}

.floating-toast-success .floating-toast-dot {
  background: #86efac;
}

.floating-toast-error {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.96), rgba(127, 29, 29, 0.92));
  border-color: rgba(248, 113, 113, 0.58);
}

.floating-toast-error .floating-toast-dot {
  background: #fca5a5;
}

.floating-toast-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
}

.floating-toast-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes floating-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .floating-toast-wrap {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .floating-toast {
    min-width: 0;
    max-width: 100%;
  }
}
/* ── Botão Ver Detalhes ── */
.auw-detail-btn {
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  border: 1px solid rgba(255, 138, 3, 0.45);
  color: #ffffff;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.auw-detail-btn:hover {
  filter: brightness(1.05);
}

.auw-detail-btn--full {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

/* ── Modal backdrop ── */
.auw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(90, 61, 26, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* ── Modal container ── */
.auw-modal {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(90, 61, 26, 0.18);
}

/* ── Modal header ── */
.auw-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.22);
  flex-shrink: 0;
}

.auw-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #5a3d1a;
}

.auw-modal-close {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.22);
  color: #8a6b3f;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.auw-modal-close:hover {
  background: #fff5eb;
  color: #5a3d1a;
}

/* ── Modal body ── */
.auw-modal-body {
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* ── Sections ── */
.auw-modal-section {
  background: rgba(255, 245, 235, 0.5);
  border: 1px solid rgba(255, 138, 3, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
}

.auw-modal-section-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6b3f;
}

/* ── Grid de campos ── */
.auw-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.auw-modal-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auw-modal-field--full {
  grid-column: 1 / -1;
}

.auw-modal-label {
  font-size: 0.72rem;
  color: #8a6b3f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auw-modal-value {
  font-size: 0.88rem;
  color: #5a3d1a;
  word-break: break-all;
}

.auw-value-highlight {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff8a03;
}

.auw-mono {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #8a6b3f;
}

/* ── Modal footer ── */
.auw-modal-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255, 138, 3, 0.22);
  flex-shrink: 0;
}

.auw-modal-btn-close {
  width: 100%;
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  border: 1px solid rgba(255, 138, 3, 0.45);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.auw-modal-btn-close:hover {
  filter: brightness(1.05);
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .auw-modal {
    max-height: 95vh;
    border-radius: 14px;
  }

  .auw-modal-header {
    padding: 14px 14px 12px;
  }

  .auw-modal-body {
    padding: 12px 14px;
    gap: 12px;
  }

  .auw-modal-grid {
    grid-template-columns: 1fr;
  }

  .auw-modal-field--full {
    grid-column: 1;
  }

  .auw-modal-footer {
    padding: 12px 14px 16px;
  }
}
.roulette-code-page {
  display: flex;
  min-height: 100vh;
}

.roulette-code-content {
  flex: 1;
  padding: 24px;
}

.roulette-code-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.roulette-code-title {
  margin: 0;
  font-size: 1.8rem;
  color: #5a3d1a;
}

.roulette-code-subtitle {
  margin: 6px 0 0;
  color: #8a6b3f;
  font-size: 0.95rem;
}

.roulette-code-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(90, 61, 26, 0.12);
}

.roulette-code-card-head {
  margin-bottom: 14px;
}

.roulette-code-card-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #5a3d1a;
}

.roulette-code-card-head p {
  margin: 6px 0 0;
  color: #8a6b3f;
  font-size: 0.9rem;
}

.roulette-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.roulette-code-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roulette-code-field.full {
  grid-column: 1 / -1;
}

.roulette-code-field label {
  font-size: 0.85rem;
  color: #8a6b3f;
  font-weight: 600;
}

.roulette-code-field input,
.roulette-code-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.roulette-code-field input:focus,
.roulette-code-field textarea:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 3px rgba(255, 138, 3, 0.15);
}

.roulette-code-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.roulette-code-btn {
  border: none;
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.roulette-code-hint {
  margin-top: 12px;
  color: #8a6b3f;
  font-size: 0.88rem;
}

.roulette-code-feedback {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d7a3a;
}

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

  .roulette-code-content {
    padding: 16px;
  }
}
.admin-branding-page {
  min-height: 100vh;
}

.admin-branding-content {
  width: 100%;
}

.admin-branding-card {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(90, 61, 26, 0.12);
}

.admin-branding-head {
  margin-bottom: 16px;
}

.admin-branding-head h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #5a3d1a;
}

.admin-branding-head p {
  margin: 8px 0 0;
  color: #8a6b3f;
  line-height: 1.45;
}

.admin-branding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-branding-field {
  display: grid;
  gap: 6px;
}

.admin-branding-field.full {
  grid-column: 1 / -1;
}

.admin-branding-field span {
  font-size: 0.82rem;
  color: #8a6b3f;
  font-weight: 700;
}

.admin-branding-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  padding: 10px 12px;
  outline: none;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.admin-branding-field input::placeholder {
  color: #a08050;
}

.admin-branding-field input:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 2px rgba(255, 138, 3, 0.18);
}

.admin-branding-preview {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 138, 3, 0.28);
  background: rgba(255, 245, 235, 0.6);
}

.admin-branding-preview h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #5a3d1a;
}

.admin-branding-preview-box {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.admin-branding-logo {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: #fff5eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-branding-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-branding-logo-fallback {
  font-size: 0.75rem;
  color: #8a6b3f;
  text-align: center;
  padding: 6px;
}

.admin-branding-meta strong {
  display: block;
  color: #5a3d1a;
  font-size: 1.02rem;
}

.admin-branding-meta small {
  display: block;
  margin-top: 4px;
  color: #8a6b3f;
  font-size: 0.8rem;
}

.admin-branding-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.admin-branding-actions button {
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  border: 1px solid rgba(255, 138, 3, 0.45);
  color: #ffffff;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.admin-branding-actions button:hover {
  filter: brightness(1.08);
}

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

  .admin-branding-preview-box {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-branding-actions {
    justify-content: stretch;
  }

  .admin-branding-actions button {
    width: 100%;
  }
}
.admin-roulette-prob-page {
  min-height: 100vh;
  color: #5a3d1a;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
}

.admin-roulette-prob-content {
  width: 100%;
  margin-left: 0;
  padding: 20px 20px 28px;
  box-sizing: border-box;
}

.admin-roulette-prob-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 16px;
}

.admin-roulette-prob-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #5a3d1a;
}

.admin-roulette-prob-subtitle {
  margin: 8px 0 0;
  color: #8a6b3f;
  font-size: 0.92rem;
}

.admin-roulette-prob-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-roulette-prob-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
  align-items: center;
}

.admin-roulette-prob-label {
  color: #5a3d1a;
  font-weight: 600;
}

.admin-roulette-prob-input-wrap {
  position: relative;
}

.admin-roulette-prob-input {
  width: 100%;
  border: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.8);
  color: #5a3d1a;
  border-radius: 10px;
  padding: 10px 28px 10px 10px;
  box-sizing: border-box;
  outline: none;
  font-size: 0.92rem;
}

.admin-roulette-prob-input:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 2px rgba(255, 138, 3, 0.15);
}

.admin-roulette-prob-percent {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a6b3f;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-roulette-prob-total {
  margin-top: 14px;
  font-weight: 700;
}

.admin-roulette-prob-total.ok {
  color: #2d7a3a;
}

.admin-roulette-prob-total.bad {
  color: #b91c1c;
}

.admin-roulette-prob-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-roulette-prob-save-btn {
  border: 1px solid rgba(255, 138, 3, 0.45);
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-roulette-prob-save-btn:disabled {
  background: #d4c9b8;
  color: #9a8a6f;
  cursor: not-allowed;
}

.admin-roulette-prob-feedback {
  margin-top: 12px;
  color: #8a6b3f;
  font-weight: 600;
}

.admin-roulette-prob-feedback--error {
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
}

@media (max-width: 1100px) {
  .admin-roulette-prob-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-roulette-prob-page {
    display: block;
  }

  .admin-roulette-prob-content {
    padding: 14px 12px 22px;
  }

  .admin-roulette-prob-title {
    font-size: 1.25rem;
  }

  .admin-roulette-prob-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* ─── Admin Caixas Box Page ───────────────────────────────────────────────── */
.acb-page {
  min-height: 100vh;
  color: #5a3d1a;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
}

.acb-content {
  width: 100%;
  padding: 20px 20px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ─── Feedback ────────────────────────────────────────────────────────────── */
.acb-feedback {
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.acb-feedback--success {
  background: rgba(45, 122, 58, 0.12);
  border: 1px solid rgba(45, 122, 58, 0.35);
  color: #2d7a3a;
}
.acb-feedback--error {
  background: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.35);
  color: #b91c1c;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.acb-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.acb-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #5a3d1a;
}

.acb-subtitle {
  margin: 6px 0 0;
  color: #8a6b3f;
  font-size: 0.9rem;
}

/* ─── Stats ───────────────────────────────────────────────────────────────── */
.acb-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.acb-stat-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acb-stat-card--ok { border-color: rgba(45, 122, 58, 0.45); }
.acb-stat-card--warn { border-color: rgba(255, 138, 3, 0.45); }

.acb-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6b3f;
}

.acb-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #5a3d1a;
}
.acb-stat-card--ok .acb-stat-value { color: #2d7a3a; }
.acb-stat-card--warn .acb-stat-value { color: #ff8a03; }

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.acb-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 12px;
  padding: 16px;
}
.acb-card--compact { padding: 14px 16px; }

.acb-card-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5a3d1a;
}

.acb-loading {
  color: #8a6b3f;
  font-size: 0.9rem;
  margin: 0;
  padding: 8px 0;
}

/* ─── By prize list ───────────────────────────────────────────────────────── */
.acb-by-prize-list { display: flex; flex-direction: column; gap: 6px; }
.acb-by-prize-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 245, 235, 0.5);
}
.acb-by-prize-label { font-size: 13px; color: #5a3d1a; }
.acb-by-prize-count { font-size: 13px; font-weight: 700; color: #ff8a03; }

/* ─── Table ───────────────────────────────────────────────────────────────── */
.acb-table-wrap {
  overflow-x: auto;
  display: block;
}

.acb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 700px;
}

.acb-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6b3f;
  border-bottom: 1px solid rgba(255, 138, 3, 0.22);
  background: rgba(255, 245, 235, 0.6);
}

.acb-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
  color: #5a3d1a;
  vertical-align: middle;
}

.acb-table tr:last-child td { border-bottom: none; }
.acb-table tr:hover td { background: rgba(255, 245, 235, 0.5); }
.acb-row--inactive td { opacity: 0.5; }

.acb-td--muted { color: #8a6b3f; }

/* ─── Badges ──────────────────────────────────────────────────────────────── */
.acb-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.acb-badge--cash { background: rgba(45,122,58,0.12); color: #2d7a3a; border: 1px solid rgba(45,122,58,0.3); }
.acb-badge--physical { background: rgba(255,138,3,0.12); color: #ff8a03; border: 1px solid rgba(255,138,3,0.3); }

.acb-active-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.acb-active-badge--on { background: rgba(45,122,58,0.12); color: #2d7a3a; }
.acb-active-badge--off { background: rgba(160,128,80,0.15); color: #8a6b3f; }

.acb-prob { font-weight: 700; color: #ff8a03; }
.acb-prob--zero { color: #b91c1c; }

.acb-code {
  font-family: monospace;
  font-size: 12px;
  background: rgba(255,138,3,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ff8a03;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.acb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.acb-btn:hover:not(:disabled) { opacity: 0.88; }
.acb-btn:active:not(:disabled) { transform: scale(0.97); }
.acb-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.acb-btn--primary { background: linear-gradient(135deg, #ffb347, #ff8a03); color: #ffffff; border: 1px solid rgba(255,138,3,0.45); }
.acb-btn--edit    { background: rgba(255,138,3,0.15); color: #ff8a03; border: 1px solid rgba(255,138,3,0.35); padding: 6px 10px; }
.acb-btn--danger  { background: rgba(185,28,28,0.12); color: #b91c1c; border: 1px solid rgba(185,28,28,0.35); padding: 6px 10px; }
.acb-btn--ghost   { background: rgba(255,245,235,0.6); color: #5a3d1a; border: 1px solid rgba(255,138,3,0.22); }

.acb-actions { display: flex; gap: 6px; }
.acb-actions--mobile { margin-top: 8px; }

/* ─── Prob warn ───────────────────────────────────────────────────────────── */
.acb-prob-warn {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,138,3,0.10);
  border: 1px solid rgba(255,138,3,0.30);
  color: #ff8a03;
  font-size: 0.88rem;
  margin: 0;
}

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.acb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(90,61,26,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.acb-modal {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,138,3,0.22);
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.acb-modal--sm { max-width: 380px; }

.acb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,138,3,0.22);
}
.acb-modal-header h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #5a3d1a; }

.acb-modal-close {
  background: none;
  border: none;
  color: #8a6b3f;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.acb-modal-close:hover { color: #5a3d1a; }

.acb-modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.acb-modal-body p { margin: 0; color: #5a3d1a; }

.acb-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,138,3,0.22);
}

/* ─── Form fields ─────────────────────────────────────────────────────────── */
.acb-field { display: flex; flex-direction: column; gap: 5px; }
.acb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.acb-label {
  font-size: 12px;
  font-weight: 600;
  color: #8a6b3f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.acb-required { color: #b91c1c; }

.acb-input {
  background: rgba(255,245,235,0.8);
  border: 1px solid rgba(255,138,3,0.22);
  color: #5a3d1a;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
  box-sizing: border-box;
}
.acb-input:focus { border-color: #ff8a03; box-shadow: 0 0 0 2px rgba(255,138,3,0.15); }
.acb-input:disabled { opacity: 0.4; cursor: not-allowed; }
.acb-input option { background: #fff5eb; }

.acb-hint { font-size: 11px; color: #a08050; }

.acb-field--check { flex-direction: row; align-items: center; }
.acb-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #5a3d1a;
  font-size: 0.9rem;
}
.acb-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ff8a03;
  cursor: pointer;
}

/* ─── Image thumbnail (table) ─────────────────────────────────────────────── */
.acb-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: rgba(255,245,235,0.6);
  border: 1px solid rgba(255,138,3,0.18);
}

.acb-thumb-empty {
  color: #8a6b3f;
  font-size: 13px;
}

/* ─── Image preview (modal) ───────────────────────────────────────────────── */
.acb-img-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.acb-img-preview {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255,138,3,0.22);
  background: rgba(255,245,235,0.6);
}

/* ─── Mobile thumb ─────────────────────────────────────────────────────────── */
.acb-mobile-thumb-wrap {
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
}

.acb-mobile-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,138,3,0.18);
  background: rgba(255,245,235,0.6);
}

/* ─── Mobile cards ────────────────────────────────────────────────────────── */
.acb-mobile-cards { display: none; flex-direction: column; gap: 10px; }
.acb-mobile-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,138,3,0.22);
  border-radius: 10px;
  padding: 12px 14px;
}
.acb-mobile-card--inactive { opacity: 0.55; }
.acb-mobile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,138,3,0.12);
  font-size: 13px;
}
.acb-mobile-row:last-child { border-bottom: none; }
.acb-mobile-row > span:first-child { color: #8a6b3f; font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .acb-page { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .acb-page { display: block; }
  .acb-content { padding: 14px 12px 32px; }
  .acb-title { font-size: 1.4rem; }
  .acb-table-wrap { display: none; }
  .acb-mobile-cards { display: flex; }
  .acb-field-row { grid-template-columns: 1fr; }
  .acb-stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .acb-stats-row { grid-template-columns: 1fr; }
  .acb-modal { border-radius: 10px; }
}
/* ── AdminShopProducts ───────────────────────────────────── */

.admin-shop-products-page .admin-content { padding: 28px 32px; }

.asp-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
}

/* ── Card ─────────────────────────────────────────────────── */
.asp-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  padding: 24px;
}

.asp-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #5a3d1a;
}

/* ── Form ─────────────────────────────────────────────────── */
.asp-form { display: flex; flex-direction: column; gap: 14px; }

.asp-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.asp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 160px;
}

.asp-field-lg { flex: 2; min-width: 220px; }

.asp-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8a6b3f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.asp-field input,
.asp-field select,
.asp-field textarea {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: #5a3d1a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.asp-field input:focus,
.asp-field select:focus,
.asp-field textarea:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 3px rgba(255, 138, 3, 0.15);
}

.asp-field select option { background: #fff5eb; }
.asp-field textarea { resize: vertical; }

.asp-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #8a6b3f;
  cursor: pointer;
}

.asp-checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent, #6366f1);
  cursor: pointer;
}

.asp-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

/* ── List header ──────────────────────────────────────────── */
.asp-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.asp-list-header .asp-card-title { margin-bottom: 0; }

.asp-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.asp-search,
.asp-select {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: #5a3d1a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s;
}

.asp-search { width: 220px; }
.asp-search:focus, .asp-select:focus { border-color: #ff8a03; }
.asp-search::placeholder { color: #a08050; }
.asp-select option { background: #fff5eb; }

/* ── Table ────────────────────────────────────────────────── */
.asp-table-wrap { overflow-x: auto; }

.asp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.asp-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8a6b3f;
  border-bottom: 1px solid rgba(255, 138, 3, 0.18);
  white-space: nowrap;
}

.asp-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.12);
  color: #5a3d1a;
  vertical-align: middle;
}

.asp-table tbody tr:last-child td { border-bottom: none; }
.asp-table tbody tr:hover td { background: rgba(255, 245, 235, 0.5); }
.asp-row-inactive td { opacity: 0.5; }

.asp-td-id { color: #8a6b3f; font-size: 0.78rem; width: 48px; }
.asp-td-price { font-weight: 700; color: #ff8a03; white-space: nowrap; }

/* ── Product name cell ────────────────────────────────────── */
.asp-product-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asp-product-img {
  width: 32px; height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.asp-product-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffb347, #ff8a03);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* ── Category chips ───────────────────────────────────────── */
.asp-cat {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

.asp-cat-games     { background: rgba(255,138,3,0.10); color: #ff8a03; }
.asp-cat-streaming { background: rgba(185,28,28,0.10);  color: #b91c1c; }
.asp-cat-musica    { background: rgba(45,122,58,0.10);  color: #2d7a3a; }
.asp-cat-compras   { background: rgba(255,138,3,0.10); color: #ff8a03; }
.asp-cat-social    { background: rgba(255,138,3,0.10); color: #ff8a03; }
.asp-cat-outros    { background: rgba(90,61,26,0.10); color: #5a3d1a; }

/* ── Toggle ───────────────────────────────────────────────── */
.asp-toggle {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.asp-toggle-on  { background: rgba(45,122,58,0.12); color: #2d7a3a; }
.asp-toggle-off { background: rgba(160,128,80,0.12); color: #8a6b3f; }
.asp-toggle-on:hover  { background: rgba(45,122,58,0.22); }
.asp-toggle-off:hover { background: rgba(160,128,80,0.22); }

/* ── Row actions ──────────────────────────────────────────── */
.asp-row-actions { display: flex; gap: 6px; }

/* ── Misc ─────────────────────────────────────────────────── */
.asp-loading,
.asp-empty {
  font-size: 0.9rem;
  color: #8a6b3f;
  padding: 24px 0;
  text-align: center;
}

/* ── Image upload ─────────────────────────────────────────── */
.asp-image-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.asp-image-preview {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px dashed rgba(255, 138, 3, 0.28);
  background: rgba(255, 245, 235, 0.6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s;
}

.asp-image-preview:hover {
  border-color: #ff8a03;
}

.asp-image-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.asp-image-preview-placeholder {
  font-size: 1.6rem;
  opacity: 0.5;
}

.asp-image-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.asp-image-url-input {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: #5a3d1a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.asp-image-url-input:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 3px rgba(255, 138, 3, 0.15);
}

.asp-image-url-input::placeholder { color: #a08050; }

.asp-upload-btn {
  align-self: flex-start;
  font-size: 0.82rem !important;
  padding: 7px 14px !important;
  white-space: nowrap;
}

.asp-clear-img-btn {
  align-self: flex-start;
  font-size: 0.78rem !important;
  padding: 5px 10px !important;
}

/* ── Botão accent ─────────────────────────────────────────── */
.btn.accent {
  background: rgba(255, 138, 3, 0.10);
  color: #ff8a03;
  border: 1px solid rgba(255, 138, 3, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn.accent:hover { background: rgba(255, 138, 3, 0.20); }

/* ── Stock panel ──────────────────────────────────────────── */
.asp-stock-card {
  border-color: rgba(99,102,241,0.25);
}

.asp-stock-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.asp-stock-header .asp-card-title { margin-bottom: 4px; }

.asp-stock-sub {
  font-size: 0.82rem;
  color: #8a6b3f;
  margin: 0;
}

.asp-stock-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.asp-stock-stat {
  background: rgba(255, 245, 235, 0.6);
  border: 1px solid rgba(255, 138, 3, 0.18);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 90px;
}

.asp-stock-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5a3d1a;
}

.asp-stock-stat span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6b3f;
}

.asp-stock-available strong { color: #2d7a3a; }
.asp-stock-used     strong { color: #b91c1c; }

.asp-stock-add {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.asp-stock-add-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8a6b3f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.asp-stock-hint {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #a08050;
  background: rgba(255, 245, 235, 0.6);
  border-radius: 5px;
  padding: 2px 8px;
}

.asp-stock-textarea {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-family: 'Courier New', monospace;
  color: #5a3d1a;
  outline: none;
  resize: vertical;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.asp-stock-textarea:focus {
  border-color: #ff8a03;
  box-shadow: 0 0 0 3px rgba(255, 138, 3, 0.15);
}

.asp-stock-textarea::placeholder { color: #a08050; }

/* ── Codes table ──────────────────────────────────────────── */
.asp-codes-table .asp-code-cell {
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  background: rgba(255, 138, 3, 0.08);
  border-radius: 5px;
  padding: 2px 8px;
  color: #ff8a03;
  letter-spacing: 0.04em;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .admin-shop-products-page .admin-content { padding: 20px 16px; }
  .asp-search { width: 160px; }
}

@media (max-width: 600px) {
  .asp-list-header { flex-direction: column; }
  .asp-filters { width: 100%; }
  .asp-search { flex: 1; width: auto; }
}
/* Estilos genéricos de CRUD admin (usados por AdminVipLevels e AdminVipPhotos) */
.admin-mini-tasks-page {
  background: #9ca3af;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }

.btn.primary {
  background: #ff8a03;
  color: #ffffff;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #5a3d1a;
  border: 1px solid rgba(90, 61, 26, 0.25);
}

.btn.danger {
  background: rgba(185, 28, 28, 0.9);
  color: #ffffff;
}

.admin-mini-wrap {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1100px) {
  .admin-mini-wrap {
    grid-template-columns: 1fr;
  }
}

.admin-mini-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.admin-mini-card-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #5a3d1a;
}

.admin-mini-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-mini-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.admin-mini-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a3d1a;
}

.admin-mini-field input,
.admin-mini-field select,
.admin-mini-field textarea {
  border: 1px solid rgba(90, 61, 26, 0.25);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 0.9rem;
  background: #ffffff;
  color: #1f2937;
}

.admin-mini-field input:focus,
.admin-mini-field select:focus,
.admin-mini-field textarea:focus {
  outline: 2px solid rgba(255, 138, 3, 0.35);
  border-color: rgba(255, 138, 3, 0.6);
}

.admin-mini-field-checkbox {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #5a3d1a;
  cursor: pointer;
}

.admin-mini-image-preview {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-mini-image-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(90, 61, 26, 0.2);
  background: #fff;
}

.admin-mini-image-error {
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-mini-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.admin-mini-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

.admin-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.6);
}

.admin-mini-table th,
.admin-mini-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(90, 61, 26, 0.15);
  white-space: nowrap;
}

.admin-mini-table th {
  color: #5a3d1a;
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-mini-table-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(90, 61, 26, 0.15);
}

.admin-mini-no-img {
  color: #9ca3af;
  font-size: 0.8rem;
}

.admin-mini-badge {
  display: inline-block;
  background: rgba(255, 138, 3, 0.12);
  color: #b45309;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.78rem;
}

.admin-mini-status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-mini-status.active {
  background: rgba(45, 122, 58, 0.15);
  color: #2d7a3a;
}

.admin-mini-status.inactive {
  background: rgba(148, 163, 184, 0.2);
  color: #64748b;
}

.admin-mini-row-actions {
  display: flex;
  gap: 8px;
}
/* ─── VIP Photos Grid ─────────────────────────────────────── */

.vip-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  padding: 0 1rem 2rem;
}

.vip-photo-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.vip-photo-card:hover {
  border-color: #ff8a03;
}

.vip-photo-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 245, 235, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vip-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #8a6b3f;
  font-size: 0.85rem;
}

.vip-photo-info {
  padding: 0.9rem 1rem 0.5rem;
}

.vip-photo-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #5a3d1a;
  font-weight: 600;
}

.vip-photo-info p {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.85rem;
  color: #8a6b3f;
}

.vip-photo-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vip-photo-status.active {
  background: rgba(45, 122, 58, 0.12);
  color: #2d7a3a;
}

.vip-photo-status.inactive {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.vip-photo-upload-btn {
  margin: 0.6rem 1rem 1rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a03, #e67600);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.vip-photo-upload-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.vip-photo-upload-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wb-preview {
  aspect-ratio: 2.6 / 1;
}

.wb-link-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #8a6b3f;
}

.wb-link-input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  box-sizing: border-box;
}

.wb-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0.6rem 1rem 1rem;
}

.wb-btn-grow {
  margin: 0;
  flex: 1;
}

.wb-state-msg {
  padding: 2rem;
  color: #6b6b6b;
  text-align: center;
}

.wb-state-msg--error {
  color: #ff5252;
}
/* ── AdminCycleOrders ───────────────────────────────────────────── */

/* Summary strip */
.aco-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.aco-summary-card {
  flex: 1 1 140px;
  background: #1e2736;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aco-summary-label {
  font-size: 11px;
  color: #8a9ab5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aco-summary-value {
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
}

/* Color helpers */
.aco-c-orange { color: #f59e0b; }
.aco-c-red    { color: #ef4444; }
.aco-c-green  { color: #34d399; }

/* Filters row */
.aco-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.aco-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.aco-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #8a9ab5;
  cursor: pointer;
  transition: all 0.18s;
}

.aco-tab:hover {
  border-color: rgba(99,102,241,0.4);
  color: #c7d2fe;
}

.aco-tab.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.aco-search {
  flex: 1 1 200px;
  max-width: 320px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1e2736;
  color: #e2e8f0;
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s;
}

.aco-search::placeholder { color: #556070; }

.aco-search:focus {
  border-color: rgba(99,102,241,0.5);
}

/* Error / loading / empty */
.aco-error  { color: #ef4444; margin-bottom: 12px; font-size: 14px; }
.aco-loading,
.aco-empty  { padding: 30px; text-align: center; color: #8a9ab5; }
.aco-count  { font-size: 12px; color: #8a9ab5; margin-top: 10px; text-align: right; }

/* Table tweaks */
.aco-table th,
.aco-table td {
  white-space: nowrap;
}

/* User cell */
.aco-user-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.aco-user-name  { font-size: 13px; font-weight: 600; color: #e2e8f0; }
.aco-user-phone { font-size: 11px; color: #8a9ab5; }

/* Status badges */
.aco-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.aco-badge--ongoing {
  color: #f59e0b;
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.35);
}

.aco-badge--expired {
  color: #ef4444;
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.35);
}

.aco-badge--completed {
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.35);
}

/* User button */
.aco-user-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.aco-user-btn:hover {
  background: rgba(99,102,241,0.28);
  color: #c7d2fe;
}

.aco-user-btn--full {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  text-align: center;
}

/* Mobile cards */
.aco-cards {
  display: none;
}

.aco-card {
  background: #1e2736;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.aco-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.aco-card-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aco-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 8px;
}

.aco-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8a9ab5;
}

.aco-card-row span:last-child {
  color: #e2e8f0;
  font-weight: 600;
}

/* Responsive: hide table, show cards */
@media (max-width: 720px) {
  .admin-table-wrap .aco-table { display: none; }
  .aco-cards { display: block; }
  .aco-summary-card { flex-basis: calc(50% - 5px); }
}
/* ═══════════════════════════════════════════════════════
   About Page — tema laranja TRK
═══════════════════════════════════════════════════════ */

.about-page,
.dash-app.about-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  position: relative;
  z-index: 2;
}

.about-page .dash-main {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: inherit;
}

.about-page .dash-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px;
  background: rgba(255, 245, 235, 0.98);
  border-right: 1px solid rgba(255, 138, 3, 0.22);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
}

.about-page .dash-sidebar.open {
  transform: translateX(0);
}

.about-page .dash-bottom-nav {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(70px + env(safe-area-inset-bottom));
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: rgba(255, 245, 235, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 138, 3, 0.22);
  box-shadow: 0 -4px 20px rgba(255, 138, 3, 0.12);
}

.about-page .dash-bottom-nav button {
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b5a3f;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.about-page .dash-bottom-nav button.active {
  background: rgba(255, 138, 3, 0.15);
  color: #ff8a03;
}

.about-page .dash-bottom-nav small {
  font-size: 0.72rem;
  font-weight: 600;
}

.about-page .dash-bottom-nav span {
  font-size: 1.1rem;
}

.about-page .icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.about-page .dash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(95, 61, 26, 0.4);
  z-index: 20;
  cursor: pointer;
}

.about-page .dash-content {
  display: grid;
  gap: 12px;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: 90px;
}

/* ── Sidebar nav ─────────────────────────────── */
.about-page .dash-nav {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.about-page .dash-nav-group-title {
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6b3f;
  margin-bottom: 2px;
}

.about-page .dash-nav-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #5a3d1a;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
}

.about-page .dash-nav-item.active,
.about-page .dash-nav-item:hover {
  background: rgba(255, 138, 3, 0.12);
  border-color: rgba(255, 138, 3, 0.35);
  color: #ff8a03;
}

.about-page .dash-logout.side {
  margin-top: auto;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #b91c1c;
  border-radius: 12px;
  padding: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-page .dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 16px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.22);
}

.about-page .dash-brand strong {
  display: block;
  font-size: 0.98rem;
  color: #5a3d1a;
}

.about-page .dash-brand small {
  color: #8a6b3f;
  font-size: 0.78rem;
}

/* ── Foto principal ── */
.about-photo-section {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.2);
  margin-top: 16px;
}

.about-photo-main {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Texto sobre nós ── */
.about-text-section {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 18px 16px;
}

.about-text-paragraph {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #5a3d1a;
  line-height: 1.6;
}

.about-text-paragraph:last-child {
  margin-bottom: 0;
}

/* ── Fotos da equipe ── */
.about-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-photo-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 138, 3, 0.15);
}

.about-photo {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Certificado ── */
.about-certificate-section {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 138, 3, 0.2);
}

.about-certificate-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Desktop layout ── */
@media (min-width: 860px) {
  .about-page,
  .dash-app.about-page {
    display: grid;
    grid-template-columns: 272px 1fr;
    padding: 0;
  }

  .about-page .dash-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    transform: none;
  }

  .about-page .dash-overlay,
  .about-page .dash-bottom-nav {
    display: none;
  }

  .about-page .dash-main {
    padding: 0 0 0 286px;
  }

  .about-page .dash-content {
    padding: 14px;
    padding-bottom: 14px;
  }
}/* ═══════════════════════════════════════════════════════
   Introduction Page — same layout as Dashboard/About
═══════════════════════════════════════════════════════ */

.intro-page,
.dash-app.intro-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  position: relative;
  z-index: 2;
}

.intro-page .dash-main {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: inherit;
}

.intro-page .dash-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px;
  background: rgba(255, 245, 235, 0.98);
  border-right: 1px solid rgba(255, 138, 3, 0.22);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
}

.intro-page .dash-sidebar.open {
  transform: translateX(0);
}

.intro-page .dash-bottom-nav {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(70px + env(safe-area-inset-bottom));
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: rgba(255, 245, 235, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 138, 3, 0.22);
  box-shadow: 0 -4px 20px rgba(255, 138, 3, 0.12);
}

.intro-page .dash-bottom-nav button {
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b5a3f;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.intro-page .dash-bottom-nav button.active {
  background: rgba(255, 138, 3, 0.15);
  color: #ff8a03;
}

.intro-page .dash-bottom-nav small {
  font-size: 0.72rem;
  font-weight: 600;
}

.intro-page .dash-bottom-nav span {
  font-size: 1.1rem;
}

.intro-page .icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.intro-page .dash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(95, 61, 26, 0.4);
  z-index: 20;
  cursor: pointer;
}

.intro-page .dash-content {
  display: grid;
  gap: 12px;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: 90px;
}

/* ── Sidebar nav ─────────────────────────────── */
.intro-page .dash-nav {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.intro-page .dash-nav-group-title {
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6b3f;
  margin-bottom: 2px;
}

.intro-page .dash-nav-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #5a3d1a;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
}

.intro-page .dash-nav-item.active,
.intro-page .dash-nav-item:hover {
  background: rgba(255, 138, 3, 0.12);
  border-color: rgba(255, 138, 3, 0.35);
  color: #ff8a03;
}

.intro-page .dash-logout.side {
  margin-top: auto;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #b91c1c;
  border-radius: 12px;
  padding: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-page .dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 16px;
  border-bottom: 1px solid rgba(255, 138, 3, 0.22);
}

.intro-page .dash-brand strong {
  display: block;
  font-size: 0.98rem;
  color: #5a3d1a;
}

.intro-page .dash-brand small {
  color: #8a6b3f;
  font-size: 0.78rem;
}

/* ── Back button ─────────────────────────────── */
.intro-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #ff8a03, #f7a93b);
  border: none;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 138, 3, 0.3);
  transition: opacity 0.18s, transform 0.15s;
  align-self: flex-start;
}

.intro-back:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.intro-back:active {
  opacity: 0.8;
  transform: scale(0.98);
}

/* ── Hero Banner ─────────────────────────────── */
.intro-hero {
  background: transparent;
  color: #5a3d1a;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: none;
  margin-top: 16px;
  border: 1px solid rgba(255, 138, 3, 0.22);
}

.intro-hero__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
  color: #ff8a03;
}

.intro-hero__title {
  margin: 0 0 6px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #5a3d1a;
}

.intro-hero__subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
  color: #5a3d1a;
}

/* ── Section ──────────────────────────────────── */
.intro-section {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 138, 3, 0.22);
  border-radius: 16px;
  padding: 18px 16px 6px;
  box-shadow: 0 6px 22px -16px rgba(0, 0, 0, 0.22);
}

.intro-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #b35c00;
  font-weight: 800;
}

.intro-section p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #2e333d;
}

.intro-section strong {
  color: #b35c00;
}

/* ── Brands ────────────────────────────────────── */
.intro-brands {
  display: inline;
  margin: 0 0 14px;
}

.intro-brands span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b35c00;
}

.intro-brands span:not(:last-child)::after {
  content: ', ';
  color: #2e333d;
  font-weight: 400;
}

/* ── List ─────────────────────────────────────── */
.intro-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 14px;
  display: grid;
  gap: 10px;
}

.intro-list__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff7ec;
  border: 1px solid #ffe1b8;
  padding: 12px 14px;
  border-radius: 12px;
}

.intro-list__item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: #b35c00;
  font-weight: 800;
}

.intro-list__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3b424d;
  text-align: left;
}

.intro-list__number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff8a03, #ff5f03);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 10px -4px rgba(255, 95, 3, 0.6);
}

/* ── Certificado de incorporação ──────────────── */
.intro-certificate {
  margin: 16px 0 10px;
  background: #fdfaf2;
  border: 1px solid #c9b984;
  border-radius: 10px;
  padding: 34px 32px 30px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2a2a2a;
  box-shadow:
    0 2px 0 #c9b984 inset,
    0 -2px 0 #c9b984 inset,
    0 12px 30px -18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.intro-certificate::before,
.intro-certificate::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #8a6f22 0 6px,
    transparent 6px 12px
  );
  opacity: 0.6;
}

.intro-certificate::before { top: 10px; }
.intro-certificate::after  { bottom: 10px; }

.intro-certificate__stamp {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a02c2c;
  border: 2px solid #a02c2c;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 2px;
  transform: rotate(-6deg);
  opacity: 0.85;
}

.intro-certificate__header {
  text-align: center;
  margin-bottom: 22px;
}

.intro-certificate__crown {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  display: block;
  color: #6d4c0f;
}

.intro-certificate__office {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #6d4c0f;
  text-transform: uppercase;
  margin: 2px 0 0;
}

.intro-certificate__main-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin: 18px 0 6px;
  text-transform: uppercase;
  text-align: center;
}

.intro-certificate__subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3a3a3a;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.intro-certificate__number {
  font-size: 0.85rem;
  text-align: center;
  color: #2a2a2a;
  margin: 0 0 18px;
}

.intro-certificate__number strong {
  font-weight: 700;
  letter-spacing: 1px;
}

.intro-certificate__body {
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
  margin: 0 0 6px;
  color: #2a2a2a;
}

.intro-certificate__company-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 14px 0;
  color: #1a1a1a;
  text-transform: uppercase;
}

.intro-certificate__issued {
  text-align: center;
  margin: 22px 0 20px;
  font-size: 0.88rem;
  color: #2a2a2a;
  font-style: italic;
}

.intro-certificate__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 12px;
  border-top: 1px solid #c9b984;
}

.intro-certificate__seal {
  width: 56px;
  height: 56px;
  border: 2px solid #6d4c0f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6d4c0f;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);
}

.intro-certificate__signature {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.intro-certificate__entity {
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #6d4c0f;
  font-weight: 700;
  text-transform: uppercase;
}

/* ── Desktop layout ── */
@media (min-width: 860px) {
  .intro-page,
  .dash-app.intro-page {
    display: grid;
    grid-template-columns: 272px 1fr;
    padding: 0;
  }

  .intro-page .dash-sidebar,
  .dash-app.intro-page .dash-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    transform: none;
  }

  .intro-page .dash-overlay,
  .intro-page .dash-bottom-nav {
    display: none;
  }

  .intro-page .dash-main,
  .dash-app.intro-page .dash-main {
    padding: 0 0 0 286px;
  }

  .intro-page .dash-content,
  .dash-app.intro-page .dash-content {
    padding: 14px;
  }
}:root {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  color: #5a3d1a;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 211, 138, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 3, 0.28), transparent 34%),
    linear-gradient(170deg, #fff5eb 0%, #ffe1b8 50%, #fec075 100%);
  background-attachment: fixed;
  z-index: -1;
  pointer-events: none;
}

#root {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background: inherit;
}

/* ═══════════════════════════════════════
   ANIMATED BACKGROUND (disabled — TRK uses App.css body bg)
═══════════════════════════════════════ */

.bg-animation {
  display: none;
}

/* Grid overlay removed per user request */

/* Floating particles (disabled) */
.particles {
  display: none;
}

/* ═══════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════ */

.auth-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

/* ═══════════════════════════════════════
   CARD SHELL
═══════════════════════════════════════ */

.auth-shell {
  width: min(980px, 100%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(59, 130, 246, 0.08);
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-shell-no-banner {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.login-invite-notice {
  background: linear-gradient(135deg, #0b1e45, #0f2a5c);
  border-radius: 10px;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 2;
  margin-bottom: 18px;
}

.login-invite-highlight {
  color: #facc15;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   HERO / PHOTO PANEL
═══════════════════════════════════════ */

.hero-panel {
  position: relative;
  min-height: 220px;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) brightness(0.9);
}

.login-banner-panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(56, 189, 248, 0.24), transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(37, 99, 235, 0.24), transparent 46%),
    linear-gradient(155deg, #020617 0%, #0b1633 48%, #10224a 100%);
  margin-right: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pglm-banner-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform 0.7s ease-in-out;
}

.pglm-banner-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pglm-banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.58));
  z-index: 1;
}

.pglm-banner-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.8);
}

.pglm-banner-bg-glow {
  position: absolute;
  inset: 14% 16%;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 72%);
  filter: blur(18px);
}

.pglm-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 16px;
}

.pglm-banner-kicker {
  margin: 0 0 10px;
  color: rgba(186, 230, 253, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pglm-banner-title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #dbeafe;
  text-shadow:
    0 0 18px rgba(59, 130, 246, 0.55),
    0 0 44px rgba(37, 99, 235, 0.4);
}

.pglm-banner-subtitle {
  margin: 10px 0 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.92rem;
}

.pglm-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.pglm-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.45);
  transition: all 0.2s ease;
}

.pglm-banner-dot.active {
  width: 20px;
  background: #38bdf8;
}

.pglm-banner-lightning {
  position: absolute;
  width: 78px;
  height: 140px;
  z-index: 2;
  fill: #38bdf8;
  filter:
    drop-shadow(0 0 6px rgba(56, 189, 248, 0.95))
    drop-shadow(0 0 16px rgba(59, 130, 246, 0.75));
  animation: pglmLightningPulse 1.8s ease-in-out infinite;
}

.pglm-banner-lightning.left {
  left: 9%;
  top: 23%;
  transform: rotate(-8deg);
}

.pglm-banner-lightning.right {
  right: 9%;
  top: 34%;
  transform: scaleX(-1) rotate(-6deg);
  animation-delay: 0.35s;
}

@keyframes pglmLightningPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06);
  }
}

/* ── Invite Banner Panel ──────────────────────────────────────────────── */
.login-invite-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pglm-invite-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.pglm-invite-glow-1 {
  width: 220px;
  height: 220px;
  top: -30px;
  left: -40px;
  background: rgba(56, 189, 248, 0.22);
}

.pglm-invite-glow-2 {
  width: 180px;
  height: 180px;
  bottom: -20px;
  right: -30px;
  background: rgba(52, 211, 153, 0.2);
}

.pglm-invite-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pglm-invite-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.6));
  animation: pglmInviteFloat 2.4s ease-in-out infinite;
}

@keyframes pglmInviteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.pglm-invite-kicker {
  margin: 0;
  color: rgba(186, 230, 253, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pglm-invite-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 900;
  color: #dbeafe;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.pglm-invite-reward {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 16px;
  padding: 10px 22px;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
}

.pglm-invite-currency {
  color: #34d399;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 6px;
}

.pglm-invite-value {
  color: #34d399;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.55);
  letter-spacing: -1px;
}

.pglm-invite-desc {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pglm-invite-desc strong {
  color: #7dd3fc;
}

.pglm-invite-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.pglm-invite-step {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.pglm-invite-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b63ff, #2563eb);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pglm-invite-step-arrow {
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.85rem;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 20px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.hero-overlay h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.hero-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════
   FORM PANEL
═══════════════════════════════════════ */

.form-panel {
  background: #ffffff;
  padding: 24px;
}

.form-panel h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.subtitle {
  margin: 8px 0 20px;
  color: #64748b;
  font-size: 0.93rem;
}

/* ═══════════════════════════════════════
   AUTH FORM (shared login + register)
═══════════════════════════════════════ */

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.auth-form input[type='text'],
.auth-form input[type='email'],
.auth-form input[type='tel'],
.auth-form input[type='password'] {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.96rem;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #64748b;
  opacity: 0.95;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.input-with-icon input[type='text'],
.input-with-icon input[type='email'],
.input-with-icon input[type='tel'],
.input-with-icon input[type='password'] {
  padding-left: 38px;
}

.auth-form input[type='text']:focus,
.auth-form input[type='email']:focus,
.auth-form input[type='tel']:focus,
.auth-form input[type='password']:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

/* Row (remember-me + forgot) */
.row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #475569;
  font-size: 0.88rem;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}

/* Links */
.text-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.text-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.text-link.bold {
  font-weight: 700;
  font-size: 0.92rem;
}

/* Submit button */
.auth-form button {
  margin-top: 6px;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: 0.2px;
}

.auth-form button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.auth-form button:active {
  transform: translateY(0);
}

.auth-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.auth-form button:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.4);
  outline-offset: 2px;
}

/* Feedback messages */
.feedback {
  margin: 12px 0 0;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.feedback.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Switch page (login ↔ register) */
.switch-page {
  margin: 16px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
}

/* Social links */
.social-links-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.social-links-title {
  margin: 0 0 10px;
  text-align: center;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.social-link-button {
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.social-link-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.social-link-button:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.social-link-button.instagram {
  background: linear-gradient(135deg, #fd1d1d 0%, #c13584 45%, #833ab4 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(193, 53, 132, 0.25);
}

.social-link-button.youtube {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.25);
}

.social-link-button.telegram {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.28);
}

/* ═══════════════════════════════════════
   DESKTOP LAYOUT
═══════════════════════════════════════ */

@media (min-width: 860px) {
  .auth-page {
    padding: 24px;
  }

  .auth-shell {
    grid-template-columns: 1.1fr 1fr;
    min-height: 580px;
  }

  .auth-shell-no-banner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-panel {
    min-height: 100%;
  }

  .login-banner-panel {
    margin-right: 16px;
  }

  .form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
  }
}

/* ═══════════════════════════════════════
   FLOATING SUPPORT BUTTON
═══════════════════════════════════════ */
.support-float-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
}

.support-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.support-float-btn:active {
  transform: scale(0.95);
}
