*,
*::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;
}
:root {
  --dash-border: rgba(43, 215, 106, 0.22);
  --dash-text: #1a5a32;
  --dash-muted: #3f8a5a;
}

.dash-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px;
  background: rgba(238, 252, 243, 0.98);
  border-right: 1px solid var(--dash-border);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.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, #2bd76a, #8eeab0);
  color: #1a5a32;
}

.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;
  padding-bottom: 12px;
}

.dash-nav-group-title {
  margin: 10px 4px 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dash-muted);
  font-weight: 700;
}

.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: rgba(43, 215, 106, 0.15);
  border-color: rgba(43, 215, 106, 0.35);
  color: #2bd76a;
}

.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;
}

.dash-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: none;
  background: rgba(26, 90, 50, 0.4);
}

.dash-topbar.app-sidebar-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.app-sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.app-sidebar-vip-btn {
  border: 1px solid rgba(43, 215, 106, 0.45);
  background: linear-gradient(135deg, rgba(43, 215, 106, 0.55), rgba(84, 222, 135, 0.55));
  color: #1a5a32;
  border-radius: 12px;
  height: 42px;
  padding: 0 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.app-sidebar-vip-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(43, 215, 106, 0.8);
}

.app-sidebar-vip-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  border-color: rgba(148, 184, 161, 0.35);
  background: rgba(195, 244, 213, 0.45);
  color: #94b8a1;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background: rgba(238, 252, 243, 0.9);
  color: var(--dash-text);
  font-size: 1.15rem;
  cursor: pointer;
}

.user-chip.app-sidebar-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 252, 246, 0.9);
  border: 1px solid var(--dash-border);
  border-radius: 14px;
  padding: 8px 10px;
  min-width: 0;
  flex: 1;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2bd76a, #8eeab0);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1a5a32;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.6) 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 90%, rgba(125, 230, 164, 0.5) 0 36%, transparent 37%);
  opacity: 0.9;
}

.avatar {
  font-size: 0;
}

.user-chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dash-text);
}

.user-chip p {
  margin: 2px 0 0;
  color: var(--dash-muted);
  font-size: 0.78rem;
}

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

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

@media (min-width: 860px) {
  .dash-sidebar {
    position: sticky;
    top: 0;
    transform: none;
    height: 100vh;
  }

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

  .dash-topbar.app-sidebar-topbar {
    margin-bottom: 18px;
  }
}

/* ── Bottom navigation bar (shared across pages) ── */
.dash-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(43, 215, 106, 0.22);
  display: flex;
  padding: 6px 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(43, 215, 106, 0.15);
  z-index: 1000;
  gap: 0;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.dash-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px;
  border: none;
  background: transparent;
  color: #3f6b4f;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
  border-radius: 10px;
  margin: 0 3px;
}

.dash-bottom-nav button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Ícone central (Tarefas) animado — "se mexe sozinho" */
.dash-bottom-nav button svg.nav-anim {
  transform-origin: center;
  animation: evh-nav-bounce 1.8s ease-in-out infinite;
}

@keyframes evh-nav-bounce {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  20% { transform: translateY(-3px) scale(1.12) rotate(-4deg); }
  40% { transform: translateY(0) scale(1) rotate(0deg); }
  55% { transform: translateY(-2px) scale(1.06) rotate(3deg); }
  70% { transform: translateY(0) scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .dash-bottom-nav button svg.nav-anim { animation: none; }
}

.dash-bottom-nav button small {
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
}

.dash-bottom-nav button.active {
  background: rgba(43, 215, 106, 0.15);
  color: #2bd76a;
  transform: translateY(-2px);
}

.dash-bottom-nav button:active {
  transform: translateY(0) scale(0.97);
}

@media (min-width: 768px) {
  .dash-bottom-nav {
    display: none;
  }
}
/* ═══════════════════════════════════════════════════
   Notificações — layout EVH
═══════════════════════════════════════════════════ */

.nt-list { display: flex; flex-direction: column; gap: 10px; }

.nt-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--evh-card, #ffffff);
  border: 1px solid var(--evh-line, #e3f5e8);
  box-shadow: 0 6px 18px rgba(19, 101, 44, 0.06);
}
.nt-item--unread { background: #f8fefa; border-color: rgba(43, 215, 106, 0.28); }

.nt-item__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
}
.nt-item__icon svg { width: 20px; height: 20px; }
.nt-item__icon--green { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.nt-item__icon--blue { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.nt-item__icon--gold { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.nt-item__icon--teal { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.nt-item__icon--red { background: linear-gradient(135deg, #f87171, #dc2626); }

.nt-item__body { flex: 1; min-width: 0; }
.nt-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.nt-item__title { margin: 0; font-size: 0.92rem; font-weight: 800; color: var(--evh-ink, #13301a); }
.nt-item__time { flex: 0 0 auto; font-size: 0.72rem; color: var(--evh-muted, #66856d); white-space: nowrap; }
.nt-item__text { margin: 3px 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--evh-muted, #66856d); }

.nt-item__dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--evh-brand, #2bd76a);
}

/* ── Vazio ── */
.nt-empty {
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.nt-empty__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand, #2bd76a);
  margin-bottom: 4px;
}
.nt-empty__title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--evh-ink, #13301a); }
.nt-empty__text { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--evh-muted, #66856d); max-width: 320px; }
/* ═══════════════════════════════════════════════════════════════
   EVH AUTH — telas de Login e Cadastro (roxo / preto / branco)
   Layout split-screen: painel de marca + coluna de formulário.
═══════════════════════════════════════════════════════════════ */

.evh-auth {
  --evh-brand: #2bd76a;
  --evh-brand-2: #5ae08a;
  --evh-ink: #13301a;
  --evh-muted: #66856d;
  --evh-line: #dff2e3;
  --evh-field: #f9fdfa;
  --evh-bg: #ffffff;

  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--evh-bg);
  color: var(--evh-ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Painel de marca ──────────────────────────── */
.evh-auth__panel {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #13652c 0%, #25c058 55%, #5ae08a 100%);
}

.evh-auth__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.evh-auth__ring--a {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -220px;
}

.evh-auth__ring--b {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -160px;
  border-color: rgba(255, 255, 255, 0.1);
}

.evh-auth__ring--c {
  width: 130px;
  height: 130px;
  right: 20%;
  bottom: -80px;
  border-color: rgba(255, 255, 255, 0.16);
}

.evh-auth__panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  text-align: center;
}

/* ── Marca / logo ─────────────────────────────── */
.evh-auth__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
}

.evh-auth__bolt {
  width: 30px;
  height: 29px;
}

.evh-auth__logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
}

.evh-auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 6px 13px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  backdrop-filter: blur(6px);
}

.evh-auth__badge svg {
  width: 14px;
  height: 14px;
}

/* ── Coluna de conteúdo ───────────────────────── */
.evh-auth__content {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 32px;
}

.evh-auth__topbar {
  display: flex;
  justify-content: flex-end;
}

.evh-auth__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--evh-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--evh-brand);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.evh-auth__lang svg {
  width: 16px;
  height: 16px;
}

/* ── Card ─────────────────────────────────────── */
.evh-auth__card {
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.evh-auth__card-head {
  padding: 0 0 20px;
  border-bottom: 0;
  background: none;
}

.evh-auth__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--evh-ink);
}

.evh-auth__subtitle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--evh-muted);
}

/* ── Formulário ───────────────────────────────── */
.evh-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evh-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--evh-field);
  border: 1.5px solid var(--evh-line);
  padding: 15px 14px 5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.evh-input:focus-within {
  border-color: var(--evh-brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.1);
}

.evh-input__badge {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: none;
  color: var(--evh-brand);
  box-shadow: none;
  margin-bottom: 8px;
}

.evh-input__badge svg {
  width: 19px;
  height: 19px;
}

.evh-input__ddi {
  font-size: 14px;
  font-weight: 600;
  color: var(--evh-ink);
  margin-bottom: 8px;
}

.evh-input input {
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--evh-ink);
  font-size: 15px;
  font-weight: 500;
  padding: 0 2px 8px;
}

.evh-input input::placeholder {
  color: #9bb5a2;
  font-weight: 400;
}

.evh-input__eye {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--evh-muted);
  padding: 4px;
  margin-bottom: 6px;
  cursor: pointer;
  display: inline-flex;
  border-radius: 50%;
  transition: color 0.15s ease;
}

.evh-input__eye:hover {
  color: var(--evh-ink);
}

.evh-input__eye svg {
  width: 18px;
  height: 18px;
}

/* ── Lembrar ──────────────────────────────────── */
.evh-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--evh-ink);
  cursor: pointer;
  user-select: none;
}

.evh-remember__box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  border: 1.5px solid #bbe6c6;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.evh-remember__box svg {
  width: 12px;
  height: 12px;
}

.evh-remember__box[data-checked='true'] {
  background: var(--evh-brand);
  border-color: var(--evh-brand);
  color: #ffffff;
}

.evh-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;
}

/* ── Botão principal ──────────────────────────── */
.evh-submit {
  margin-top: 4px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.28);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.evh-submit:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.evh-submit:active:not(:disabled) {
  transform: translateY(0);
}

.evh-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Troca login/cadastro ─────────────────────── */
.evh-switch {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--evh-muted);
}

.evh-switch__link {
  color: var(--evh-brand);
  font-weight: 700;
  text-decoration: none;
}

.evh-switch__link:hover {
  text-decoration: underline;
}

/* ── Feedback ─────────────────────────────────── */
.evh-feedback {
  margin: 0 0 16px 0;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  animation: feedback-slide-in 0.22s ease;
}

@keyframes feedback-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.evh-feedback--ok {
  background: #edfcf3;
  color: #187d3e;
  border: 1px solid #bff3d1;
}

.evh-feedback--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ── Footer ───────────────────────────────────── */
.evh-auth__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 30px;
}

.evh-auth__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--evh-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--evh-brand);
  padding: 11px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.evh-auth__download:hover {
  border-color: var(--evh-brand);
  transform: translateY(-1px);
}

.evh-auth__download svg {
  width: 16px;
  height: 16px;
}

.evh-auth__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--evh-line);
  background: #ffffff;
  color: var(--evh-brand);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.evh-auth__support:hover {
  border-color: var(--evh-brand);
  transform: translateY(-1px);
}

.evh-auth__support svg {
  width: 20px;
  height: 20px;
}

/* ── Desktop: split-screen ─────────────────────── */
@media (min-width: 900px) {
  .evh-auth {
    flex-direction: row;
  }

  .evh-auth__panel {
    flex: 0 0 42%;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .evh-auth__panel-content {
    padding: 40px;
  }

  .evh-auth__bolt {
    width: 44px;
    height: 42px;
  }

  .evh-auth__logo-text {
    font-size: 48px;
    letter-spacing: 5px;
  }

  .evh-auth__content {
    flex: 1 1 auto;
    max-width: 480px;
    margin: 0;
    padding: 32px 56px 40px;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .evh-auth__topbar {
    position: absolute;
    top: 32px;
    right: 56px;
  }
}

@media (min-width: 640px) and (max-width: 899.98px) {
  .evh-auth__content {
    max-width: 440px;
  }
}

/* ── Modal de erro (Login/Cadastro) ── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(19, 48, 26, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: auth-modal-fade 0.18s ease;
}

@keyframes auth-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(4, 21, 10, 0.35);
  animation: auth-modal-pop 0.22s ease;
}

@keyframes auth-modal-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f87171, #dc2626);
  color: #ffffff;
}
.auth-modal-icon svg { width: 28px; height: 28px; }

.auth-modal-message {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--evh-ink, #13301a);
  font-weight: 600;
}

.auth-modal-button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  cursor: pointer;
  font-family: inherit;
}

/* ── Toast de erro/sucesso na página de login ── */
.evh-auth-toast {
  position: fixed !important;
  z-index: 4000 !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  pointer-events: auto !important;
}
/* ═══════════════════════════════════════════════════════════════
   EVH CAPTCHA — copie as letras exibidas ao lado
═══════════════════════════════════════════════════════════════ */

.evh-captcha {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evh-captcha__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evh-captcha__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--evh-ink, #13301a);
}

.evh-captcha__reload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--evh-muted, #66856d);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.evh-captcha__reload:hover:not(:disabled) {
  color: var(--evh-brand, #2bd76a);
  transform: rotate(90deg);
}

.evh-captcha__reload:disabled {
  opacity: 0.35;
  cursor: default;
}

.evh-captcha__reload svg {
  width: 15px;
  height: 15px;
}

.evh-captcha__row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.evh-captcha__code {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #f1fbf3, #f1fbf3 6px, #e9faee 6px, #e9faee 12px);
  border: 1.5px solid var(--evh-line, #dff2e3);
  overflow: hidden;
  user-select: none;
}

.evh-captcha__code--ok {
  border-color: #86e0b0;
}

.evh-captcha__noise {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 1.5px;
  background: rgba(43, 215, 106, 0.18);
  pointer-events: none;
}

.evh-captcha__char {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
}

.evh-captcha__input {
  flex: 1 1 0%;
  min-width: 0;
  border-radius: 12px;
  background: var(--evh-field, #f9fdfa);
  border: 1.5px solid var(--evh-line, #dff2e3);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--evh-ink, #13301a);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.evh-captcha__input::placeholder {
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: #9bb5a2;
}

.evh-captcha__input:focus {
  border-color: var(--evh-brand, #2bd76a);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.1);
}

.evh-captcha__input--ok {
  border-color: #86e0b0;
  background: #f2fdf6;
  color: #187d3e;
}

.evh-captcha__input--shake {
  animation: evh-captcha-shake 0.32s ease;
  border-color: #f3a5a5;
}

@keyframes evh-captcha-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.evh-captcha__ok-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #34c77a, #187d3e);
  color: #ffffff;
}

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

.evh-captcha__hint {
  font-size: 11.5px;
  color: var(--evh-muted, #66856d);
  padding-left: 2px;
}

.evh-captcha__hint--ok {
  color: #187d3e;
  font-weight: 600;
}

/* ── Modo matemática (reaproveita a caixa do código) ── */
.evh-captcha__code--math {
  width: auto;
  flex: 1 1 0%;
  padding: 0 12px;
}

.evh-captcha__char--eq {
  font-family: 'Segoe UI', Inter, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--evh-ink, #13301a);
}

/* ── Modo ícone (bonecos/símbolos) ── */
.evh-captcha__icon-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.evh-captcha__icon-target {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #f1fbf3, #f1fbf3 6px, #e9faee 6px, #e9faee 12px);
  border: 1.5px solid var(--evh-line, #dff2e3);
  font-size: 24px;
}

.evh-captcha__icon-target--ok {
  border-color: #86e0b0;
  background: #f2fdf6;
}

.evh-captcha__icon-grid {
  flex: 1 1 0%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.evh-captcha__icon-btn {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 10px;
  background: var(--evh-field, #f9fdfa);
  border: 1.5px solid var(--evh-line, #dff2e3);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.evh-captcha__icon-btn:hover:not(:disabled) {
  border-color: var(--evh-brand, #2bd76a);
  transform: translateY(-1px);
}

.evh-captcha__icon-btn:disabled {
  cursor: default;
}

.evh-captcha__icon-btn--ok {
  border-color: #86e0b0;
  background: #f2fdf6;
}
.floating-toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2500;
  pointer-events: none;
  width: min(92vw, 420px);
}

.floating-toast {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 14px;
  padding: 14px 40px 16px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  pointer-events: auto;
  background: #ffffff;
  border-left: 4px solid transparent;
  box-shadow: 0 16px 40px rgba(5, 46, 22, 0.22);
  animation: floating-toast-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-toast--closing {
  animation: floating-toast-out 220ms ease-in forwards;
}

.floating-toast p {
  margin: 4px 0 0;
  color: #13301a;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
}

.floating-toast-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
}

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

.floating-toast-success {
  border-left-color: #2bd76a;
}

.floating-toast-success .floating-toast-icon {
  background: linear-gradient(135deg, #5ae08a, #2bd76a);
}

.floating-toast-success .floating-toast-progress {
  background: #2bd76a;
}

.floating-toast-error {
  border-left-color: #dc2626;
}

.floating-toast-error .floating-toast-icon {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

.floating-toast-error .floating-toast-progress {
  background: #dc2626;
}

.floating-toast-close {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #9bb5a2;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

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

.floating-toast-close:hover {
  background: #f1fbf3;
  color: #13301a;
}

.floating-toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  animation-name: floating-toast-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes floating-toast-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floating-toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

@keyframes floating-toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .floating-toast-wrap {
    bottom: 14px;
    width: calc(100vw - 24px);
  }
}
/* Sino de notificações (usado no hero roxo da dashboard) */
.nt-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nt-bell:hover { background: rgba(255, 255, 255, 0.28); }
.nt-bell svg { width: 20px; height: 20px; }

.nt-bell__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d4d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(43, 215, 106, 0.9);
}
:root {
  --dash-bg: #eefcf3;
  --dash-card: #ffffff;
  --dash-card-2: #f2fcf6;
  --dash-border: rgba(43, 215, 106, 0.22);
  --dash-text: #1a5a32;
  --dash-muted: #3f8a5a;
  --dash-orange: #2bd76a;
  --dash-orange-dim: rgba(43, 215, 106, 0.18);
  --dash-green: #34d399;
  --dash-red: #f87171;
}

.dash-app {
  min-height: 100vh;
  padding: 0 16px 100px;
  background: #f1fbf3;
  background-attachment: fixed;
  color: #13301a;
  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 286px;
  }
}

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

/* ── Sidebar (light TRK theme) ── */
.dash-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: 272px;
  background: rgba(238, 252, 243, 0.98);
  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, #2bd76a, #8eeab0);
  color: #1a5a32;
}

.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: var(--dash-orange-dim);
  border-color: rgba(43, 215, 106, 0.35);
  color: #2bd76a;
}

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

.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;
}

.dash-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: none;
  background: rgba(26, 90, 50, 0.4);
}

/* ── TRK Hero Banner ── */
.trk-hero-banner {
  border: 1px solid rgba(43, 215, 106, 0.35);
  background: linear-gradient(135deg, #2bd76a, #54de87, #8eeab0);
  padding: 36px 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(43, 215, 106, 0.25);
  margin: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.trk-hero-vip {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 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;
  margin-bottom: 10px;
}

.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: #ffffff;
  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: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(30, 159, 77, 0.4);
}

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

.trk-hero-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), 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(43, 215, 106, 0.22);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 12px;
  overflow: hidden;
}

.dash-notice-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #2bd76a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.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: #3f8a5a;
  font-size: 0.78rem;
  animation: dash-marquee 24s linear infinite;
  will-change: transform;
}

.dash-notice-sep {
  color: #2bd76a;
  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: #ffffff;
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 14px;
}

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

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

.money-value {
  color: #2bd76a !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(43, 215, 106, 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(85, 223, 136, 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: #55df88;
}

.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: #1a5a32;
  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(43, 215, 106, 0.35);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  color: #ffffff;
  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: #ffffff;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}


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

.landscape-btn.deposit {
  background: url('./static/images/home/cz.png') 100% center / 100% 100% no-repeat;
}

.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(30, 159, 77, 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(30, 159, 77, 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: url('./static/images/home/tx.png') 100% center / 100% 100% no-repeat;
}

.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(43, 215, 106, 0.55), rgba(84, 222, 135, 0.45)),
    linear-gradient(135deg, #2bd76a, #8eeab0);
}

.landscape-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 215, 106, 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(30, 159, 77, 0.35) inset,
    0 8px 20px rgba(30, 159, 77, 0.35);
  background:
    conic-gradient(
      #dc2626 0deg 30deg,
      #2bd76a 30deg 60deg,
      #2ad668 60deg 90deg,
      #2bd76a 90deg 120deg,
      #dc2626 120deg 150deg,
      #2bd76a 150deg 180deg,
      #2ad668 180deg 210deg,
      #2bd76a 210deg 240deg,
      #dc2626 240deg 270deg,
      #2bd76a 270deg 300deg,
      #2ad668 300deg 330deg,
      #2bd76a 330deg 360deg
    );
  animation: roulette-spin 2.2s linear infinite;
}

.roulette-wheel-center {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #eefcf3;
  box-shadow: 0 0 0 2px rgba(43, 215, 106, 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 #eefcf3;
  filter: drop-shadow(0 2px 2px rgba(30, 159, 77, 0.4));
}

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

/* ── Menu Grid (novo layout de navegação) ── */
.dash-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.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(43, 215, 106, 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: #1a5a32;
  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(43, 215, 106, 0.22);
  border-radius: 16px;
  padding: 16px;
}

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

.welcome-card p {
  margin: 0;
  color: #3f8a5a;
  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(43, 215, 106, 0.3);
  box-shadow: 0 8px 24px rgba(43, 215, 106, 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: #2bd76a;
  font-weight: 700;
}

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

.cycle-card-name {
  color: #1a5a32;
  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: #2bd76a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.cycle-metric-label {
  color: #3f8a5a;
  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: #3f8a5a;
  font-size: 14px;
  line-height: 1.5;
}

.cycle-stock-highlight {
  color: #2bd76a;
  font-weight: 700;
}

.cycle-invest-btn {
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2bd76a, #8eeab0);
  color: #1a5a32;
  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: #c3f4d5;
  color: #3f8a5a;
  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(43, 215, 106, 0.15);
  overflow: hidden;
}

.cycle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2bd76a, #8eeab0);
  border-radius: 999px;
}

.cycle-progress-label {
  color: #3f8a5a;
  font-size: 13px;
}

/* ── Welcome modal ── */
.welcome-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 90, 50, 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, #f2fcf6, #c3f4d5);
  border: 1px solid rgba(43, 215, 106, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(30, 159, 77, 0.3);
  text-align: center;
}

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

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

.welcome-modal-text {
  margin: 10px 0 0;
  color: #3f8a5a;
  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, #2bd76a, #8eeab0);
  color: #1a5a32;
  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-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(43, 215, 106, 0.1);
  border: 1px solid rgba(43, 215, 106, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
}

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

.wmc-percent {
  color: #2bd76a;
  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(43, 215, 106, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

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

/* ── Cycle modal ── */
.cycle-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 90, 50, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.cycle-modal-card {
  width: 100%;
  max-width: 420px;
  background: #f2fcf6;
  border: 1px solid rgba(43, 215, 106, 0.35);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(30, 159, 77, 0.25);
}

.cycle-modal-title {
  margin: 0;
  color: #1a5a32;
  font-size: 1.1rem;
}

.cycle-modal-subtitle {
  margin-top: 4px;
  color: #3f8a5a;
  font-size: 0.9rem;
}

.cycle-modal-details {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  color: #1a5a32;
  font-size: 14px;
}

.cycle-modal-details strong {
  color: #2bd76a;
}

.cycle-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cycle-modal-btn {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.cycle-modal-btn-cancel {
  border: 1px solid rgba(43, 215, 106, 0.3);
  background: transparent;
  color: #1a5a32;
  cursor: pointer;
}

.cycle-modal-btn-confirm {
  background: linear-gradient(135deg, #2bd76a, #8eeab0);
  color: #1a5a32;
}

.cycle-modal-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ── Bottom nav ── */
.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));
  background: rgba(238, 252, 243, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(43, 215, 106, 0.22);
  box-shadow: 0 -4px 20px rgba(43, 215, 106, 0.12);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.dash-bottom-nav button {
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #3f6b4f;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.dash-bottom-nav button.active {
  background: rgba(43, 215, 106, 0.15);
  color: #2bd76a;
}

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

.dash-bottom-nav small {
  font-size: 0.72rem;
  font-weight: 600;
}

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

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

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

/* ── Responsive ── */
@media (min-width: 860px) {
  .dash-app {
    display: grid;
    grid-template-columns: 272px 1fr;
    padding-top: 0;
    padding-bottom: 0;
  }

  .dash-sidebar {
    position: sticky;
    top: 0;
    transform: none;
    height: 100vh;
  }

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

  .dash-main {
    padding: 0;
  }

  .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 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .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 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.support-card {
  flex: 1;
  min-width: 240px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(43, 215, 106, 0.12);
  border: 1px solid rgba(43, 215, 106, 0.15);
}

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

.support-card__icon--gerente {
  background: linear-gradient(135deg, #2bd76a, #25c15f);
  color: #ffffff;
}

.support-card__icon--grupo {
  background: linear-gradient(135deg, #28d067, #198541);
  color: #ffffff;
}

.support-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 10px;
}

.support-card__desc {
  font-size: 14px;
  color: #666666;
  margin: 0 0 20px;
  line-height: 1.5;
}

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

.support-card__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.support-card__btn--gerente {
  background: linear-gradient(135deg, #2bd76a, #25c15f);
}

.support-card__btn--grupo {
  background: linear-gradient(135deg, #28d067, #198541);
}

/* ── Banner promocional ── */
.md-promo-banner {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.md-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
  object-fit: cover;
}
/* ═══════════════════════════════════════════════════════════════
   EVH DASHBOARD — layout estilo "app" (roxo / preto / branco)
═══════════════════════════════════════════════════════════════ */

.md-dash {
  --md-ink: #13301a;
  --md-ink-2: #1f4528;
  --md-brand: #2bd76a;
  --md-brand-2: #5ae08a;
  --md-line: #e3f5e8;
  --md-muted: #66856d;

  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  color: var(--md-ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding-bottom: 12px;
}

/* Desktop: dashboard vira coluna mobile centralizada (grid global é mobile-first).
   Escopado via :has para não afetar outras páginas que usam o AppSidebar. */
@media (min-width: 860px) {
  .dash-app:has(.md-dash) { display: block; }
  .dash-app:has(.md-dash) .dash-main { padding: 0; }
  .dash-app:has(.md-dash) .dash-sidebar { display: none; }
  .dash-app:has(.md-dash) .dash-bottom-nav { display: flex; }
  .dash-app:has(.md-dash) .dash-content { max-width: 460px; margin: 0 auto; }
}

/* ── Navbar ── */
.md-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px;
  padding: 10px 14px;
  background: linear-gradient(120deg, #1f4528, #0f2716);
}

.md-navbar-app {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.md-navbar-app svg { width: 16px; height: 16px; }

.md-navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.md-navbar-logo svg { width: 20px; height: 19px; }

.md-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.md-navbar-actions button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
}

.md-navbar-actions svg { width: 15px; height: 15px; }

/* ── Banner ── */
.md-banner {
  position: relative;
  margin: 0 -16px;
  height: 160px;
  overflow: hidden;
}

.md-banner-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease-out;
}

.md-banner-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.md-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.md-banner-dots button {
  height: 6px;
  width: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.md-banner-dots button.active {
  width: 22px;
  background: #ffffff;
}

/* ── Broadcast (aviso vertical, 1 mensagem por vez) ── */
.md-broadcast {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 4px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--md-line);
  box-shadow: 0 2px 8px rgba(19, 48, 26, 0.06);
}

.md-broadcast-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--md-line);
  color: var(--md-brand);
  box-sizing: border-box;
}

.md-broadcast-arrow { flex: 0 0 auto; width: 14px; height: 14px; color: var(--md-muted); }

.md-broadcast-mask {
  flex: 1;
  min-width: 0;
  height: 22px;
  overflow: hidden;
}

.md-broadcast-track {
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.md-broadcast-item {
  display: block;
  height: 22px;
  line-height: 22px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--md-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Recarga / Retiro ── */
.md-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 4px 0;
}

.md-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
}

.md-cta-label { font-size: 15px; font-weight: 800; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }

.md-cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

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

.md-cta-recarga { background: linear-gradient(120deg, #fbbf24, #d97706); box-shadow: 0 8px 18px rgba(217, 119, 6, 0.32); }
.md-cta-retiro { background: linear-gradient(120deg, #34d0c4, #0f9c92); box-shadow: 0 8px 18px rgba(15, 156, 146, 0.32); }

/* ── Menu em grade ── */
.md-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 16px;
  margin: 18px 0 0;
}

.md-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0 2px;
  cursor: pointer;
}

.md-menu-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #ffffff;
}

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

.md-menu-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--md-ink);
  text-align: center;
}

.md-tone-a { background: linear-gradient(135deg, var(--md-brand-2), var(--md-brand)); }
.md-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.md-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.md-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }
.md-tone-e { background: linear-gradient(135deg, #f090b6, #d1548c); }
.md-tone-f { background: linear-gradient(135deg, #5ae08a, #1e9b4c); }
.md-tone-g { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.md-tone-h { background: linear-gradient(135deg, #f2a45c, #d97706); }

/* ── Faixa de ganhadores ── */
.md-winner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 4px 0;
  padding: 16px 16px 16px 74px;
  min-height: 76px;
  border-radius: 14px;
  background: linear-gradient(120deg, #1f4528, #0f2716);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.md-winner-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--md-brand-2), var(--md-brand));
  color: #ffffff;
}

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

.md-winner-mask {
  flex: 1;
  min-width: 0;
  height: 24px;
  overflow: hidden;
}

.md-winner-track {
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.md-winner-item {
  display: block;
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Texto institucional (rodapé) ── */
.md-footer-text {
  margin: 4px 4px 0;
  padding: 14px 4px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--evh-muted, #66856d);
  text-align: center;
}

/* ── Botões duplos ── */
/* ── Modal: página sem produto (erro em chinês) ── */
.md-noprod-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(8, 40, 18, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: mdNoprodFade 0.18s ease;
}

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

.md-noprod-card {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(4, 21, 10, 0.3);
  animation: mdNoprodPop 0.22s ease;
}

@keyframes mdNoprodPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.md-noprod-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  border: 2px solid rgba(220, 38, 38, 0.2);
}
.md-noprod-icon svg { width: 32px; height: 32px; }

.md-noprod-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #13301a;
}

.md-noprod-text {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #66856d;
}

.md-noprod-btn {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #5ae08a, #2bd76a);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(43, 215, 106, 0.3);
}

/* ── Card de validações ── */
.md-val {
  position: relative;
  margin: 16px 4px 0;
  padding: 18px;
  border: 1px solid var(--md-line);
  border-radius: 14px;
  background-image:
    linear-gradient(180deg, rgba(11, 57, 24, 0.80) 0%, rgba(9, 45, 19, 0.58) 45%, rgba(11, 57, 24, 0.85) 100%),
    url('/paris-tower.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(19, 101, 44, 0.1);
  overflow: hidden;
}

.md-val-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.md-val-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.md-val-head span { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); }

.md-val-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.md-val-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--md-brand-2), var(--md-brand));
  box-shadow: 0 6px 16px rgba(43, 215, 106, 0.35);
}

.md-val-icon svg { width: 28px; height: 28px; }

/* Estados de disponibilidade das tarefas */
.md-val-icon--ok {
  background: linear-gradient(135deg, #25c25f, #1e9b4c);
  box-shadow: 0 6px 16px rgba(30, 155, 76, 0.4);
  animation: md-val-pulse 1.8s ease-in-out infinite;
}
.md-val-icon--done {
  background: linear-gradient(135deg, #34d399, #1e9b4c);
  box-shadow: 0 6px 16px rgba(30, 155, 76, 0.28);
}
.md-val-icon--warn {
  background: linear-gradient(135deg, var(--md-brand-2), var(--md-brand));
  box-shadow: 0 6px 16px rgba(43, 215, 106, 0.35);
}
.md-val-icon--off {
  background: #d0ead7;
  color: #66856d;
  box-shadow: none;
}
.md-val-icon--loading {
  background: #e7faec;
  color: var(--md-brand);
  box-shadow: none;
}
.md-val-icon--loading svg { animation: md-val-spin 0.9s linear infinite; }

@keyframes md-val-pulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(30, 155, 76, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(30, 155, 76, 0.18), 0 6px 16px rgba(30, 155, 76, 0.4); }
}
@keyframes md-val-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .md-val-icon--ok { animation: none; }
  .md-val-icon--loading svg { animation: none; }
}

.md-val-title { margin: 0; font-size: 16px; font-weight: 800; color: #ffffff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55); }
.md-val-sub { margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); }

/* Botão "Fundos" (ghost) legível sobre a foto */
.md-val .md-btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.md-val-actions { display: flex; gap: 8px; width: 100%; }

/* ── Modal promocional (aparece ao entrar na dashboard) ── */
.md-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: rgba(8, 40, 18, 0.62);
  backdrop-filter: blur(5px);
  overscroll-behavior: contain;
  animation: mdPromoFade 0.25s ease;
}
@keyframes mdPromoFade { from { opacity: 0; } to { opacity: 1; } }

.md-promo-sheet {
  position: relative;
  width: 100%;
  max-width: 342px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px -12px rgba(4, 21, 10, 0.6);
  animation: mdPromoRise 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mdPromoRise {
  from { transform: translateY(26px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.md-promo-grip {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  z-index: 3;
  pointer-events: none;
}

.md-promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}
.md-promo-close svg { width: 18px; height: 18px; }
.md-promo-close:hover { background: rgba(0, 0, 0, 0.62); }

.md-promo-scroll {
  height: 46vh;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.md-promo-scroll::-webkit-scrollbar { width: 0; height: 0; }

.md-promo-img {
  display: block;
  width: 100%;
  height: auto;
}

.md-promo-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(8, 40, 18, 0.85);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.28s ease;
  animation: mdPromoBounce 1.5s ease-in-out infinite;
}
.md-promo-hint svg { width: 16px; height: 16px; }
.md-promo-hint--hidden { opacity: 0; animation: none; }
@keyframes mdPromoBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .md-promo-overlay,
  .md-promo-sheet { animation: none; }
  .md-promo-hint { animation: none; }
}

.md-btn-primary {
  flex: 1;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--md-brand-2), var(--md-brand));
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(43, 215, 106, 0.3);
}

.md-btn-ghost {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--md-line);
  border-radius: 12px;
  background: #f8fefa;
  color: var(--md-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   EVH UI — sistema de design compartilhado (roxo / preto / branco)
   Importado pelo AppHeader, fica disponível em todas as páginas que
   usam o header. Use estas classes para um layout consistente.
═══════════════════════════════════════════════════════════════ */

:root {
  --evh-brand: #2bd76a;
  --evh-brand-2: #5ae08a;
  --evh-ink: #13301a;
  --evh-muted: #66856d;
  --evh-line: #e3f5e8;
  --evh-bg: #f1fbf3;
  --evh-card: #ffffff;
}

/* ── Página ── */
.evh-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--evh-bg);
  color: var(--evh-ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.evh-page__body {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* quando a página também mostra a bottom-nav (AppSidebar) */
.evh-page--with-nav .evh-page__body { padding-bottom: 96px; }

/* ── Header ── */
.evh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 14px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 6px 18px rgba(43, 215, 106, 0.28);
}

.evh-header__back {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.evh-header__back:hover { background: rgba(255, 255, 255, 0.3); }
.evh-header__back svg { width: 20px; height: 20px; }

.evh-header__titles { flex: 1 1 auto; min-width: 0; text-align: center; }
.evh-header__title { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.2px; }
.evh-header__sub { margin: 2px 0 0; font-size: 0.78rem; opacity: 0.85; }

.evh-header__right {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 38px;
}

/* ── Cartão ── */
.evh-card {
  background: var(--evh-card);
  border: 1px solid var(--evh-line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(19, 101, 44, 0.07);
}

.evh-card__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.evh-card__sub { margin: 0 0 12px; font-size: 0.85rem; color: var(--evh-muted); }

/* ── Botões ── */
.evh-btn {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.evh-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.evh-btn:active:not(:disabled) { transform: translateY(0); }
.evh-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.evh-btn-ghost {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--evh-line);
  border-radius: 14px;
  background: #f9fefa;
  color: var(--evh-ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.evh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Formulário ── */
.evh-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--evh-ink); margin-bottom: 6px; }

.evh-input {
  width: 100%;
  border: 1px solid var(--evh-line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f9fefa;
  color: var(--evh-ink);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.evh-input::placeholder { color: #9bb5a2; }
.evh-input:focus { outline: none; border-color: var(--evh-brand); background: #fff; box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.12); }

/* ── Linhas / listas ── */
.evh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.evh-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--evh-line);
}
.evh-list-row:last-child { border-bottom: 0; }

/* ── Destaque de valor ── */
.evh-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--evh-brand);
  letter-spacing: -0.5px;
}
.evh-muted { color: var(--evh-muted); }
/* ──────────────────────────────────────────────────────────────
   Roleta — Roda da Sorte (design EVH)
   A base de página (fundo, container) vem de .evh-page / .evh-page__body
   (evh-ui.css). Aqui ficam apenas a roda, os modais e as animações.
─────────────────────────────────────────────────────────────── */

/* modificador da página: posiciona o suporte flutuante */
.roleta-pro {
  position: relative;
}

/* ── Chip de giros disponíveis (compacto, dentro do card da roda) ── */
.roleta-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.roleta-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.12);
  color: var(--evh-brand, #2bd76a);
}
.roleta-chip__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}
.roleta-chip__count {
  font-size: 1.1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.roleta-chip__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 999px;
  padding: 7px 12px;
  background: #ffffff;
  color: var(--evh-brand, #2bd76a);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease;
}
.roleta-chip__btn:hover { border-color: var(--evh-brand, #2bd76a); transform: translateY(-1px); }
.roleta-chip__btn:active { transform: translateY(0); }

/* Cartão que envolve a roda */
.roleta-wheel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Título neon "LUCKY WHEEL" */
.lucky-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 2px 0;
}

.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, #2bd76a, #29d668, #2bd76a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 6px rgba(41, 214, 104, 0.55),
    0 0 14px rgba(43, 215, 106, 0.45);
  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, #2bd76a, #29d668, #2bd76a) border-box;
  -webkit-mask:
    linear-gradient(#000000 0 0) padding-box,
    linear-gradient(#000000 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(43, 215, 106, 0.55));
  }
  100% {
    filter: drop-shadow(0 0 12px rgba(41, 214, 104, 0.95));
  }
}

/* Palco da roda */
.wheel-stage {
  width: min(100%, 460px);
  height: min(86vw, 460px);
  margin: 4px auto 0;
  position: relative;
  z-index: 1;
}

/* ── Base/pedestal: dá a impressão de que a roda está apoiada em algo ── */
.wheel-base {
  position: relative;
  width: min(100%, 460px);
  margin: -14px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.wheel-base__shadow {
  width: 62%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.14) 55%, transparent 80%);
  filter: blur(1px);
}

.wheel-base__stand {
  width: 18%;
  height: 34px;
  margin-top: -4px;
  background: linear-gradient(180deg, #f6c544 0%, #d99a1f 45%, #a8700f 100%);
  border-radius: 4px;
  box-shadow:
    inset -3px 0 4px rgba(0, 0, 0, 0.25),
    inset 3px 0 4px rgba(255, 255, 255, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.25);
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}

.wheel-base__foot {
  width: 44%;
  height: 12px;
  margin-top: -2px;
  border-radius: 6px;
  background: linear-gradient(180deg, #e8b53a 0%, #a8700f 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Luzes piscantes ao redor da roda */
.wheel-lights {
  display: none;
}

.wheel-light {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffe08a;
  transform: translate(-50%, -50%);
  animation: wheelLightBlink 1.1s ease-in-out infinite;
}

.wheel-light::before {
  display: none;
}

@keyframes wheelLightBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.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: 26px solid #f6c544;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
}

.wheel-ring {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 12px solid #e8b53a;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.85),
    inset 0 0 0 7px rgba(150, 100, 15, 0.4);
  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.85);
  box-shadow:
    0 0 0 7px rgba(246, 197, 68, 0.65);
  transition: transform 4.7s cubic-bezier(0.12, 0.95, 0.2, 1);
  z-index: 5;
}

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

.wheel-label {
  position: absolute;
  z-index: 7;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 2px rgba(0, 0, 0, 0.5);
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: linear-gradient(180deg, #ffe08a 0%, #f6c544 45%, #e0991a 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.75);
  z-index: 9;
}

.wheel-mascot-body {
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
  animation: wheel-mascot-bounce 1.8s ease-in-out infinite;
}

.wheel-mascot-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-mascot-blink 3.6s ease-in-out infinite;
}

.wheel-mascot-arm {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 8px;
  border-radius: 999px;
  background: #1e9b4c;
  z-index: -1;
}
.wheel-mascot-arm--left {
  left: 2px;
  transform-origin: right center;
  animation: wheel-mascot-wave-left 1.8s ease-in-out infinite;
}
.wheel-mascot-arm--right {
  right: 2px;
  transform-origin: left center;
  animation: wheel-mascot-wave-right 1.8s ease-in-out infinite;
}

@keyframes wheel-mascot-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-4deg); }
}

@keyframes wheel-mascot-wave-left {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes wheel-mascot-wave-right {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-50%) rotate(35deg); }
}

@keyframes wheel-mascot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.15); }
}

@media (prefers-reduced-motion: reduce) {
  .wheel-mascot-body,
  .wheel-mascot-arm,
  .wheel-mascot-eye { animation: none; }
}

/* CTA de giro (dentro do cartão da roda) */
.spin-cta {
  width: 100%;
  margin-top: 8px;
}

/* O botão usa .evh-btn; quando não está pronto, fica esmaecido/desabilitado */
.spin-cta .evh-btn:not(.ready) {
  background: linear-gradient(135deg, #b5f1cb, #82d9a2);
  color: #167438;
  box-shadow: none;
  cursor: not-allowed;
}

.winner-text {
  margin: 12px 0 0;
  text-align: center;
  color: #2bd76a;
  font-weight: 700;
}

/* ── Token de giros disponíveis (no cartão de regras) ── */
.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, #e5faec 0%, #bef3d1 100%);
  border: 1px solid rgba(43, 215, 106, 0.35);
  border-radius: 14px;
  box-shadow:
    0 6px 18px rgba(43, 215, 106, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
}

.spins-token::before,
.spins-token::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #effcf4;
  border: 1px solid rgba(43, 215, 106, 0.35);
  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, #5be08b, #29d668);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(41, 214, 104, 0.35);
}

.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: #1a8742;
}

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

/* ── Cartão de regras (recolhível) ── */
.rules-card__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.rules-card__title {
  color: #2bd76a;
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0;
}

.rules-card__chevron {
  flex: 0 0 auto;
  color: #2bd76a;
  transition: transform 0.2s ease;
}
.rules-card__chevron--open { transform: rotate(180deg); }

.rules-card__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-card__list li {
  padding: 2px 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--evh-ink, #13301a);
}

.rules-card__list strong {
  color: var(--evh-brand, #2bd76a);
  font-weight: 800;
}

/* ── Modais de resgate de código ── */
.redeem-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(26, 90, 50, 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(43, 215, 106, 0.55);
  background: linear-gradient(160deg, #eefcf3 0%, #c3f4d5 100%);
  color: #1a5a32;
}

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

.redeem-modal-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(43, 215, 106, 0.35));
}

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

.redeem-modal--success h2 { color: #2bd76a; }
.redeem-modal--error h2   { color: #b91c1c; }

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

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

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

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

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

.redeem-modal-spins strong {
  color: #2bd76a;
  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.1); transform: translateY(-1px); }
.redeem-modal-btn:active { transform: translateY(0); }

.redeem-modal-btn--success {
  background: linear-gradient(90deg, #8eeab0, #2bd76a);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 215, 106, 0.4);
}

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

/* ── Celebração (prêmio ganho) ── */
.roleta-celebration {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(10, 4, 20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  animation: roletaFadeIn 220ms ease-out;
}

/* ── Confete de ícones caindo ── */
.roleta-celebration-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.roleta-celebration-particle {
  position: absolute;
  top: -8%;
  color: #ffd76a;
  filter: drop-shadow(0 0 5px rgba(255, 199, 80, 0.6));
  animation-name: roletaConfettiFall;
  animation-timing-function: cubic-bezier(.35, 0, .65, 1);
  animation-fill-mode: forwards;
}
.roleta-celebration-particle:nth-child(3n) { color: #8ef0ac; filter: drop-shadow(0 0 5px rgba(142, 240, 172, 0.6)); }
.roleta-celebration-particle:nth-child(4n) { color: #c9a8ff; filter: drop-shadow(0 0 5px rgba(201, 168, 255, 0.55)); }

@keyframes roletaConfettiFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(112vh) translateX(16px) rotate(560deg); opacity: 0; }
}

.roleta-celebration-card {
  position: relative;
  overflow: hidden;
  width: min(88vw, 380px);
  border-radius: 24px;
  border: 1px solid rgba(255, 199, 80, 0.4);
  background: linear-gradient(160deg, #1c1030 0%, #241340 55%, #1a0f2e 100%);
  color: #ffffff;
  text-align: center;
  padding: 30px 24px 26px;
  box-shadow:
    0 0 0 1px rgba(255, 199, 80, 0.12),
    0 24px 70px rgba(124, 42, 209, 0.4),
    0 0 60px rgba(255, 199, 80, 0.18);
  animation: celebrationPop 560ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roleta-celebration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: roletaCardShimmer 2.6s ease-in-out infinite;
}

@keyframes roletaCardShimmer {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}

.roleta-celebration-badge {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: radial-gradient(circle at 30% 30%, #ffe27a, #f5b942 55%, #c8860a 100%);
  color: #6b3f00;
  box-shadow: 0 0 0 6px rgba(255, 199, 80, 0.15), 0 0 34px rgba(255, 199, 80, 0.55);
  animation: roletaBadgePulse 1.4s ease-in-out infinite;
}

@keyframes roletaBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.roleta-celebration-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #ffd76a;
  text-shadow: 0 0 16px rgba(255, 199, 80, 0.5);
}

.roleta-celebration-sub {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}

.roleta-celebration-amount {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #8ef0ac;
  text-shadow: 0 0 20px rgba(142, 240, 172, 0.5);
  animation: roletaAmountGlow 1.4s ease-in-out infinite;
}

@keyframes roletaAmountGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(142, 240, 172, 0.5); }
  50% { text-shadow: 0 0 32px rgba(142, 240, 172, 0.85); }
}

.roleta-celebration-tag {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

@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; }
}
.sinuca-page {
  min-height: 100vh;
  padding: 20px;
  background: inherit;
  color: #1a5a32;
}

.sinuca-shell {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(43, 215, 106, 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: #1a5a32;
}

.sinuca-header p {
  margin: 6px 0 0;
  color: #3f8a5a;
  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: #1a5a32;
  background: linear-gradient(135deg, #2bd76a, #8eeab0);
}

.sinuca-reset {
  color: #1a5a32;
  background: rgba(43, 215, 106, 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(43, 215, 106, 0.25);
  box-shadow: 0 8px 24px rgba(43, 215, 106, 0.15);
  background: #14663b;
  cursor: crosshair;
}

.pocket-lane {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 12px;
  min-height: 100%;
  box-shadow: 0 4px 16px rgba(43, 215, 106, 0.08);
}

.pocket-lane h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #1a5a32;
}

.pocket-sub {
  margin: 6px 0 10px;
  color: #3f8a5a;
  font-size: 0.78rem;
}

.pocket-track {
  border-radius: 10px;
  border: 1px dashed rgba(43, 215, 106, 0.28);
  background: rgba(238, 252, 243, 0.6);
  padding: 10px;
  min-height: 220px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.pocket-empty {
  color: #3f8a5a;
  font-size: 0.8rem;
}

.pocket-ball {
  --ball-color: #e2f0e7;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #1a5a32;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255, 255, 255, 0.88) 20%, var(--ball-color) 58%, #6ec98f 100%);
  box-shadow: 0 5px 12px rgba(30, 159, 77, 0.3);
  animation: pocketDrop 0.5s ease both;
}

.pocket-ball.stripe {
  position: relative;
  color: #1a5a32;
  overflow: hidden;
}

.pocket-ball.stripe::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 11px;
  height: 8px;
  background: #ffffff;
  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(43, 215, 106, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  color: #1a5a32;
  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;
  }
}
/* ═══════════════════════════════════════════════════════════════
   CASHIN / DEPOSITAR — visual próprio (painel escuro + card branco),
   diferente do cartão genérico evh-card usado no resto do app.
═══════════════════════════════════════════════════════════════ */

.ci-layout {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin: 0;
  background: var(--evh-bg, #f1fbf3);
  color: var(--evh-ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Coluna de conteúdo — centralizada de verdade na tela ───────────────────────── */
.ci-layout__content {
  width: 100%;
  min-height: calc(100dvh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  box-sizing: border-box;
}

/* ── Cartão único do depósito ── */
.cashin-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--evh-card);
  box-shadow: 0 18px 40px rgba(19, 101, 44, 0.14);
}

/* ── Painel escuro do valor — o que dá a identidade própria da página ── */
.cashin-card__amount-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px 26px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% -20%, #1d5b34 0%, var(--evh-ink) 65%);
  color: #ffffff;
}

.cashin-card__amount-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.cashin-card__amount-input-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.cashin-card__currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--evh-brand-2);
}

.cashin-card__amount-input {
  flex: 0 1 auto;
  max-width: 220px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-align: left;
  outline: none;
}

.cashin-card__amount-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.cashin-card__min-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Corpo do card ── */
.cashin-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.cashin-card__section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--evh-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Valores rápidos — grade, não chips soltos ── */
.cashin-quick-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-chip {
  border: 1px solid var(--evh-line);
  background: #f9fefa;
  color: var(--evh-brand);
  border-radius: 12px;
  padding: 10px 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.quick-chip:hover {
  border-color: var(--evh-brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 215, 106, 0.18);
}

.quick-chip.active {
  background: linear-gradient(135deg, var(--evh-brand-2), var(--evh-brand));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.35);
}

/* ── Método de pagamento ── */
.cashin-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eafbf0;
  border: 1px solid rgba(50, 188, 100, 0.25);
}

.cashin-method__pix-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  flex-shrink: 0;
}

.cashin-method__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cashin-method__text strong {
  font-size: 0.88rem;
  color: var(--evh-ink);
  font-weight: 700;
}

.cashin-method__text small {
  font-size: 0.75rem;
  color: var(--evh-muted);
}

/* ── Total — faixa integrada no card, sem card separado ── */
.cashin-total-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--evh-line);
}

.cashin-total-strip span {
  font-size: 0.85rem;
  color: var(--evh-muted);
  font-weight: 600;
}

.cashin-total-strip strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--evh-brand);
}

/* ── Botão de envio próprio ── */
.cashin-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(43, 215, 106, 0.32);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cashin-submit-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.cashin-submit-btn:active:not(:disabled) { transform: translateY(0); }
.cashin-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ── Mensagens ── */
.cashin-message {
  margin: 0;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.cashin-message.success {
  background: rgba(37, 194, 95, 0.12);
  border: 1px solid rgba(37, 194, 95, 0.4);
  color: #187d3e;
}

.cashin-message.error {
  background: rgba(248, 113, 113, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #b91c1c;
}
/* ═══════════════════════════════════════════════════
   Pagamento PIX (checkout) — layout EVH
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico desta tela.
═══════════════════════════════════════════════════ */

/* ── Centraliza o conteúdo verticalmente na tela (só nesta página) ── */
.cashin-checkout-page.evh-page {
  display: flex;
  flex-direction: column;
}

.cashin-checkout-page .evh-page__body {
  flex: 1;
  min-height: calc(100dvh - 90px);
  justify-content: center;
}

/* ── Banner de pagamento confirmado ── */
.co-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e9b4c, #187d3e);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 155, 76, 0.3);
}
.co-success-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
}
.co-success-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.co-success-text strong { font-size: 0.95rem; font-weight: 800; }
.co-success-text span { font-size: 0.8rem; opacity: 0.92; }
.co-success-btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  padding: 9px 14px;
  background: #ffffff;
  color: #187d3e;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

/* ── Card único: QR Code / Copia e Cola (abas) ── */
.co-pay-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.co-pay-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #f1fbf3;
  border: 1px solid var(--evh-line, #e3f5e8);
}

.co-pay-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--evh-muted, #66856d);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.co-pay-tab--active {
  background: #ffffff;
  color: var(--evh-brand, #2bd76a);
  box-shadow: 0 4px 12px rgba(19, 101, 44, 0.12);
}

.co-pay-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: co-panel-in 0.18s ease;
}

@keyframes co-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.co-pay-panel--code { align-items: stretch; }

/* ── QR Code ── */
.co-qr-frame {
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--evh-line, #e3f5e8);
  box-shadow: 0 6px 18px rgba(19, 101, 44, 0.08);
  line-height: 0;
}
.co-qr-img { width: 230px; height: 230px; max-width: 100%; display: block; border-radius: 8px; }
.co-qr-fallback {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  color: var(--evh-muted, #66856d);
  font-size: 0.9rem;
  font-weight: 600;
}
.co-qr-hint { margin: 0; text-align: center; font-size: 0.82rem; color: var(--evh-muted, #66856d); }

/* ── Código PIX copia e cola ── */
.co-pix-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--evh-muted, #66856d);
}
.co-pix-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f9fefa;
  border: 1px solid var(--evh-line, #e3f5e8);
  color: var(--evh-ink, #13301a);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  word-break: break-all;
  max-height: 96px;
  overflow-y: auto;
}
.co-copy-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.co-copy-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.co-copy-btn--ok {
  background: #e8f9ef;
  color: #1e9b4c;
  box-shadow: none;
}
.co-copy-btn--ok:hover { filter: none; transform: none; }

/* Link "abrir página de pagamento" (secundário) */
.co-invoice-link {
  text-decoration: none;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand, #2bd76a);
  box-shadow: none;
}
.co-invoice-link:hover { filter: none; transform: none; background: rgba(43, 215, 106, 0.16); }

/* ── Como pagar ── */
.co-steps-card { display: flex; flex-direction: column; gap: 10px; }
.co-steps-card .evh-card__title { margin-bottom: 4px; }
.co-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.co-step-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}
.co-step-text { font-size: 0.76rem; color: var(--evh-ink, #13301a); line-height: 1.35; }

@media (max-width: 380px) {
  .co-steps-row { grid-template-columns: 1fr; }
  .co-step { flex-direction: row; text-align: left; }
}

/* ── ID da transação ── */
.co-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f9fefa;
  border: 1px solid var(--evh-line, #e3f5e8);
}
.co-tx-label { font-size: 0.8rem; color: var(--evh-muted, #66856d); }
.co-tx-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  word-break: break-all;
  text-align: right;
}

/* ── Ações ── */
.co-actions { display: flex; gap: 10px; }
.co-actions .evh-btn,
.co-actions .evh-btn-ghost { flex: 1; }

/* ── Estado vazio ── */
.co-empty {
  text-align: center;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.co-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(248, 113, 113, 0.12);
  color: #ef4444;
  margin-bottom: 4px;
}
.co-empty-title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--evh-ink, #13301a); }
.co-empty-text { margin: 0 0 12px; font-size: 0.88rem; color: var(--evh-muted, #66856d); max-width: 320px; }
/* ═══════════════════════════════════════════════════════════════
   TAREFAS — design EVH (roxo / preto / branco)
   Obs.: este arquivo também é importado por MiningTask, MiniTasks,
   Community, GiftVouchers, TaxDeclaration, TeamReport e VipRules.
   Os blocos .tasks-banner*, .tasks-btn*, .tasks-loading*, .mining-*,
   .trk-player*, .floating-toast e o .tasks-grid são compartilhados —
   NÃO remover.
═══════════════════════════════════════════════════════════════ */

/* ── Banner ── */
.tasks-banner {
  position: relative;
  width: calc(100% + 28px);
  margin: -14px -14px 0;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #2bd76a 0%, #64e293 55%, #8eeab0 100%);
  box-shadow: 0 14px 32px rgba(43, 215, 106, 0.30);
  color: #ffffff;
  padding: 22px 20px 24px;
  min-height: 150px;
  isolation: isolate;
}

.tasks-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.tasks-banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.50;
}

.tasks-banner__glow--1 {
  width: 200px;
  height: 200px;
  top: -70px;
  right: -50px;
  background: rgba(255, 255, 255, 0.50);
}

.tasks-banner__glow--2 {
  width: 160px;
  height: 160px;
  bottom: -60px;
  left: -40px;
  background: rgba(255, 255, 255, 0.30);
}

.tasks-banner__icon {
  position: absolute;
  bottom: 10px;
  right: 16px;
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.18);
  z-index: 0;
  transform: rotate(-12deg);
}

.tasks-banner__kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.tasks-banner__title {
  position: relative;
  z-index: 1;
  margin: 6px 0 4px;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(29, 151, 74, 0.25);
}

.tasks-banner__subtitle {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.tasks-banner__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ── Botões ── */
.tasks-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.tasks-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #64e293 0%, #2bd76a 100%);
  box-shadow: 0 6px 18px rgba(43, 215, 106, 0.30);
}

.tasks-btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(43, 215, 106, 0.40);
}

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

.tasks-btn--primary:disabled {
  background: #b8d4c3;
  color: #6f9a7f;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.tasks-btn--ghost {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.30);
}

.tasks-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.tasks-btn--done {
  background: rgba(45, 122, 58, 0.15);
  color: #2d7a3a;
  border: 1px solid rgba(45, 122, 58, 0.30);
  cursor: default;
}

.tasks-btn--done:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* ── Loading ── */
.tasks-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  color: #3f8a5a;
  font-size: 0.9rem;
  font-weight: 600;
}

.tasks-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(43, 215, 106, 0.20);
  border-top-color: #2bd76a;
  border-radius: 50%;
  animation: tasks-spin 0.8s linear infinite;
}

@keyframes tasks-spin {
  to { transform: rotate(360deg); }
}

/* ── Bloqueado / Erro ── */
/* .tasks-blocked usa o cartão EVH (.evh-card) no TSX; aqui só ajustes locais */
.tasks-blocked {
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 0 0;
}

.tasks-blocked__body {
  padding: 16px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tasks-blocked strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.tasks-blocked p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--evh-muted);
  line-height: 1.65;
  max-width: 400px;
}

.tasks-blocked__sub {
  font-size: 0.82rem !important;
  color: var(--evh-brand) !important;
  font-style: italic;
  border-top: 1px solid var(--evh-line);
  padding-top: 10px;
  margin-top: 4px !important;
  width: 100%;
}

.tasks-blocked .evh-btn {
  margin-top: 6px;
}

@media (max-width: 560px) {
  .tasks-blocked__body {
    padding: 18px 16px 22px;
  }
}

/* ── Portão de VIP: tarefas borradas atrás + modal travado ── */
.tasks-vip-gate {
  position: relative;
}

.tasks-vip-gate__blurred {
  filter: blur(6px);
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
  transform: scale(1.02);
}

.tasks-vip-gate__overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 22, 15, 0.45);
  backdrop-filter: blur(2px);
  animation: tasks-gate-fade 0.2s ease;
}

@keyframes tasks-gate-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tasks-vip-gate__card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 30px 24px 26px;
  border-radius: 20px;
  background: var(--evh-card, #ffffff);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}

.tasks-vip-gate__lock {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(248, 113, 113, 0.12);
  color: #ef4444;
  margin-bottom: 4px;
}

.tasks-vip-gate__card strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.tasks-vip-gate__card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--evh-muted);
  line-height: 1.6;
}

.tasks-vip-gate__card .evh-btn {
  margin-top: 8px;
}

/* ── Métricas ── */
.tasks-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* .tasks-metric-card usa .evh-card como base no TSX; aqui só o conteúdo */
.tasks-metric-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tasks-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(43, 215, 106, 0.14);
}

.tasks-metric-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(43, 215, 106, 0.10);
  display: grid;
  place-items: center;
  color: var(--evh-brand);
  margin-bottom: 8px;
}

.tasks-metric-card__icon--earn {
  background: rgba(34, 139, 71, 0.12);
  color: #1f9b54;
}

.tasks-metric-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--evh-muted);
}

.tasks-metric-card__value {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.tasks-metric-card__value--earn {
  color: #1f9b54;
}

/* ── Botão de atualizar (canto direito do AppHeader) ── */
.tasks-refresh-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tasks-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── Grid de tarefas ── */
.tasks-grid {
  display: grid;
  gap: 12px;
}

/* ── Carrossel horizontal de tarefas (deslize para o lado) ── */
.tasks-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 2px 0;
}
.tasks-carousel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}
.tasks-carousel-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.12);
  color: var(--evh-brand, #2bd76a);
  font-size: 0.75rem;
  font-weight: 800;
}
.tasks-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px 0 0;
  padding: 2px 0 12px;
}

.tasks-carousel > .tasks-card {
  min-width: 0;
}
@media (min-width: 560px) {
  .tasks-carousel { grid-template-columns: repeat(3, 1fr); }
}

/* ── Introdução "Como funciona" ── */
.tasks-intro { padding: 20px; }
.tasks-intro__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}
.tasks-intro__title-icon {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.28);
}
.tasks-intro__lead {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--evh-field, #f9fdfa);
  border: 1px solid var(--evh-line, #e3f5e8);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--evh-muted, #66856d);
}
.tasks-intro__lead strong { color: var(--evh-brand, #2bd76a); }
.tasks-intro__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tasks-intro__step { display: flex; align-items: flex-start; gap: 12px; }
.tasks-intro__num {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.tasks-intro__num--a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.tasks-intro__num--b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.tasks-intro__num--c { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.tasks-intro__step strong { display: block; font-size: 0.9rem; color: var(--evh-ink, #13301a); }
.tasks-intro__step p { margin: 2px 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--evh-muted, #66856d); }
.tasks-intro__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(43, 215, 106, 0.08);
  color: #187d3e;
  font-size: 0.82rem;
  font-weight: 600;
}
.tasks-intro__note svg { flex: 0 0 auto; color: var(--evh-brand, #2bd76a); }

/* .tasks-card usa .evh-card como base no TSX; aqui só ajustes do conteúdo */
.tasks-card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tasks-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.16);
}

.tasks-card--done {
  border-color: rgba(34, 139, 71, 0.4);
}

.tasks-card--locked {
  border-color: rgba(43, 215, 106, 0.45);
  opacity: 0.75;
}

.tasks-card__img-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.tasks-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tasks-card__img-wrap--captcha {
  background: #eafaf0;
}

.tasks-card__badge-done {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 155, 84, 0.92);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.tasks-card__yt-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.tasks-card__body {
  padding: 14px 16px 16px;
}

.tasks-card__name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.tasks-card__desc {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--evh-muted);
  line-height: 1.45;
}

.tasks-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tasks-card__reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--evh-brand);
}

.tasks-card__reward svg {
  color: var(--evh-brand-2);
}

/* ── Botão dentro do card de tarefa ── */
.tasks-card-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.tasks-card-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  box-shadow: 0 6px 18px rgba(43, 215, 106, 0.30);
}

.tasks-card-btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(43, 215, 106, 0.40);
}

.tasks-card-btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.tasks-card-btn:disabled {
  cursor: not-allowed;
}

.tasks-card-btn--primary:disabled {
  background: #c4e6cd;
  color: #7da888;
  box-shadow: none;
  transform: none;
  filter: none;
}

.tasks-card-btn--done {
  background: rgba(31, 155, 84, 0.14);
  color: #1f9b54;
  border: 1px solid rgba(31, 155, 84, 0.32);
  cursor: not-allowed;
}

/* ── Toast (mantido) ── */
.floating-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  background: linear-gradient(135deg, #2bd76a, #64e293);
  color: #ffffff;
  border: 1px solid rgba(100, 226, 147, 0.55);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
  animation: toastSlideIn 220ms ease-out;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* ── Responsivo ── */
@media (min-width: 560px) {
  .tasks-banner {
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-right: -22px;
    margin-top: -22px;
    padding: 28px 26px 28px;
  }

  .tasks-banner__title {
    font-size: 1.9rem;
  }

  .tasks-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tasks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .tasks-banner__actions {
    flex-direction: column;
  }

  .tasks-banner__actions .tasks-btn {
    width: 100%;
  }

  .tasks-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .tasks-card__reward {
    justify-content: center;
  }

  .tasks-card__footer .tasks-card-btn {
    width: 100%;
  }
}

@media (min-width: 760px) {
  .dash-main .tasks-banner {
    margin-top: -22px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MINING TASK — card de vídeo / avaliação
═══════════════════════════════════════════════════════════════ */

.mining-card {
  background: #ffffff;
  border: 1px solid rgba(43, 215, 106, 0.20);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(40, 180, 91, 0.06);
}

.mining-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mining-card__header-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(43, 215, 106, 0.10);
  display: grid;
  place-items: center;
  color: #2bd76a;
  flex-shrink: 0;
}

.mining-card__header-icon--star {
  background: rgba(100, 226, 147, 0.15);
  color: #64e293;
}

.mining-card__header-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a5a32;
  flex: 1;
}

.mining-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a9a67;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.08);
}

.mining-card__status--playing {
  background: rgba(43, 215, 106, 0.15);
  color: #2bd76a;
}

.mining-card__status--done {
  background: rgba(45, 122, 58, 0.12);
  color: #2d7a3a;
}

.mining-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a9a67;
  flex-shrink: 0;
}

.mining-card__status--playing .mining-card__status-dot {
  background: #2bd76a;
  animation: tasks-pulse 1.5s ease-in-out infinite;
}

.mining-card__status--done .mining-card__status-dot {
  background: #2d7a3a;
}

@keyframes tasks-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.65); }
}

/* ── Player customizado TRK (YouTube) ── */
.trk-player {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(43, 215, 106, 0.18);
  background: #000000;
  position: relative;
}

.trk-player__screen {
  position: relative;
  width: 100%;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.trk-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Overlay clicável por cima do iframe */
.trk-player__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* Botão play grande central */
.trk-player__big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease;
}

.trk-player__big-play:hover {
  background: rgba(0, 0, 0, 0.5);
}

.trk-player__big-play svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0,0.4));
  transition: transform 0.15s ease;
}

.trk-player__big-play:hover svg {
  transform: scale(1.1);
}

/* Overlay concluído */
.trk-player__done-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Barra de controles */
.trk-player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(5, 15, 9, 0.92), rgba(5, 15, 9, 0.98));
}

.trk-player__btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.trk-player__btn:hover:not(:disabled) {
  background: rgba(43, 215, 106, 0.2);
  color: #2bd76a;
}

.trk-player__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.trk-player__time {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Volume */
.trk-player__volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* Badge YouTube */
.trk-player__badge-yt {
  display: flex;
  align-items: center;
  margin-left: 4px;
  opacity: 0.7;
}

/* ── Progresso ── */
.mining-card__progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mining-card__progress-info span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a9a67;
}

.mining-card__progress-info strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1a5a32;
}

.mining-card__progress-track {
  height: 10px;
  background: rgba(43, 215, 106, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mining-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #64e293, #2bd76a);
  border-radius: inherit;
  transition: width 0.4s ease;
}

/* ── Controles ── */
.mining-card__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mining-card__remaining {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4a9a67;
}

.mining-card__remaining svg {
  color: #6ec98f;
}

/* Botão pausar (variante) */
.tasks-btn--pause {
  color: #1a5a32;
  background: rgba(43, 215, 106, 0.12);
  border: 1px solid rgba(43, 215, 106, 0.25);
}

.tasks-btn--pause:hover {
  background: rgba(43, 215, 106, 0.20);
}

/* ── Estrelas de avaliação ── */
.mining-card__stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 0;
}

.mining-star {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(110, 201, 143, 0.30);
  background: rgba(43, 215, 106, 0.04);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mining-star:hover:not(:disabled) {
  transform: scale(1.12);
  background: rgba(43, 215, 106, 0.10);
  border-color: rgba(43, 215, 106, 0.40);
}

.mining-star--active {
  background: rgba(43, 215, 106, 0.12);
  border-color: rgba(43, 215, 106, 0.45);
  box-shadow: 0 2px 8px rgba(43, 215, 106, 0.18);
}

.mining-star:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Botão submit avaliação */
.mining-card__submit-btn {
  width: 100%;
  margin-bottom: 16px;
}

/* ── Status da tarefa (rodapé) ── */
.mining-card__task-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  border-top: 1px solid rgba(43, 215, 106, 0.12);
}

.mining-card__task-status-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a9a67;
}

.mining-card__task-status-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a5a32;
}

.mining-card__task-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mining-card__task-status-dot--done {
  background: #2d7a3a;
}

.mining-card__task-status-dot--watching {
  background: #2bd76a;
  animation: tasks-pulse 1.5s ease-in-out infinite;
}

.mining-card__task-status-dot--waiting {
  background: #6ec98f;
}

.mining-card__task-status-dot--loading {
  background: #2bd76a;
  animation: tasks-pulse 0.8s ease-in-out infinite;
}

/* ── Mensagem inline ── */
.mining-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(43, 215, 106, 0.08);
  border: 1px solid rgba(43, 215, 106, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
  color: #3f8a5a;
}

.mining-message svg {
  color: #2bd76a;
  flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════
   MINING TASK — resolver captcha (layout EVH)
   Self-contained (não usa Tasks.css). Usa o kit evh-* do AppHeader.
═══════════════════════════════════════════════════════ */

.mt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 16px;
  color: var(--evh-muted, #66856d);
  font-size: 0.9rem;
}
.mt-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--evh-line, #e3f5e8);
  border-top-color: var(--evh-brand, #2bd76a);
  animation: mt-spin 0.8s linear infinite;
}
@keyframes mt-spin { to { transform: rotate(360deg); } }

/* ── Cabeçalho do cartão ── */
.mt-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mt-card-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand, #2bd76a);
}
.mt-card-icon svg { width: 18px; height: 18px; }
.mt-card-title { flex: 1; font-size: 0.95rem; font-weight: 800; color: var(--evh-ink, #13301a); }

.mt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfbf0;
  color: var(--evh-muted, #66856d);
  font-size: 0.7rem;
  font-weight: 700;
}
.mt-status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mt-status--done { background: rgba(30, 155, 76, 0.12); color: #1e9b4c; }

/* ── Bloqueado (já concluída / limite atingido) ── */
.mt-locked-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  border-radius: 14px;
  background: #e6f8eb;
  color: #1e9b4c;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Controles / botões ── */
.mt-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(43, 215, 106, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.mt-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.mt-btn:disabled { opacity: 0.6; cursor: default; box-shadow: none; transform: none; }
.mt-btn--done { background: #e8f9ef; color: #1e9b4c; box-shadow: none; }
.mt-submit { width: 100%; margin-top: 16px; }

/* ── Descrição ── */
.mt-desc {
  margin: 4px 2px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--evh-muted, #66856d);
}

/* ── Mensagem ── */
.mt-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfbf0;
  border: 1px solid var(--evh-line, #e3f5e8);
  color: var(--evh-ink, #13301a);
  font-size: 0.85rem;
}
.mt-message svg { flex: 0 0 auto; color: var(--evh-brand, #2bd76a); }

/* ── Toast ── */
.mt-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 2200;
  background: linear-gradient(135deg, #1e9b4c, #187d3e);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: mt-toast-in 0.2s ease-out;
}
@keyframes mt-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
/* ═══════════════════════════════════════════════════
   Planos VIP — layout EVH
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: intro, títulos de seção e o card de plano.
═══════════════════════════════════════════════════ */

/* ── Intro ── */
.vip-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.28);
}
.vip-intro__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}
.vip-intro p { margin: 0; font-size: 0.84rem; line-height: 1.5; opacity: 0.95; }

/* ── Mensagens / loading ── */
.vip-message,
.vip-loading {
  padding: 16px;
  border-radius: 14px;
  background: var(--evh-card, #ffffff);
  border: 1px solid var(--evh-line, #e3f5e8);
  color: var(--evh-muted, #66856d);
  text-align: center;
  font-size: 0.9rem;
}

/* ── Seções ── */
.vip-section { display: flex; flex-direction: column; gap: 12px; }
.vip-section-title {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}
/* ── Seletor de planos (imagens, arraste para o lado) ── */
.vip-picker {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.vip-picker::-webkit-scrollbar { height: 5px; }
.vip-picker::-webkit-scrollbar-thumb { background: var(--evh-line, #e3f5e8); border-radius: 999px; }

.vip-picker__item {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
}

.vip-picker__img-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid transparent;
  box-shadow: 0 6px 16px rgba(19, 101, 44, 0.1);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vip-picker__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vip-picker__item--selected .vip-picker__img-wrap {
  border-color: var(--evh-brand, #2bd76a);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.32);
}

.vip-picker__item--disabled { opacity: 0.85; }

.vip-picker__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--evh-brand, #2bd76a);
  box-shadow: 0 0 0 2px #ffffff;
}

.vip-picker__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(19, 48, 26, 0.45);
  color: #ffffff;
}

.vip-picker__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--evh-muted, #66856d);
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-picker__item--selected .vip-picker__name {
  color: var(--evh-ink, #13301a);
}

/* ── Card de plano ── */
.vip-card {
  background: var(--evh-card, #ffffff);
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(19, 101, 44, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.vip-card:not(.vip-card--disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(19, 101, 44, 0.12);
}
.vip-card--active { border-color: rgba(43, 215, 106, 0.45); box-shadow: 0 12px 30px rgba(43, 215, 106, 0.18); }
.vip-card--disabled { opacity: 0.6; }

/* ── Topo do card (sem foto) ── */
.vip-card__img-wrap {
  position: relative;
  width: 100%;
  height: 64px;
  overflow: hidden;
  background: linear-gradient(135deg, #5ae08a 0%, #2bd76a 60%, #1e9b4c 100%);
}
.vip-card__img-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(19, 48, 26, 0.62);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.vip-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.vip-card__badge--ok { background: #1e9b4c; color: #ffffff; }
.vip-card__badge--off { background: rgba(19, 48, 26, 0.7); color: #ffffff; }

/* ── Corpo ── */
.vip-card__body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.vip-price { display: flex; flex-direction: column; gap: 1px; }
.vip-price small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--evh-muted, #66856d);
  font-weight: 700;
}
.vip-price strong { font-size: 1.7rem; font-weight: 900; color: var(--evh-brand, #2bd76a); letter-spacing: -0.5px; }

/* ── Stats (2x2) ── */
.vip-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vip-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}
.vip-stat-v { font-size: 0.98rem; font-weight: 800; color: var(--evh-ink, #13301a); }
.vip-stat-v--green { color: #1e9b4c; }
.vip-stat-l { font-size: 0.68rem; color: var(--evh-muted, #66856d); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }

/* ── Requisitos ── */
.vip-requirements {
  padding: 12px;
  border-radius: 12px;
  background: #f9fefa;
  border: 1px solid var(--evh-line, #e3f5e8);
}
.vip-requirements__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
  margin-bottom: 8px;
}
.vip-requirements__title svg { color: var(--evh-brand, #2bd76a); flex: 0 0 auto; }
.vip-requirements__list { display: flex; flex-wrap: wrap; gap: 6px; }
.vip-req-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.1);
  border: 1px solid rgba(43, 215, 106, 0.22);
  color: var(--evh-brand, #2bd76a);
  font-size: 0.72rem;
  font-weight: 600;
}
.vip-req-chip strong { font-weight: 800; }

/* ── Botão ── */
.vip-btn {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.vip-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.vip-btn:disabled { cursor: default; }
.vip-card--active .vip-btn:disabled {
  background: #e8f9ef;
  color: #1e9b4c;
  box-shadow: none;
}
.vip-btn--disabled {
  background: #eefcf3;
  color: #7da888;
  box-shadow: none;
  cursor: not-allowed;
}

/* ── Maior largura: imagens do seletor um pouco maiores ── */
@media (min-width: 560px) {
  .vip-picker__item { width: 128px; }
  .vip-picker__img-wrap { width: 128px; height: 128px; }
  .vip-picker__name { max-width: 128px; }
}
/* ═══════════════════════════════════════════════════════════════
   VIP Checkout — layout EVH (roxo / preto / branco)
   Usa o design system evh-ui.css (importado via AppHeader).
═══════════════════════════════════════════════════════════════ */

.vco-body {
  padding-bottom: 104px; /* espaço para a barra fixa de confirmação */
}

.vco-loading {
  text-align: center;
  color: var(--evh-muted);
  font-weight: 600;
}

/* ── Hero do plano ── */
.vco-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vco-hero__img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--evh-line);
}

.vco-hero__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--evh-brand-2), var(--evh-brand));
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  border: 0;
}

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

.vco-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.vco-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand);
}

.vco-chip--soft {
  background: #fdeede;
  color: #b4690e;
}

.vco-hero__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--evh-muted);
}

.vco-hero__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--evh-brand);
  letter-spacing: -0.5px;
  line-height: 1.1;
}


/* ── Comissões ── */
.vco-comm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: vcoReveal 0.28s ease;
}

@keyframes vcoReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.vco-comm__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vco-comm__plain-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--evh-ink);
}

.vco-comm__note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--evh-muted);
  line-height: 1.5;
  font-style: italic;
}

/* ── Exemplo prático ── */
.vco-example {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vco-example__list {
  margin: 0 0 4px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--evh-ink);
  line-height: 1.5;
}

.vco-example__total {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: var(--evh-ink);
  border-top: 1px solid #ccc;
  padding-top: 8px;
}

/* ── Tabelas de comissão — estilo simples (tipo phpMyAdmin) ── */
.vco-table-wrap {
  overflow-x: auto;
  border: 1px solid #ccc;
}

.vco-table--plain {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #ffffff;
}

.vco-table--plain th,
.vco-table--plain td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
  color: #000000;
}

.vco-table--plain thead th {
  background: #f0f0f0;
  font-weight: 700;
}

/* ── Carteiras: quadradinhos selecionáveis ── */
.vco-wallets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vco-wallet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  border: 2px solid var(--evh-line);
  border-radius: 10px;
  padding: 8px 6px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vco-wallet--on {
  border-color: var(--evh-brand);
  background: #f9fefa;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.1);
}

.vco-wallet__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.vco-wallet__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--evh-ink);
}

.vco-wallet__caption {
  font-size: 0.64rem;
  color: var(--evh-muted);
}

.vco-wallet__bal {
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--evh-ink);
  font-variant-numeric: tabular-nums;
}

.vco-wallet--on .vco-wallet__bal {
  color: var(--evh-brand);
}

/* ── Barra fixa de confirmação ── */
.vco-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: #ffffff;
  border-top: 1px solid var(--evh-line);
  box-shadow: 0 -6px 18px rgba(19, 101, 44, 0.08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.vco-bar__inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vco-bar__total {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.vco-bar__total span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--evh-muted);
  font-weight: 700;
}

.vco-bar__total strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--evh-ink);
  font-variant-numeric: tabular-nums;
}

.vco-bar__btn {
  flex: 1;
  width: auto;
}

/* ── Modal de mensagem ── */
.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;
}

.vco-wallet-modal {
  gap: 14px;
}

.vco-wallet-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--evh-ink);
}

.vco-wallet-modal .vco-wallets {
  width: 100%;
}

.vip-checkout-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 215, 106, 0.08);
  border: 2px solid rgba(43, 215, 106, 0.2);
  color: var(--evh-brand);
}

.vip-checkout-modal--success .vip-checkout-modal-icon {
  background: rgba(45, 110, 46, 0.08);
  border-color: rgba(45, 110, 46, 0.2);
  color: #2d6e2e;
}

.vip-checkout-modal-text {
  margin: 0;
  color: var(--evh-ink);
  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;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2), var(--evh-brand));
  box-shadow: 0 6px 18px rgba(43, 215, 106, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vip-checkout-modal--success .vip-checkout-modal-btn {
  background: linear-gradient(90deg, #6dd56d, #2d6e2e);
  box-shadow: 0 6px 18px rgba(45, 110, 46, 0.3);
}

.vip-checkout-modal-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ── Modal de erro (novo layout: banner + corpo) ── */
.vco-error-modal {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: vipModalSlideUp 0.25s ease;
}

.vco-error-modal__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 22px;
  background: linear-gradient(135deg, #ff8a65 0%, #ff5252 45%, #c62828 100%);
  color: #ffffff;
}

.vco-error-modal__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.vco-error-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.vco-error-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 22px 20px;
}

.vco-error-modal__text {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--evh-ink);
  line-height: 1.55;
}

.vco-error-modal__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(90deg, #ff6b6b, #c62828);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vco-error-modal__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ── Telas estreitas ── */
@media (max-width: 360px) {
  .vco-hero__price { font-size: 1.8rem; }
  .vco-table { font-size: 0.74rem; }
  .vco-table th { font-size: 0.64rem; }
}
/* ═══════════════════════════════════════════════════════════════
   Invite — estilos específicos da página (layout base vem do evh-ui)
═══════════════════════════════════════════════════════════════ */

.invite-page * {
  box-sizing: border-box;
}

/* ── Loading / Error ─────────────────────────── */
.invite-page .invite-loading,
.invite-page .invite-error {
  color: var(--evh-muted);
  font-weight: 600;
  text-align: center;
}

.invite-page .invite-error {
  color: #dc2626;
}

/* ── Banner Promote ───────────────────────────── */
/* ── Convide & Ganhe (novo layout) ── */
.invite-page .invite-promote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  text-align: left;
  color: inherit;
}


.invite-share { display: flex; flex-direction: column; gap: 14px; }
.invite-field { display: flex; flex-direction: column; gap: 6px; }
.invite-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--evh-muted, #66856d);
}
.invite-field-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 12px;
  background: #f9fefa;
}
.invite-field-link {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--evh-ink, #13301a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invite-copy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 15px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.invite-copy-btn:hover { filter: brightness(1.05); }
.invite-copy-btn:active { transform: scale(0.95); }

/* ── Botão único "Ver membros da equipe" (rodapé) ── */
.invite-members-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 64px;
  padding: 14px 70px 14px 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(43, 215, 106, 0.28);
  transition: filter 0.15s ease, transform 0.12s ease;
}
.invite-members-btn:hover { filter: brightness(1.05); }
.invite-members-btn:active { transform: scale(0.98); }

.invite-page .invite-promote-banner {
  margin-bottom: 14px;
  overflow: hidden;
  line-height: 0;
  max-width: 100%;
}

.invite-page .invite-promote-banner img {
  width: 100%;
  max-width: 100%;
  border-radius: 16px 16px 0 0;
  display: block;
}

.invite-page .invite-promote-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  padding: 0 16px;
}

.invite-page .invite-promote-desc {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  padding: 0 16px;
}

.invite-page .invite-promote-code-row {
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 16px;
}

.invite-page .invite-promote-code-row strong {
  font-size: 15px;
  color: #ffffff;
}

.invite-page .invite-promote-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.18s;
}

.invite-page .invite-promote-copy-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.invite-page .invite-promote-copy-btn:active {
  opacity: 0.6;
}

.invite-page .invite-promote-link-row {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  word-break: break-all;
  line-height: 1.4;
  padding: 0 16px;
}

/* ── Filtro de datas ──────────────────────────── */
.invite-page .invite-search-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}

.invite-page .invite-search-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.invite-page .invite-date-input {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--evh-line);
  border-radius: 10px;
  background: #f9fefa;
  color: var(--evh-ink);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.invite-page .invite-date-input:focus {
  outline: none;
  border-color: var(--evh-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.12);
}

.invite-page .invite-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.invite-page .invite-date-sep {
  color: var(--evh-muted);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.invite-page .invite-search-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(43, 215, 106, 0.3);
  transition: filter 0.18s, transform 0.15s;
}

.invite-page .invite-search-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.invite-page .invite-search-btn:active {
  transform: translateY(0);
}

/* ── Stats Row (2 colunas) — tiles coloridos estilo dashboard ── */
.invite-page .invite-stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.invite-page .invite-stat-card {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
}

.invite-stat-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.invite-stat-icon svg { width: 18px; height: 18px; }

.invite-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); box-shadow: 0 8px 18px rgba(43, 215, 106, 0.28); }
.invite-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); box-shadow: 0 8px 18px rgba(28, 143, 201, 0.28); }
.invite-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); box-shadow: 0 8px 18px rgba(217, 154, 43, 0.28); }
.invite-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); box-shadow: 0 8px 18px rgba(106, 86, 214, 0.28); }

.invite-page .invite-stat-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.88);
}

.invite-page .invite-stat-value {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

/* ── Botão Posição ────────────────────────────── */
.invite-page .invite-position-btn {
  display: block;
  margin: 0 auto;
  width: 230px;
}

/* ── Team Card ────────────────────────────────── */
.invite-page .invite-team-card .invite-stats-row {
  gap: 12px;
}

.invite-page .invite-team-card .invite-stat-card {
  padding: 14px;
  border-radius: 12px;
}

/* ── Level Card ───────────────────────────────── */
.invite-page .invite-level-card {
  margin: 12px 0 0;
  padding: 12px;
  background: #f9fefa;
  border-radius: 12px;
  border: 1px solid var(--evh-line);
}

.invite-page .invite-level-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--evh-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.invite-level-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.invite-level-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.invite-level-header-text strong { color: var(--evh-ink, #13301a); font-size: 13.5px; }

.invite-page .invite-level-grid {
  display: flex;
  padding-left: 0;
  gap: 4px;
}

.invite-page .invite-level-cell {
  flex-basis: 33.333%;
  padding-right: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.invite-page .invite-level-cell-value {
  color: var(--evh-brand);
  font-size: 15px;
  font-weight: 800;
}

.invite-page .invite-level-cell-label {
  font-size: 10px;
  color: var(--evh-muted);
  line-height: 1.3;
  min-height: 28px;
  display: flex;
  align-items: center;
  text-align: center;
}

/* ── Bottom Banner ────────────────────────────── */
.invite-page .invite-bottom-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.invite-page .invite-bottom-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 480px) {
  .invite-page .invite-promote-name { font-size: 14px; }
  .invite-page .invite-promote-desc { font-size: 12px; }
  .invite-page .invite-position-btn { width: 200px; }
}
/* ═══════════════════════════════════════════════════════
   PERFIL — layout EVH (roxo / branco). Usa o kit evh-* do
   AppHeader. As regras .profile-* antigas abaixo ficaram sem
   uso (mantidas só para os modais de resgate).
═══════════════════════════════════════════════════════ */

.pf-loading {
  text-align: center;
  color: var(--evh-muted, #66856d);
  padding: 30px 16px;
}

/* ── Cartão de perfil (fundo com paisagem) ── */
.profile-page .pf-hero {
  position: relative;
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.28);
  background-image:
    linear-gradient(180deg, rgba(13, 61, 33, 0.42) 0%, rgba(13, 61, 33, 0.62) 100%),
    url('/profile-landscape.svg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pf-hero-row { display: flex; flex-direction: row; align-items: center; text-align: left; gap: 14px; }

.pf-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pf-id { min-width: 0; width: 100%; }
.pf-name { margin: 0; font-size: 1.1rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }

.pf-tags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; justify-content: flex-start; }
.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
}
.pf-badge svg { width: 13px; height: 13px; }
.pf-vip {
  padding: 3px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--evh-brand, #2bd76a);
  font-size: 0.72rem;
  font-weight: 800;
}

.pf-meta { margin-top: 14px; display: grid; gap: 8px; }
.pf-meta-row { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 0.85rem; }
.pf-meta-label { opacity: 0.85; flex: 0 0 64px; }
.pf-meta-val { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-expiry--expired { color: #fecaca; }
.pf-expiry--active { color: #bff3d1; }

/* ── Tons coloridos (estilo dashboard) ── */
.pf-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.pf-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.pf-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.pf-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }
.pf-tone-e { background: linear-gradient(135deg, #f090b6, #d1548c); }
.pf-tone-f { background: linear-gradient(135deg, #5ae08a, #1e9b4c); }
.pf-tone-g { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.pf-tone-h { background: linear-gradient(135deg, #f2a45c, #d97706); }

/* ── Carteira ── */
.profile-page .pf-wallet { display: flex; gap: 10px; }
.pf-wallet-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 6px;
  border-radius: 14px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14);
}
.pf-wallet-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.pf-wallet-icon svg { width: 16px; height: 16px; }
.pf-wallet-item strong { font-size: 0.94rem; font-weight: 800; color: #ffffff; }
.pf-wallet-item span { font-size: 0.68rem; color: rgba(255, 255, 255, 0.88); }

/* ── Estatísticas ── */
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-page .pf-stat { padding: 14px; text-align: center; border-radius: 14px; color: #ffffff; box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14); }
.pf-stat strong { display: block; font-size: 1rem; font-weight: 800; color: #ffffff; }
.pf-stat span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.88); }

/* ── Menu (grade 2 colunas, estilo dashboard) ── */
.pf-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pf-menu-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pf-menu-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(43, 215, 106, 0.16); }
.pf-menu-tile:active { transform: translateY(0); }
.pf-menu-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
}
.pf-menu-icon svg { width: 22px; height: 22px; }
.pf-menu-label { font-size: 0.82rem; font-weight: 700; color: var(--evh-ink, #13301a); line-height: 1.3; }

/* ── Sair ── */
.pf-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.pf-logout svg { width: 18px; height: 18px; }
.pf-logout:hover { background: #fee2e2; }

/* ─── (legado) Banner TRK topo ──────────────────────────── */
.profile-page-legacy {
  background: inherit;
  color: #1a5a32;
}

.profile-banner {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
}

.profile-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.profile-page .profile-header-modern {
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--dash-border);
  background: var(--dash-card);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.profile-page .profile-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-page .profile-avatar-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.profile-page .profile-avatar-frame {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(43, 215, 106, 0.35);
  box-shadow: 0 8px 22px rgba(43, 215, 106, 0.25);
  transition: border-color 0.2s ease;
}

.profile-page .profile-avatar-btn:hover .profile-avatar-frame {
  border-color: rgba(43, 215, 106, 0.6);
}

.profile-page .profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-page .profile-header-info {
  flex: 1;
  min-width: 0;
}

.profile-page .profile-header-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.profile-page .profile-header-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a5a32;
  word-break: break-word;
}

.profile-page .profile-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(43, 215, 106, 0.35);
  background: rgba(43, 215, 106, 0.12);
  color: #2bd76a;
}

.profile-page .profile-user-badge-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.profile-page .profile-user-badge-icon svg {
  width: 16px;
  height: 16px;
}

.profile-page .profile-user-badge-text {
  line-height: 1;
}

.profile-page .profile-user-badge-regular {
  border-color: rgba(43, 215, 106, 0.35);
  background: rgba(43, 215, 106, 0.12);
  color: #2bd76a;
}

.profile-page .profile-user-badge-bronze {
  border-color: rgba(30, 159, 77, 0.55);
  background: rgba(30, 159, 77, 0.15);
  color: #44db7b;
}

.profile-page .profile-user-badge-silver {
  border-color: rgba(148, 184, 161, 0.45);
  background: rgba(148, 184, 161, 0.15);
  color: #e2f0e7;
}

.profile-page .profile-user-badge-gold {
  border-color: rgba(42, 214, 104, 0.55);
  background: rgba(42, 214, 104, 0.15);
  color: #44db7b;
}

.profile-page .profile-user-badge-diamond {
  border-color: rgba(35, 183, 90, 0.55);
  background: rgba(35, 183, 90, 0.15);
  color: #7ae6a2;
}

.profile-page .profile-user-badge-vip {
  border-color: rgba(74, 221, 128, 0.55);
  background: rgba(74, 221, 128, 0.15);
  color: #bff3d2;
}

.profile-page .profile-vip-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(43, 215, 106, 0.3);
  background: rgba(43, 215, 106, 0.1);
  color: #2bd76a;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.profile-page .profile-vip-pill-text {
  display: inline-block;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-page .profile-vip-pill-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  color: #2bd76a;
}

.profile-page .profile-invite-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  color: #3f8a5a;
  font-size: 14px;
  font-weight: 600;
}

.profile-page .profile-invite-code {
  color: #1a5a32;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

/* Validade VIP — variantes semânticas */
.profile-page .profile-vip-expiry {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.profile-page .profile-vip-expiry--active {
  background: rgba(45, 122, 58, 0.16);
  color: #2d7a3a;
  border: 1px solid rgba(45, 122, 58, 0.32);
}

.profile-page .profile-vip-expiry--expired {
  background: rgba(185, 28, 28, 0.14);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.32);
}

.profile-page .profile-vip-expiry--none {
  background: rgba(80, 160, 109, 0.18);
  color: #3f8a5a;
  border: 1px solid rgba(80, 160, 109, 0.3);
}

.profile-page .profile-copy-btn {
  margin-left: 4px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #2bd76a;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.profile-page .profile-copy-btn:hover {
  background: rgba(43, 215, 106, 0.12);
}

.profile-page .profile-copy-icon {
  width: 20px;
  height: 20px;
}

.profile-page .profile-copy-feedback {
  color: #2d7a3a;
  font-size: 12px;
  font-weight: 700;
  margin-left: 2px;
}

/* ── Wallet card (estilo invest-record) ─────────────── */
.profile-page .profile-wallet-card {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.profile-page .profile-wallet-card::before {
  display: none;
}

.profile-page .profile-wallet-card::after {
  display: none;
}

.profile-page .profile-wallet-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-page .profile-wallet-value {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0,0.25);
}

.profile-page .profile-wallet-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255,0.8);
  letter-spacing: 0.2px;
}

.profile-page .profile-wallet-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255,0.25);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── Stats grid (estilo van-row) ───────────────────── */
.profile-page .profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 10px;
  text-align: center;
  margin-bottom: 12px;
}

.profile-page .profile-stat-card {
  margin: 5px;
  padding: 10px;
  background: var(--dash-card);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--dash-border);
  text-align: left;
}

.profile-page .profile-stat-card-full {
  grid-column: 1 / -1;
}

.profile-page .profile-stat-value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  padding: 0 10px;
  color: #54df87;
}

.profile-page .profile-stat-label {
  margin: 0;
  font-size: 12px;
  padding: 0 10px;
  color: #94b8a1;
}

.profile-page .gift-redeem-card {
  margin: 0 0 12px;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 24px rgba(26, 90, 50, 0.12);
}

.profile-page .gift-redeem-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-page .gift-redeem-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.25);
  color: #ffffff;
}

.profile-page .gift-redeem-icon {
  width: 18px;
  height: 18px;
}

.profile-page .gift-redeem-copy {
  min-width: 0;
  flex: 1;
}

.profile-page .gift-redeem-copy h3 {
  margin: 0;
  color: #1a5a32;
  font-size: 14px;
  font-weight: 700;
}

.profile-page .gift-redeem-copy p {
  margin: 2px 0 0;
  color: #3f8a5a;
  font-size: 12px;
}

.profile-page .gift-redeem-spark {
  width: 20px;
  height: 20px;
  color: #2bd76a;
  flex-shrink: 0;
}

.profile-page .gift-redeem-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.profile-page .gift-redeem-input-wrap {
  flex: 1;
  min-width: 0;
}

.profile-page .gift-redeem-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  padding: 10px 12px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-page .gift-redeem-input::placeholder {
  color: #50a06d;
}

.profile-page .gift-redeem-btn {
  min-width: 92px;
  min-height: 44px;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.profile-page .gift-redeem-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.profile-page .gift-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: min(92vw, 520px);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(4, 21, 10, 0.25);
  border: 1px solid transparent;
  animation: giftToastIn 180ms ease-out;
}

.profile-page .gift-toast.success {
  background: #edfcf5;
  border-color: #8ce9ae;
  color: #166534;
}

.profile-page .gift-toast.error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

@keyframes giftToastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.profile-page .redeem-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 90, 50, 0.45);
  backdrop-filter: blur(5px);
}

.profile-page .redeem-modal-card {
  position: relative;
  width: min(92vw, 460px);
  border-radius: 22px;
  padding: 22px 20px 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f2fcf6 50%, #e5faec 100%);
  border: 1px solid rgba(43, 215, 106, 0.22);
  box-shadow: 0 28px 68px rgba(26, 90, 50, 0.25);
  text-align: center;
  animation: redeemModalPop 340ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.profile-page .redeem-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dff9e8 0%, #bff3d1 100%);
  border: 1px solid #8ce9ae;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.profile-page .redeem-modal-card h2 {
  margin: 0;
  color: #0f2a19;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.profile-page .redeem-modal-message {
  margin: 10px 0 0;
  color: #33553f;
  font-size: 14px;
  line-height: 1.4;
}

.profile-page .redeem-modal-highlight {
  margin: 14px auto 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: linear-gradient(135deg, rgba(157, 236, 186, 0.08) 0%, rgba(43, 215, 106, 0.12) 100%);
  display: grid;
  gap: 4px;
}

.profile-page .redeem-modal-highlight span {
  color: #1a5a32;
  font-size: 12px;
  font-weight: 700;
}

.profile-page .redeem-modal-highlight strong {
  color: #2bd76a;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.profile-page .redeem-modal-code {
  margin: 10px 0 0;
  color: #3f8a5a;
  font-size: 13px;
}

.profile-page .redeem-modal-code b {
  color: #1a5a32;
}

.profile-page .redeem-modal-btn {
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 16px;
  width: 100%;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(43, 215, 106, 0.28);
}

.profile-page .redeem-modal-btn:hover {
  filter: brightness(1.04);
}

.profile-page .redeem-modal-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.profile-page .confetti {
  position: absolute;
  top: -16px;
  width: 9px;
  height: 15px;
  border-radius: 3px;
  opacity: 0.95;
  animation: confettiFall 2.4s linear infinite;
}

.profile-page .confetti-1 { left: 4%; background: #2bd76a; animation-delay: 0s; }
.profile-page .confetti-2 { left: 12%; background: #64e293; animation-delay: .2s; }
.profile-page .confetti-3 { left: 20%; background: #2d7a3a; animation-delay: .35s; }
.profile-page .confetti-4 { left: 28%; background: #b91c1c; animation-delay: .5s; }
.profile-page .confetti-5 { left: 36%; background: #1a5a32; animation-delay: .65s; }
.profile-page .confetti-6 { left: 44%; background: #c3f4d5; animation-delay: .8s; }
.profile-page .confetti-7 { left: 52%; background: #8ae9ad; animation-delay: .95s; }
.profile-page .confetti-1:nth-child(8n) { left: 60%; animation-delay: 1.1s; }
.profile-page .confetti-2:nth-child(9n) { left: 68%; animation-delay: 1.25s; }
.profile-page .confetti-3:nth-child(10n) { left: 76%; animation-delay: 1.4s; }
.profile-page .confetti-4:nth-child(11n) { left: 84%; animation-delay: 1.55s; }
.profile-page .confetti-5:nth-child(12n) { left: 92%; animation-delay: 1.7s; }

@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    transform: translateY(110vh) rotate(640deg);
    opacity: 0.95;
  }
}

@keyframes redeemModalPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Hero banner do Perfil ─────────────────────────────── */
.profile-page .profile-hero {
  position: relative;
  border-radius: 22px;
  padding: 28px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.45), transparent 45%),
    radial-gradient(circle at 10% 5%, rgba(157, 236, 186, 0.55), transparent 32%),
    linear-gradient(135deg, #eefcf3 0%, #c3f4d5 55%, #8ae9ad 100%);
  box-shadow: 0 20px 44px rgba(43, 215, 106, 0.25);
  color: #1a5a32;
  overflow: hidden;
}

.profile-page .profile-hero::before,
.profile-page .profile-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.profile-page .profile-hero::before {
  width: 180px;
  height: 180px;
  right: -50px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.profile-page .profile-hero::after {
  width: 140px;
  height: 140px;
  left: -40px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.profile-page .profile-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.profile-page .profile-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.profile-page .profile-hero__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3f8a5a;
  font-weight: 700;
}

.profile-page .profile-hero h1 {
  margin: 6px 0 8px;
  color: #1a5a32;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 8px rgba(43, 215, 106, 0.15);
}

.profile-page .profile-hero__subtitle {
  margin: 0;
  color: #3f8a5a;
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(43, 215, 106, 0.1);
}

.profile-page .profile-hero__back {
  align-self: flex-start;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(43, 215, 106, 0.35);
  color: #2bd76a;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.2);
  transition: transform 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}

.profile-page .profile-hero__back:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.profile-page .profile-loading {
  border: 1px solid var(--dash-border);
  border-radius: 14px;
  padding: 18px;
  background: var(--dash-card);
  color: var(--dash-muted);
  font-weight: 600;
  text-align: center;
}

@media (min-width: 768px) {
  .profile-page .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .profile-page .profile-header-modern {
    padding: 12px 10px;
  }

  .profile-page .profile-header-row {
    align-items: flex-start;
  }

  .profile-page .profile-avatar-frame {
    width: 56px;
    height: 56px;
  }

  .profile-page .profile-header-name {
    font-size: 18px;
  }

  .profile-page .profile-vip-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  .profile-page .profile-vip-pill-text {
    max-width: 92px;
  }

  .profile-page .profile-invite-row {
    font-size: 12px;
  }

  .profile-page .profile-copy-btn {
    width: 34px;
    height: 34px;
  }

  .profile-page .profile-copy-icon {
    width: 18px;
    height: 18px;
  }

  .profile-page .profile-hero {
    padding: 22px 18px;
  }

  .profile-page .profile-hero h1 {
    font-size: 1.6rem;
  }

  .profile-page .gift-redeem-card {
    padding: 12px;
  }

  .profile-page .gift-redeem-copy h3 {
    font-size: 13px;
  }

  .profile-page .gift-redeem-copy p {
    font-size: 11px;
  }

  .profile-page .gift-redeem-btn {
    min-width: 80px;
    padding: 10px 12px;
  }
}

/* ── Menu grid (estilo van-grid) ───────────────────── */
.profile-page .profile-menu-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 1px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.profile-page .profile-menu-item {
  flex-basis: 25%;
  width: 80px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  gap: 8px;
  border: none;
}

.profile-page .profile-menu-item:active {
  opacity: 0.7;
  background: transparent;
}

.profile-page .profile-menu-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-page .profile-menu-icon-wrap svg {
  width: 100%;
  height: 100%;
  color: #54df87;
}

.profile-page .profile-menu-label {
  font-size: 12px;
  color: #1a5a32;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  text-align: center;
  line-height: 1.3;
}

.profile-page .profile-menu-item.logout .profile-menu-icon-wrap svg {
  color: #b91c1c;
}

.profile-page .profile-menu-item.logout .profile-menu-label {
  color: #b91c1c;
}
/* ─── InvestmentOrders — layout EVH (estilo dashboard) ──────────────────── */

.io-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.io-tone-b { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.io-tone-c { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.io-tone-d { background: linear-gradient(135deg, #f6c56b, #d99a2b); }

/* ── botão "novo investimento" no header ── */
.inv-new-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.inv-new-btn:hover { background: rgba(255, 255, 255, 0.3); }
.inv-new-btn svg { width: 18px; height: 18px; }

/* ── resumo (tiles coloridos) ── */
.inv-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.inv-summary-card {
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14);
}

.inv-summary-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  margin-bottom: 4px;
}
.inv-summary-icon svg { width: 15px; height: 15px; }

.inv-summary-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inv-summary-value {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

/* ── filtros ── */
.inv-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inv-filters button {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--evh-line, #e3f5e8);
  background: #ffffff;
  color: var(--evh-muted, #66856d);
  cursor: pointer;
  transition: all 0.2s;
}

.inv-filters button.active {
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(43, 215, 106, 0.28);
}

/* ── estado vazio ── */
.inv-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--evh-muted, #66856d);
}

.inv-empty-icon {
  width: 52px;
  height: 52px;
  color: rgba(43, 215, 106, 0.5);
  margin: 0 auto 14px;
  display: block;
}

.inv-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--evh-ink, #13301a);
  margin: 0 0 6px;
}

.inv-empty-sub {
  font-size: 13px;
  color: var(--evh-muted, #66856d);
  margin: 0 0 16px;
}

.inv-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(43, 215, 106, 0.2);
  border-top-color: var(--evh-brand, #2bd76a);
  border-radius: 50%;
  animation: inv-spin 0.8s linear infinite;
  margin: 0 auto 14px;
}

@keyframes inv-spin {
  to { transform: rotate(360deg); }
}

.inv-start-btn {
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(43, 215, 106, 0.28);
  transition: filter 0.2s;
}

.inv-start-btn:hover {
  filter: brightness(1.08);
}

/* ── lista de cards ── */
.inv-list {
  display: grid;
  gap: 12px;
}

.inv-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inv-card--done {
  border-color: rgba(30, 155, 76, 0.35);
}

/* topo */
.inv-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.inv-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.inv-card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inv-card-id {
  font-size: 11px;
  color: var(--evh-muted, #66856d);
  font-family: monospace;
}

/* badge status */
.inv-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.inv-status--ongoing {
  color: #1e9f4d;
  border-color: rgba(43, 215, 106, 0.4);
  background: rgba(43, 215, 106, 0.12);
}

.inv-status--completed {
  color: #059669;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
}

/* barra de progresso */
.inv-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inv-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inv-progress-label {
  font-size: 12px;
  color: #3f8a5a;
  font-weight: 600;
}

.inv-progress-pct {
  font-size: 12px;
  font-weight: 700;
  color: #1e9f4d;
}

.inv-progress-pct.done {
  color: #059669;
}

.inv-progress-track {
  height: 6px;
  background: rgba(43, 215, 106, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.inv-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #64e293, #2bd76a);
  transition: width 0.6s ease;
}

.inv-progress-fill.done {
  background: linear-gradient(90deg, #34d399, #059669);
}

.inv-progress-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #3f8a5a;
}

/* métricas */
.inv-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  border-top: 1px solid rgba(43, 215, 106, 0.15);
  padding-top: 10px;
}

.inv-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-metric-label {
  font-size: 11px;
  color: #3f8a5a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.inv-metric-value {
  font-size: 14px;
  font-weight: 700;
  color: #2d4436;
}

.inv-metric-value.orange {
  color: #1e9f4d;
}

.inv-metric-value.green {
  color: #059669;
}

/* ── responsivo ── */
@media (min-width: 560px) {
  .inv-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 400px) {
  .inv-metrics {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════
   BankCards — Chave PIX (layout EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: o cartão PIX visual e o seletor de tipo.
═══════════════════════════════════════════════════ */

.bc-loading {
  text-align: center;
  padding: 30px 18px;
  color: var(--evh-muted, #66856d);
  font-size: 0.9rem;
}

/* ── Mensagem ── */
.bc-msg {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
}
.bc-msg.error { color: #b91c1c; background: #fef2f2; border: 1px solid #fca5a5; }
.bc-msg.success { color: #187d3e; background: #f1fcf4; border: 1px solid #8ce9ae; }

/* ── Formulário ── */
.bc-form { display: flex; flex-direction: column; gap: 14px; }
.bc-section { display: flex; flex-direction: column; }
.bc-required { color: #dc2626; }
.bc-hint { margin-top: 6px; font-size: 0.76rem; color: var(--evh-muted, #66856d); }

/* Tipo de chave — tiles coloridos estilo dashboard */
.bc-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.bc-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.bc-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.bc-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }
.bc-tone-e { background: linear-gradient(135deg, #6fd6c4, #22a693); }

.bc-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bc-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px;
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 12px;
  background: #f9fefa;
  color: var(--evh-ink, #13301a);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.bc-type-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
}
.bc-type-icon svg { width: 17px; height: 17px; }
.bc-type:hover:not(:disabled):not(.bc-type--active) { border-color: var(--evh-brand-2, #5ae08a); transform: translateY(-1px); }
.bc-type--active {
  background: #eefcf3;
  border-color: var(--evh-brand, #2bd76a);
  color: var(--evh-brand, #2bd76a);
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.18);
}
.bc-type:disabled { opacity: 0.4; cursor: not-allowed; }
.bc-type:disabled .bc-type-icon { filter: grayscale(1); }

.bc-submit { margin-top: 4px; }
/* ═══════════════════════════════════════════════════════════════
   TeamReport — layout no padrão EVH (evh-card + tiles coloridos)
═══════════════════════════════════════════════════════════════ */

.tr-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.tr-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.tr-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.tr-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }

/* ── Tabs ── */
.team-tabs-card { padding: 6px; }
.team-tabs-row { display: flex; gap: 8px; }
.team-tab-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--evh-muted, #66856d);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.team-tab-btn:hover { color: var(--evh-ink, #13301a); background: rgba(43, 215, 106, 0.1); }
.team-tab-btn.active {
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(43, 215, 106, 0.28);
}

/* ── Filtro de nível ── */
.team-filter-card { padding: 14px; }

.team-level-switch { display: flex; gap: 8px; }
.team-level-switch button {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--evh-line, #e3f5e8);
  background: #ffffff;
  color: var(--evh-ink, #13301a);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 600;
}
.team-level-switch button.active {
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  color: #ffffff;
  border-color: transparent;
}

/* ── Toast ── */
.team-toast {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 159, 77, 0.22);
  animation: team-toast-in 0.18s ease;
}
.team-toast.success { background: linear-gradient(135deg, #34c77a, #1e9b4c); }
.team-toast.error { background: linear-gradient(135deg, #ef4444, #dc2626); }

@keyframes team-toast-in {
  from { opacity: 0; transform: translate(-50%, -6px) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.team-loading {
  text-align: center;
  color: var(--evh-muted, #66856d);
  font-weight: 600;
}

/* ── KPI tiles (relatórios) ── */
.team-kpis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.team-kpi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 14px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14);
}
.team-kpi-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.team-kpi-icon svg { width: 17px; height: 17px; }
.team-kpi-card h3 { margin: 0; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.team-kpi-card strong { display: block; margin-top: 2px; font-size: 17px; color: #ffffff; }

.team-kpi-single { margin-bottom: 2px; }

/* ── Dados por nível ── */
.team-levels-card h2 { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--evh-ink, #13301a); }
.team-levels-grid { display: grid; gap: 10px; }
.team-level-item {
  background: var(--evh-field, #f9fdfa);
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 12px;
  padding: 12px;
}
.team-level-item header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
  margin-bottom: 10px;
}
.team-level-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.team-level-item p {
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--evh-muted, #66856d);
  font-size: 13px;
}
.team-level-item strong { color: var(--evh-ink, #13301a); }

/* ── Lista de membros ── */
.team-members-list { display: grid; gap: 10px; }
.team-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-member-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
}
.team-member-info { flex: 1; min-width: 0; }
.team-member-item h4 { margin: 0; color: var(--evh-ink, #13301a); font-size: 15px; }
.team-member-item p { margin: 2px 0; color: var(--evh-muted, #66856d); font-size: 13px; }
.team-member-item small { color: var(--evh-muted, #66856d); font-size: 12px; }

.team-member-right { display: grid; justify-items: end; gap: 5px; }
.team-member-right strong { color: var(--evh-ink, #13301a); font-size: 14px; }
.team-member-right span {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.team-member-right span.ok { color: #ffffff; background: linear-gradient(135deg, #34c77a, #1e9b4c); }
.team-member-right span.pending { color: #187d3e; background: rgba(43, 215, 106, 0.12); }

.team-empty {
  text-align: center;
  color: var(--evh-muted, #66856d);
  padding: 28px 12px;
}

@media (max-width: 640px) {
  .team-kpis-grid { grid-template-columns: 1fr; }
  .team-level-switch { flex-wrap: wrap; }
}
/* Check-in — estilos específicos da página (design EVH) */

/* Loading */
.ck-loading {
  text-align: center;
  color: var(--evh-muted);
  padding: 24px 16px;
  font-size: 14px;
}

/* Progress */
.ck-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--evh-ink);
}

.ck-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--evh-line);
  overflow: hidden;
}

.ck-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  transition: width 0.3s ease;
}

.ck-progress-percent {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--evh-muted);
}

/* Status chips */
.ck-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ck-chip--ok {
  background: #e8f7ee;
  color: #1f7a40;
}

.ck-chip--warn {
  background: #edfaf0;
  color: var(--evh-muted);
}

/* Claim button (usa .evh-btn como base) */
.ck-claim-btn {
  margin-top: 14px;
}

/* ═══ Grade de calendários (10 dias, quadradinhos) ═══ */
.ck-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ck-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* "Foto" de calendário — quadradinho com topo colorido e o número do dia */
.ck-day-cal {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid var(--evh-line);
  box-shadow: 0 3px 8px rgba(19, 101, 44, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ck-day-cal__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: #9fc0a7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.ck-day-cal__ring {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.ck-day-cal__num {
  margin-top: 14%;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}

.ck-day-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
}
.ck-day-badge svg { width: 11px; height: 11px; }

.ck-day-badge--done { background: var(--evh-brand, #2bd76a); }
.ck-day-badge--locked { background: #9fc0a7; }

.ck-day-amount {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--evh-muted);
}

/* — Disponível hoje (pode destravar) — */
.ck-day--current .ck-day-cal {
  border-color: var(--evh-brand, #2bd76a);
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.16);
  animation: ck-node-pulse 1.7s ease-in-out infinite;
}
.ck-day--current .ck-day-cal__top { background: var(--evh-brand, #2bd76a); }
.ck-day--current .ck-day-amount { color: var(--evh-brand, #2bd76a); font-weight: 800; }

/* — Destravado (resgatado) — */
.ck-day--done .ck-day-cal { border-color: #b6e0c4; }
.ck-day--done .ck-day-cal__top { background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a)); }
.ck-day--done .ck-day-amount { color: var(--evh-brand, #2bd76a); }

/* — Bloqueado (futuro) — */
.ck-day--locked .ck-day-cal { opacity: 0.75; }
.ck-day--locked .ck-day-cal__num { color: var(--evh-muted); }

@keyframes ck-node-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(43, 215, 106, 0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .ck-day--current .ck-day-cal { animation: none; }
}

@media (max-width: 380px) {
  .ck-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .ck-day-cal__num { font-size: 1rem; }
}

/* Modal */
.ck-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 48, 26, 0.5);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
  animation: ck-fade-in 0.18s ease;
}

@keyframes ck-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ck-modal {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px 18px;
  box-shadow: 0 20px 48px rgba(19, 101, 44, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: ck-pop-in 0.22s ease;
}

@keyframes ck-pop-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ck-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
}

.ck-modal-icon--success {
  background: #25c25f;
}

.ck-modal-icon--error {
  background: #ef4444;
}

.ck-modal-icon svg {
  width: 30px;
  height: 30px;
}

.ck-modal-message {
  font-size: 15px;
  font-weight: 500;
  color: var(--evh-ink);
  margin: 0 0 16px;
  line-height: 1.45;
}

.ck-modal-button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  cursor: pointer;
  font-family: inherit;
}
/* ═══════════════════════════════════════════════════
   404 — Página não encontrada (layout EVH)
═══════════════════════════════════════════════════ */
.nf-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background: radial-gradient(120% 80% at 50% 0%, #156f37 0%, #0b3a19 55%, #051c0d 100%);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.nf-glow {
  position: absolute;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  height: 540px;
  max-width: 130vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 220, 124, 0.55), transparent 65%);
  filter: blur(16px);
  pointer-events: none;
}

.nf-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 440px;
}

.nf-logo {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5ae08a, #2bd76a);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(43, 215, 106, 0.6);
  margin-bottom: 12px;
}
.nf-logo svg { width: 34px; height: 33px; }

.nf-code {
  font-size: clamp(76px, 24vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(180deg, #ffffff 0%, #b8f1cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 38px rgba(74, 220, 124, 0.55));
}

.nf-title {
  margin: 8px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.nf-text {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.nf-text-pt {
  margin: 4px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.nf-btn--primary {
  background: linear-gradient(135deg, #5ae08a, #2bd76a);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.5);
}
.nf-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.nf-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.nf-btn:active { transform: translateY(0); }
.community-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: inherit;
  color: #1a5a32;
  padding: 22px 16px 92px;
}

.community-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(43, 215, 106, 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: #1a5a32;
  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: #ffffff;
  cursor: pointer;
}

.community-inline-message {
  color: #1a5a32;
}

.community-feedback {
  margin-top: 12px;
  color: #1e9f4d;
  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(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 100%);
  background-attachment: fixed;
  color: #1a5a32;
  overflow-y: auto;
}

.tax-card {
  margin: 18px 20px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  box-shadow: 0 16px 30px rgba(43, 215, 106, 0.12);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.tax-form { padding: 24px; color: #1a5a32; max-width: 1080px; margin: 0 auto; }
.tax-form h2 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.3; color: #1a5a32; }
.tax-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; font-weight: 600; color: #1a5a32; }
.tax-grid input { height: 42px; border-radius: 10px; border: 1px solid rgba(43, 215, 106, 0.3); background: rgba(238, 252, 243, 0.8); color: #1a5a32; padding: 0 12px; outline: none; font-size: 0.92rem; }
.tax-grid input:focus { border-color: #2bd76a; box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.2); }
.tax-grid input:disabled { opacity: 0.7; }
.tax-summary { margin-top: 18px; border-radius: 12px; border: 1px solid rgba(43, 215, 106, 0.22); background: rgba(255, 255, 255, 0.85); padding: 14px; }
.tax-summary h3 { margin: 0 0 10px; color: #1a5a32; }
.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, #2bd76a, #54de87); color: #ffffff; font-weight: 700; cursor: pointer; min-width: 170px; }
.tax-feedback { margin-top: 12px; color: #1e9b4c; font-weight: 600; }
.tax-report-card { margin-top: 14px; }
.tax-report-subtitle { margin: 0 0 16px; color: #3f8a5a; font-size: 0.95rem; line-height: 1.45; }
.tax-controls { border: 1px solid rgba(43, 215, 106, 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(43, 215, 106, 0.45); border-radius: 12px; height: 42px; padding: 0 18px; background: rgba(43, 215, 106, 0.1); color: #1e9f4d; 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(43, 215, 106, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.85); padding: 14px; }
.report-header h3 { margin: 0 0 8px; color: #1a5a32; }
.company-header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(43, 215, 106, 0.22); padding-bottom: 12px; margin-bottom: 12px; }
.company-sub { font-weight: 700; color: #1e9f4d !important; margin-bottom: 8px !important; }
.company-meta { min-width: 230px; border: 1px solid rgba(43, 215, 106, 0.22); border-radius: 10px; padding: 10px; background: rgba(238, 252, 243, 0.6); }
.report-client-block { background: rgba(238, 252, 243, 0.4); border: 1px solid rgba(43, 215, 106, 0.22); border-radius: 10px; padding: 10px; }
.report-header p { margin: 4px 0; color: #1a5a32; 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(43, 215, 106, 0.15); text-align: left; font-size: 0.9rem; vertical-align: middle; color: #1a5a32; }
.tax-table th { color: #1e9f4d; font-weight: 700; background: rgba(43, 215, 106, 0.1); }
.tax-table .row-even td { background: rgba(43, 215, 106, 0.05); }
.tax-table .row-odd td { background: rgba(238, 252, 243, 0.3); }
.status-paid { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(30, 155, 76, 0.15); border: 1px solid rgba(30, 155, 76, 0.35); color: #1e9b4c; font-weight: 700; font-size: 0.78rem; }
.tax-table tfoot td { font-weight: 700; color: #1a5a32; background: rgba(43, 215, 106, 0.1); }
.tax-empty { text-align: center !important; color: #3f8a5a !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: #ffffff !important;
    padding: 0 !important;
  }

  .tax-card {
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .company-header,
  .report-client-block,
  .company-meta {
    border-color: #222222 !important;
    background: #ffffff !important;
  }

  .print-report-area,
  .tax-form,
  .tax-table th,
  .tax-table td,
  .report-header p,
  .report-header h3 {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: #dddddd !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;
  }
}
/* ═══════════════════════════════════════════════════
   Senha de saque (layout EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: aviso de segurança, campo com olho e
   checklist de requisitos. O modal de feedback é mantido.
═══════════════════════════════════════════════════ */

/* ── Formulário ── */
.wp-form { display: flex; flex-direction: column; gap: 14px; }
.wp-section { display: flex; flex-direction: column; }

/* Campo com botão de mostrar/ocultar */
.wp-field { position: relative; }
.wp-field .evh-input { padding-right: 46px; }
.wp-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--evh-muted, #66856d);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.wp-eye:hover { color: var(--evh-brand, #2bd76a); background: rgba(43, 215, 106, 0.08); }
.wp-eye svg { width: 20px; height: 20px; }

/* ── Requisitos (checklist ao vivo) ── */
.wp-reqs {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wp-reqs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--evh-muted, #66856d);
  transition: color 0.15s ease;
}
.wp-reqs li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: #e6f8eb;
  color: #a7ccb1;
  transition: background 0.15s ease, color 0.15s ease;
}
.wp-req--ok { color: #1e9b4c; }
.wp-req--ok svg { background: rgba(30, 155, 76, 0.14); color: #1e9b4c; }

.wp-submit { margin-top: 4px; }

/* ═══ Modal de feedback (mantido) ═══ */
.wp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 48, 26, 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: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px 18px;
  box-shadow: 0 18px 44px rgba(19, 101, 44, 0.28);
  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.92); 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: #25c25f; }
.wp-modal-icon--error { background: #ef4444; }
.wp-modal-icon svg { width: 30px; height: 30px; }
.wp-modal-message {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--evh-ink, #13301a);
  margin: 0 0 16px;
  line-height: 1.45;
}
.wp-modal-button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  cursor: pointer;
  font-family: inherit;
}
/* ═══════════════════════════════════════════════════
   Alterar senha (layout EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: aviso de segurança, campo com olho e
   checklist de requisitos. O modal de feedback é mantido.
═══════════════════════════════════════════════════ */

/* ── Formulário ── */
.cp-form { display: flex; flex-direction: column; gap: 14px; }
.cp-section { display: flex; flex-direction: column; }

/* Campo com botão de mostrar/ocultar */
.cp-field { position: relative; }
.cp-field .evh-input { padding-right: 46px; }
.cp-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--evh-muted, #66856d);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.cp-eye:hover { color: var(--evh-brand, #2bd76a); background: rgba(43, 215, 106, 0.08); }
.cp-eye svg { width: 20px; height: 20px; }

/* ── Requisitos (checklist ao vivo) ── */
.cp-reqs {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-reqs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--evh-muted, #66856d);
  transition: color 0.15s ease;
}
.cp-reqs li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: #e6f8eb;
  color: #a7ccb1;
  transition: background 0.15s ease, color 0.15s ease;
}
.cp-req--ok { color: #1e9b4c; }
.cp-req--ok svg { background: rgba(30, 155, 76, 0.14); color: #1e9b4c; }

.cp-submit { margin-top: 4px; }
/* ═══════════════════════════════════════════════════════════════
   Withdraw — design EVH (roxo / preto / branco)
   O wrapper da página (.evh-page), header, cartões, inputs e botão
   principal vêm do kit compartilhado (evh-ui.css via AppHeader).
   Aqui ficam apenas os estilos próprios desta página.
═══════════════════════════════════════════════════════════════ */

/* ── Hero: saldo disponível + toggle de carteira ── */
.wd-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 14px 30px rgba(43, 215, 106, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wd-hero::before {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -82px;
  right: -54px;
  pointer-events: none;
}
.wd-hero-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-bottom: 4px;
}
.wd-hero-tab {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding-bottom: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wd-hero-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 20, 11, 0.78) 0%, rgba(6, 20, 11, 0.25) 55%, rgba(6, 20, 11, 0.15) 100%);
}
.wd-hero-tab span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.wd-hero-tab__amount {
  font-size: 1.05rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.wd-hero-tab--balance { background-image: url('/wd-balance-bg.png'); }
.wd-hero-tab--commission { background-image: url('/wd-balance-bg.png'); }
.wd-hero-tab--active {
  outline: 3px solid #ffffff;
  outline-offset: -3px;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.wd-hero-tab:disabled { opacity: 0.5; cursor: not-allowed; }
.wd-hero-label { position: relative; z-index: 1; font-size: 0.76rem; opacity: 0.85; letter-spacing: 0.03em; }
.wd-hero-amount { position: relative; z-index: 1; font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; }
.wd-hero-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
}
.wd-hero-pill--red { background: rgba(239, 68, 68, 0.9); }

/* ── Resumo do saque ── */
.wd-summary { display: flex; flex-direction: column; }
.wd-summary .evh-card__title { margin-bottom: 12px; }
.wd-net {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: rgba(30, 155, 76, 0.08);
  border: 1px solid rgba(30, 155, 76, 0.22);
}
.wd-net-label { font-size: 0.88rem; font-weight: 700; color: var(--evh-ink); }
.wd-net-value { font-size: 1.4rem; font-weight: 900; color: #1e9b4c; letter-spacing: -0.3px; }

.wd-rows { display: flex; flex-direction: column; }
.wd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--evh-line);
  font-size: 0.86rem;
}
.wd-row:last-child { border-bottom: 0; }
.wd-row > span { color: var(--evh-muted); }
.wd-row > strong { color: var(--evh-ink); font-weight: 700; text-align: right; }
.wd-row--fee { color: #dc2626 !important; }
.wd-row--green { color: #1e9b4c !important; }
.wd-row--red { color: #dc2626 !important; }

/* ── Chave PIX ── */
.wd-pix {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9fefa;
  border: 1px solid var(--evh-line);
}
.wd-pix-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wd-pix-label { font-size: 0.68rem; color: var(--evh-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.wd-pix-value { font-size: 0.9rem; font-weight: 700; color: var(--evh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ── Cabeçalho do cartão (título + chip de nível) ── */
.wd-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.wd-card-head .evh-card__title {
  margin: 0;
}

.wd-chip--green {
  background: rgba(37, 194, 95, 0.12);
  color: #1e9b4c;
}

.wd-chip--red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* ── Wallet row (seletor de carteira) ── */
.wd-wallet-row {
  display: flex;
  gap: 10px;
}

.wd-wallet-opt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 2px solid var(--evh-line);
  border-radius: 14px;
  background: #f9fefa;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wd-wallet-opt:hover:not(:disabled) {
  border-color: var(--evh-brand-2);
}

.wd-wallet-opt:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wd-wallet-opt--active {
  border-color: var(--evh-brand);
  background: rgba(43, 215, 106, 0.08);
}

.wd-wallet-opt__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--evh-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wd-wallet-opt--active .wd-wallet-opt__name {
  color: var(--evh-brand);
}

.wd-wallet-opt__val {
  font-size: 16px;
  font-weight: 800;
  color: var(--evh-ink);
}

/* ── Cell row (linhas de informação) ── */
.wd-cell {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--evh-line);
}

.wd-cell-title {
  flex: 0 0 140px;
  font-size: 14px;
  color: var(--evh-muted);
  font-weight: 600;
}

.wd-cell-value {
  flex: 1;
  text-align: right;
  min-width: 0;
}

.wd-cell-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--evh-ink);
  font-weight: 600;
  font-family: inherit;
  padding: 0;
  text-align: right;
}

.wd-cell-input::placeholder {
  color: #9bb5a2;
}

.wd-cell-input:disabled {
  color: var(--evh-ink);
  opacity: 0.9;
  -webkit-text-fill-color: var(--evh-ink);
}

.wd-cell-text {
  font-size: 14px;
  color: var(--evh-ink);
  font-weight: 600;
}

.wd-cell-text--amount {
  color: var(--evh-brand);
  font-weight: 800;
}

.wd-cell-text--green {
  color: #1e9b4c;
}

.wd-cell-text--red {
  color: #ef4444;
}

/* ── Amount grid (botões de valor) ── */
.wd-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wd-amount-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border: 2px solid var(--evh-line);
  border-radius: 12px;
  background: #f9fefa;
  font-size: 14px;
  font-weight: 700;
  color: var(--evh-ink);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wd-amount-btn:hover {
  border-color: var(--evh-brand-2);
}

.wd-amount-btn--active {
  border-color: var(--evh-brand);
  background: rgba(43, 215, 106, 0.08);
  color: var(--evh-brand);
}

.wd-amount-empty {
  padding: 18px 8px;
  text-align: center;
  color: var(--evh-muted);
  font-size: 14px;
  font-weight: 600;
}

/* ── Link "Alterar cartão" ── */
.wd-link-wrap {
  padding: 12px 0 0;
}

.wd-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--evh-brand);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wd-link-btn:hover {
  color: var(--evh-brand-2);
}

/* ── Modal overlay ── */
.wd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 48, 26, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
  animation: wd-fade-in 0.18s ease;
}

@keyframes wd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Modal card ── */
.wd-modal {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px 18px;
  box-shadow: 0 18px 40px rgba(19, 101, 44, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: wd-pop-in 0.22s ease;
}

@keyframes wd-pop-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── Modal de bloqueio (T0) ── */
.wd-lock-modal {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(19, 101, 44, 0.28);
  animation: wd-pop-in 0.22s ease;
}

.wd-lock-modal__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px 22px;
  background: linear-gradient(135deg, #f87171 0%, #ef4444 55%, #b91c1c 100%);
  color: #ffffff;
}

.wd-lock-modal__badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.wd-lock-modal__badge svg {
  width: 30px;
  height: 30px;
}

.wd-lock-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.wd-lock-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 18px;
}

.wd-lock-modal__tiers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.wd-lock-modal__tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.wd-lock-modal__tier--current {
  background: #f1f5f4;
  color: var(--evh-muted);
  text-decoration: line-through;
}

.wd-lock-modal__tier--target {
  background: rgba(43, 215, 106, 0.12);
  color: var(--evh-brand);
  box-shadow: 0 0 0 2px rgba(43, 215, 106, 0.25);
}

.wd-lock-modal__arrow {
  color: var(--evh-muted);
  flex-shrink: 0;
}

.wd-lock-modal__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--evh-ink);
  margin: 0 0 18px;
  line-height: 1.5;
}

.wd-lock-modal__text strong {
  color: var(--evh-brand);
}

.wd-lock-modal .wd-modal-button {
  width: 100%;
}

/* ── Modal icon ── */
.wd-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
}

.wd-modal-icon svg {
  width: 30px;
  height: 30px;
}

.wd-modal-icon--success {
  background: #25c25f;
}

.wd-modal-icon--error {
  background: #ef4444;
}

/* ── Modal text ── */
.wd-modal-message {
  font-size: 15px;
  font-weight: 500;
  color: var(--evh-ink);
  margin: 0 0 16px;
  line-height: 1.45;
}

.wd-modal-message strong {
  color: var(--evh-brand);
}

/* ── Modal field (input de senha) ── */
.wd-modal-field {
  width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid var(--evh-line);
  border-radius: 12px;
  background: #f9fefa;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wd-modal-field:focus-within {
  border-color: var(--evh-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.12);
}

.wd-modal-field .wd-cell-input {
  flex: 1;
  padding: 12px 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
}

.wd-modal-eye {
  background: none;
  border: none;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--evh-brand);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.wd-modal-eye:hover {
  color: var(--evh-brand-2);
}

/* ── Modal error ── */
.wd-modal-error {
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

/* ── Modal buttons ── */
.wd-modal-button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.3);
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 8px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.wd-modal-button:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.wd-modal-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.wd-modal-button--ghost {
  background: #f9fefa;
  border: 1px solid var(--evh-line);
  color: var(--evh-ink);
  box-shadow: none;
}

.wd-modal-button--ghost:hover:not(:disabled) {
  background: #effcf2;
  filter: none;
  transform: none;
}

/* ── Forgot link ── */
.wd-modal-forgot {
  background: none;
  border: none;
  color: var(--evh-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 4px;
  padding: 0;
}

.wd-modal-forgot:hover {
  color: var(--evh-ink);
}

/* ── Regras de saque (recolhível) ── */
.rules-card__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.rules-card__title {
  color: var(--evh-brand, #2bd76a);
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0;
}

.rules-card__chevron {
  flex: 0 0 auto;
  color: var(--evh-brand, #2bd76a);
  transition: transform 0.2s ease;
}
.rules-card__chevron--open { transform: rotate(180deg); }

.rules-card__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-card__list li {
  padding: 2px 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--evh-ink);
}

.rules-card__list strong {
  color: var(--evh-brand, #2bd76a);
  font-weight: 800;
}
/* ═══════════════════════════════════════════════════════════════
   CERTIFICADO / COMPROVANTE DE SAQUE
   Visual de papel envelhecido com bordas serrilhadas (rasgadas)
═══════════════════════════════════════════════════════════════ */

/* ── wrapper geral ── */
.cert-wrapper {
  max-width: 480px;
  margin: 4px auto 0;
  width: 100%;
  filter: drop-shadow(0 18px 36px rgba(40, 140, 77, 0.18))
          drop-shadow(0 4px 8px rgba(40, 140, 77, 0.1));
}

/* ── Bordas serrilhadas (topo e fundo) ── */
.cert-tear {
  height: 14px;
  width: 100%;
  display: block;
}

.cert-tear--top {
  background:
    radial-gradient(circle 7px at 7px 14px, transparent 6.5px, #eefaf2 7px);
  background-size: 14px 14px;
  background-position: 0 0;
}

.cert-tear--bottom {
  background:
    radial-gradient(circle 7px at 7px 0, transparent 6.5px, #eefaf2 7px);
  background-size: 14px 14px;
  background-position: 0 0;
}

/* ── Corpo do papel ── */
.cert-paper {
  position: relative;
  background: #eefaf2;
  padding: 28px 22px 22px;
  /* Simula textura de papel com gradiente sutil */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(110, 180, 135, 0.06) 28px,
      rgba(110, 180, 135, 0.06) 29px
    );
}

/* Bordas laterais serrilhadas via sombras */
.cert-paper::before,
.cert-paper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  z-index: 2;
}

.cert-paper::before {
  left: -14px;
  background:
    radial-gradient(circle 7px at 14px 7px, #eefaf2 6.5px, transparent 7px);
  background-size: 14px 14px;
}

.cert-paper::after {
  right: -14px;
  background:
    radial-gradient(circle 7px at 0 7px, #eefaf2 6.5px, transparent 7px);
  background-size: 14px 14px;
}

/* ── Borda decorativa interna (moldura do certificado) ── */
.cert-border-inner {
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(110, 180, 135, 0.25);
  border-radius: 4px;
  pointer-events: none;
}

.cert-border-inner::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(110, 180, 135, 0.15);
  border-radius: 2px;
}

/* ── Cabeçalho ── */
.cert-header {
  text-align: center;
  padding: 10px 14px 6px;
  position: relative;
  z-index: 1;
}

.cert-header__seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
}

.cert-header__seal svg {
  width: 100%;
  height: 100%;
}

.cert-header__badge {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid #6ec98f;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #358a54;
  background: rgba(110, 201, 143, 0.12);
  margin-bottom: 10px;
}

.cert-header__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a5a32;
  letter-spacing: 0.5px;
}

.cert-header__subtitle {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: #3f8a5a;
  font-weight: 500;
}

/* ── Ornamento divisório ── */
.cert-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 20px;
  position: relative;
  z-index: 1;
}

.cert-ornament__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6ec98f, transparent);
}

.cert-ornament__diamond {
  width: 8px;
  height: 8px;
  background: #6ec98f;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Valor em destaque ── */
.cert-amount {
  text-align: center;
  padding: 8px 14px 14px;
  position: relative;
  z-index: 1;
}

.cert-amount__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a9a67;
  margin-bottom: 2px;
}

.cert-amount__value {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a5a32;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

/* ── Corte serrilhado central ── */
.cert-cut {
  position: relative;
  height: 0;
  margin: 6px 0 14px;
  border: none;
  z-index: 1;
}

.cert-cut::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  border-top: 2px dashed rgba(110, 180, 135, 0.4);
}

/* Círculos nas pontas do corte */
.cert-cut::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6eddf, #c6e8d2);
  box-shadow:
    calc(100vw - 60px) 0 0 0 #d6eddf,
    0 0 0 2px rgba(110, 180, 135, 0.2),
    calc(100vw - 60px) 0 0 2px rgba(110, 180, 135, 0.2);
}

/* ── Dados do comprovante ── */
.cert-details {
  padding: 4px 14px 4px;
  position: relative;
  z-index: 1;
}

.cert-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(110, 180, 135, 0.3);
}

.cert-row:last-child {
  border-bottom: none;
}

.cert-row__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a9a67;
}

.cert-row__value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a5a32;
  text-align: right;
}

.cert-row__value--status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2d7a3a;
  font-weight: 700;
}

.cert-row__value--wallet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #358a54;
  font-weight: 700;
}

.cert-row__value--wallet svg {
  flex-shrink: 0;
  color: #6ec98f;
}

.cert-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d7a3a;
  flex-shrink: 0;
  animation: cert-pulse 1.8s ease-in-out infinite;
}

@keyframes cert-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

.cert-row__value--code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  color: #407a55;
  word-break: break-all;
  letter-spacing: 0.3px;
}

/* ── Rodapé ── */
.cert-footer {
  text-align: center;
  padding: 14px 14px 6px;
  position: relative;
  z-index: 1;
}

.cert-footer small {
  font-size: 0.72rem;
  color: #6eb087;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* ── Estado vazio ── */
.cert-empty {
  background: #eefaf2;
  border: 2px dashed rgba(110, 180, 135, 0.35);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.cert-empty__icon {
  width: 52px;
  height: 52px;
  color: #6ec98f;
}

.cert-empty__icon svg {
  width: 100%;
  height: 100%;
}

.cert-empty h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a5a32;
}

.cert-empty p {
  margin: 0;
  font-size: 0.9rem;
  color: #3f8a5a;
}

/* ── Ações ── */
.cert-actions {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.cert-btn {
  flex: 1;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.cert-btn--primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #64e293 0%, #2bd76a 100%);
  box-shadow: 0 8px 20px rgba(43, 215, 106, 0.28);
}

.cert-btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 26px rgba(43, 215, 106, 0.38);
}

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

.cert-btn--secondary {
  border: 1px solid rgba(110, 180, 135, 0.4);
  color: #1a5a32;
  background: #eefaf2;
}

.cert-btn--secondary:hover {
  transform: translateY(-2px);
  background: #daf3e3;
}

.cert-btn--secondary:active {
  transform: translateY(0);
}

/* ── Responsivo ── */
@media (min-width: 560px) {
  .cert-wrapper {
    margin-top: 10px;
  }

  .cert-paper {
    padding: 34px 30px 28px;
  }

  .cert-header__title {
    font-size: 1.5rem;
  }

  .cert-amount__value {
    font-size: 2.6rem;
  }
}

@media (max-width: 420px) {
  .cert-actions {
    flex-direction: column;
  }

  .cert-paper {
    padding: 24px 16px 18px;
  }

  .cert-amount__value {
    font-size: 1.8rem;
  }
}
.gift-vouchers-page {
  color: #1a5a32;
  position: relative;
  z-index: 0;
}

.gift-impact-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #1a5a32;
}

.gift-impact-subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #3f8a5a;
}

.gift-impact-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.8rem;
}

.gift-impact-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(43, 215, 106, 0.18);
  background: #c3f4d5;
}

.gift-impact-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gift-impact-photo figcaption {
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a5a32;
  background: rgba(238, 252, 243, 0.9);
}

.gift-vouchers-list {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gift-voucher-card {
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gift-voucher-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #c3f4d5;
}

.gift-voucher-content {
  padding: 0.9rem;
  display: grid;
  gap: 0.4rem;
}

.gift-voucher-title {
  font-size: 1rem;
  font-weight: 700;
}

.gift-voucher-description {
  font-size: 0.9rem;
  opacity: 0.9;
  min-height: 38px;
}

.gift-voucher-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.gift-voucher-buy-btn {
  margin-top: 0.5rem;
  width: 100%;
}

.gift-vouchers-page .redeem-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 90, 50, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gift-vouchers-page .redeem-modal-card {
  position: relative;
  width: min(460px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 24px 56px rgba(26, 90, 50, 0.18);
  border: 1px solid rgba(43, 215, 106, 0.22);
  color: #1a5a32;
  text-align: center;
}

.gift-vouchers-page .redeem-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2bd76a;
  background: rgba(43, 215, 106, 0.15);
  border: 1px solid rgba(43, 215, 106, 0.45);
}

.gift-vouchers-page .redeem-modal-card h2 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #1a5a32;
}

.gift-vouchers-page .redeem-modal-message {
  margin: 10px 0 0;
  color: #3f8a5a;
  font-size: 0.95rem;
}

.gift-vouchers-page .redeem-modal-highlight {
  margin: 14px auto 0;
  width: min(280px, 100%);
  border-radius: 12px;
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  padding: 12px 14px;
  display: grid;
  gap: 2px;
}

.gift-vouchers-page .redeem-modal-highlight span {
  color: #3f8a5a;
  font-size: 0.82rem;
}

.gift-vouchers-page .redeem-modal-highlight strong {
  color: #2bd76a;
  font-size: 1.2rem;
  line-height: 1.2;
}

.gift-vouchers-page .redeem-modal-code {
  margin: 12px 0 0;
  color: #1a5a32;
  font-size: 0.92rem;
}

.gift-vouchers-page .redeem-modal-btn {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.gift-vouchers-page .redeem-modal-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.gift-vouchers-page .redeem-modal-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.gift-vouchers-page .redeem-modal-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gift-vouchers-page .confetti {
  position: absolute;
  top: -10%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.95;
  animation: confettiFall 2.4s linear infinite;
}

.gift-vouchers-page .confetti-1 { left: 4%; background: #2bd76a; animation-delay: 0s; }
.gift-vouchers-page .confetti-2 { left: 12%; background: #64e293; animation-delay: .2s; }
.gift-vouchers-page .confetti-3 { left: 20%; background: #2d7a3a; animation-delay: .35s; }
.gift-vouchers-page .confetti-4 { left: 28%; background: #b91c1c; animation-delay: .5s; }
.gift-vouchers-page .confetti-5 { left: 36%; background: #1a5a32; animation-delay: .65s; }
.gift-vouchers-page .confetti-6 { left: 44%; background: #c3f4d5; animation-delay: .8s; }
.gift-vouchers-page .confetti-7 { left: 52%; background: #8ae9ad; animation-delay: .95s; }
.gift-vouchers-page .confetti-1:nth-child(8n) { left: 60%; animation-delay: 1.1s; }
.gift-vouchers-page .confetti-2:nth-child(9n) { left: 68%; animation-delay: 1.25s; }
.gift-vouchers-page .confetti-3:nth-child(10n) { left: 76%; animation-delay: 1.4s; }
.gift-vouchers-page .confetti-4:nth-child(11n) { left: 84%; animation-delay: 1.55s; }
.gift-vouchers-page .confetti-5:nth-child(12n) { left: 92%; animation-delay: 1.7s; }

@keyframes confettiFall {
  0% {
    transform: translateY(-8%) rotate(0deg);
    opacity: .95;
  }
  100% {
    transform: translateY(118vh) rotate(520deg);
    opacity: .1;
  }
}

.gift-confirm-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.gift-confirm-actions .btn,
.gift-confirm-actions .redeem-modal-btn {
  width: 100%;
}
/* ═══════════════════════════════════════════════════
   Resgatar Código — tema cassino (roxo escuro + dourado)
   Usa o kit evh-* como base de layout, mas sobrescreve as
   cores/animações para dar clima de "prêmio/jackpot".
═══════════════════════════════════════════════════ */

.rc-page {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #2a1650 0%, #150a28 55%, #0d0619 100%);
  min-height: 100vh;
  min-height: 100dvh;
}

.rc-page .evh-page__body {
  flex: 1;
  justify-content: center;
  min-height: calc(100vh - 96px);
  min-height: calc(100dvh - 96px);
}

/* ── Partículas flutuantes de fundo ── */
.rc-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.rc-sparkle {
  position: absolute;
  bottom: -10%;
  opacity: 0;
  color: #ffd76a;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 199, 80, 0.5));
  animation-name: rc-float-up;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes rc-float-up {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.55; }
  92% { opacity: 0.4; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ── Hero ── */
.rc-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #1a0f2e 0%, #2d1650 55%, #1a0f2e 100%);
  border: 1px solid rgba(255, 199, 80, 0.32);
  box-shadow: 0 12px 32px rgba(124, 42, 209, 0.35), 0 0 34px rgba(255, 199, 80, 0.1);
  overflow: hidden;
}
.rc-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: rc-shimmer 3.2s ease-in-out infinite;
}
@keyframes rc-shimmer {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
.rc-hero-icon {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #ffe27a, #f5b942 55%, #c8860a 100%);
  color: #6b3f00;
  box-shadow: 0 0 18px rgba(255, 199, 80, 0.55);
  animation: rc-coin-spin 4.5s ease-in-out infinite;
}
@keyframes rc-coin-spin {
  0%, 75% { transform: rotateY(0deg) scale(1); }
  85% { transform: rotateY(180deg) scale(1.06); }
  100% { transform: rotateY(360deg) scale(1); }
}
.rc-hero-icon svg { width: 24px; height: 24px; }
.rc-hero-title {
  margin: 2px 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffd76a;
  text-shadow: 0 0 14px rgba(255, 199, 80, 0.45);
}
.rc-hero-text { margin: 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }

/* ── Formulário ── */
.rc-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, #1c1030 0%, #241340 100%);
  border: 1px solid rgba(255, 199, 80, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.rc-form .evh-label { color: #d8c6ff; }

.rc-input.rc-input {
  background: #120a24;
  border: 1px solid rgba(255, 199, 80, 0.3);
  color: #ffd76a;
  font-family: 'Courier New', ui-monospace, monospace;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-align: center;
  text-transform: uppercase;
}
.rc-input.rc-input::placeholder { color: rgba(255, 215, 106, 0.35); letter-spacing: 2px; }
.rc-input.rc-input:focus {
  outline: none;
  border-color: #ffd76a;
  background: #170c2c;
  box-shadow: 0 0 0 3px rgba(255, 199, 80, 0.18), 0 0 22px rgba(255, 199, 80, 0.35);
}

.rc-submit {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffe27a 0%, #f5b942 45%, #d4880c 100%);
  color: #3b2200;
  font-weight: 900;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 26px rgba(245, 185, 66, 0.4);
}
.rc-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: rc-shimmer 2.2s ease-in-out infinite;
}
.rc-submit--loading { animation: rc-pulse-glow 1s ease-in-out infinite; }
@keyframes rc-pulse-glow {
  0%, 100% { box-shadow: 0 10px 26px rgba(245, 185, 66, 0.4); }
  50% { box-shadow: 0 10px 42px rgba(245, 185, 66, 0.8); }
}
.rc-submit-icon { width: 19px; height: 19px; flex-shrink: 0; }
.rc-spin { animation: rc-spin 0.9s linear infinite; }
@keyframes rc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Como funciona ── */
.rc-info {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #1c1030 0%, #241340 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rc-info-title { margin: 0 0 10px; font-size: 0.95rem; font-weight: 800; color: #ffd76a; }
.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: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}
.rc-info-list li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: #ffd76a;
}

/* ── Confete de vitória ── */
.rc-confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1001;
  overflow: hidden;
}
.rc-confetti-piece {
  position: absolute;
  top: -8%;
  display: block;
  color: #ffd76a;
  filter: drop-shadow(0 0 5px rgba(255, 199, 80, 0.6));
  animation-name: rc-confetti-fall;
  animation-timing-function: cubic-bezier(.35, 0, .65, 1);
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}
.rc-confetti-piece:nth-child(3n) { color: #c9a8ff; filter: drop-shadow(0 0 5px rgba(201, 168, 255, 0.6)); }
.rc-confetti-piece:nth-child(4n) { color: #5ae08a; filter: drop-shadow(0 0 5px rgba(90, 224, 138, 0.55)); }
@keyframes rc-confetti-fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(112vh) translateX(14px) rotate(560deg); opacity: 0; }
}

/* ── Modal de feedback ── */
.rc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 20, 0.72);
  backdrop-filter: blur(2px);
  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: 320px;
  background: linear-gradient(160deg, #1c1030 0%, #241340 100%);
  border: 1px solid rgba(255, 199, 80, 0.35);
  border-radius: 16px;
  padding: 24px 20px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 199, 80, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rc-modal--success { animation: rc-pop-in 0.32s cubic-bezier(.34, 1.56, .64, 1); }
.rc-modal--error { animation: rc-shake 0.42s ease; }

@keyframes rc-pop-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes rc-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.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: radial-gradient(circle at 30% 30%, #ffe27a, #f5b942 55%, #c8860a 100%);
  color: #6b3f00;
  box-shadow: 0 0 0 6px rgba(255, 199, 80, 0.15), 0 0 30px rgba(255, 199, 80, 0.55);
  animation: rc-icon-pop 0.5s cubic-bezier(.34, 1.56, .64, 1);
}
.rc-modal-icon--error {
  background: linear-gradient(135deg, #ff5c5c, #c81e3a);
  box-shadow: 0 0 22px rgba(255, 92, 92, 0.5);
}
@keyframes rc-icon-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.rc-modal-icon svg { width: 30px; height: 30px; }

.rc-modal-message {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1e9ff;
  margin: 0 0 16px;
  line-height: 1.45;
}

.rc-modal-button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #3b2200;
  background: linear-gradient(135deg, #ffe27a, #f5b942);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(245, 185, 66, 0.35);
}
/* ─── Caixas Box Page ─────────────────────────────────────────────────────── */
.cbox-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% 5%, rgba(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 100%);
  background-attachment: fixed;
  color: #1a5a32;
  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(238, 252, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 215, 106, 0.22);
}

.cbox-back-btn,
.cbox-history-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(43, 215, 106, 0.3);
  background: rgba(43, 215, 106, 0.15);
  color: #1a5a32;
  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(43, 215, 106, 0.3);
  border-color: rgba(43, 215, 106, 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: #1e9f4d;
  opacity: 0.85;
}

.cbox-header-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, #2bd76a, #54de87);
  -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(43, 215, 106, 0.35);
  background: linear-gradient(135deg, rgba(43, 215, 106, 0.2), rgba(84, 222, 135, 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(43, 215, 106, 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: #1e9f4d;
  opacity: 0.85;
}

.cbox-spins-count {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2bd76a 0%, #54de87 60%, #8eeab0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(43, 215, 106, 0.4));
}

.cbox-spins-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
  font-size: 12px;
  color: #3f8a5a;
  position: relative;
}
.cbox-spins-meta b { color: #2bd76a; }

/* ─── 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(43, 215, 106, 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(43, 215, 106, 0.4)); }
  40%  { transform: scale(1.18); filter: drop-shadow(0 12px 48px rgba(43, 215, 106, 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: #2ad668; 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: #2bd76a; animation-delay: 0.12s; border-radius: 50%; }
.cbox-confetti-4 { left: 70%; top: 4%;  background: #8eeab0; animation-delay: 0.06s; transform: rotate(-30deg); }
.cbox-confetti-5 { left: 85%; top: 12%; background: #44db7b; animation-delay: 0.16s; width: 12px; height: 8px; }
.cbox-confetti-6 { left: 5%;  top: 20%; background: #58df89; 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: #58df89; animation-delay: 0.14s; width: 6px; height: 12px; }
.cbox-confetti-9  { left: 60%; top: 15%; background: #9becb9; animation-delay: 0.02s; border-radius: 50%; }
.cbox-confetti-10 { left: 45%; top: 2%;  background: #2bd76a; 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: #4bdd80; animation-delay: 0.13s; border-radius: 50%; width: 7px; height: 7px; }
.cbox-confetti-13 { left: 35%; top: 18%; background: #9becb9; animation-delay: 0.09s; transform: rotate(60deg); }
.cbox-confetti-14 { left: 55%; top: 6%;  background: #54de87; animation-delay: 0.15s; width: 12px; height: 6px; }
.cbox-confetti-15 { left: 92%; top: 35%; background: #36d972; animation-delay: 0.03s; border-radius: 50%; }
.cbox-confetti-16 { left: 20%; top: 40%; background: #2bd76a; animation-delay: 0.11s; transform: rotate(-45deg); }
.cbox-confetti-17 { left: 65%; top: 22%; background: #58df89; 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: #7fe7a5; animation-delay: 0.19s; width: 8px; height: 14px; }
.cbox-confetti-20 { left: 8%;  top: 45%; background: #8eeab0; animation-delay: 0.01s; border-radius: 50%; width: 6px; height: 6px; }
.cbox-confetti-21 { left: 50%; top: 35%; background: #44db7b; 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: #75e59e; 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(43, 215, 106, 0.35);
  background: linear-gradient(135deg, rgba(238, 252, 243, 0.97), rgba(195, 244, 213, 0.97));
  min-width: 220px;
  box-shadow: 0 0 40px rgba(43, 215, 106, 0.25), 0 8px 32px rgba(30, 159, 77, 0.15);
}
.cbox-prize-card.rarity-legendary {
  border-color: #44db7b;
  box-shadow: 0 0 60px rgba(68, 219, 123, 0.4), 0 8px 32px rgba(30, 159, 77, 0.2);
  background: linear-gradient(135deg, rgba(238, 252, 243, 0.97), rgba(155, 236, 185, 0.95));
}
.cbox-prize-card.rarity-epic {
  border-color: #2bd76a;
  box-shadow: 0 0 50px rgba(43, 215, 106, 0.4), 0 8px 32px rgba(30, 159, 77, 0.2);
}
.cbox-prize-card.rarity-rare {
  border-color: #8eeab0;
  box-shadow: 0 0 40px rgba(142, 234, 176, 0.3), 0 8px 32px rgba(30, 159, 77, 0.12);
}

.cbox-prize-icon-wrap {
  width: 130px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(43, 215, 106, 0.06);
  border: 1.5px solid rgba(43, 215, 106, 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(43, 215, 106, 0.3); }
  to   { box-shadow: 0 0 0 14px rgba(43, 215, 106, 0); }
}

.cbox-prize-label {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a5a32;
  text-align: center;
}
.cbox-prize-sub {
  margin: 0;
  font-size: 12px;
  color: #3f8a5a;
  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, #2bd76a, #54de87);
  color: #ffffff;
  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(43, 215, 106, 0.45);
  letter-spacing: 0.01em;
}
.cbox-open-btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(43, 215, 106, 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: #ffffff;
  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: #3f8a5a;
  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: #3f8a5a;
  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(43, 215, 106, 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(43, 215, 106, 0.15);
}
.cbox-prize-item.rarity-legendary {
  border-color: rgba(68, 219, 123, 0.4);
  background: rgba(155, 236, 185, 0.85);
  box-shadow: 0 0 16px rgba(68, 219, 123, 0.1);
}
.cbox-prize-item.rarity-epic {
  border-color: rgba(43, 215, 106, 0.35);
  background: rgba(84, 222, 135, 0.15);
  box-shadow: 0 0 12px rgba(43, 215, 106, 0.08);
}
.cbox-prize-item.rarity-rare {
  border-color: rgba(142, 234, 176, 0.3);
  background: rgba(155, 236, 185, 0.2);
}
.cbox-prize-item.rarity-common {
  border-color: rgba(148, 184, 161, 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(43, 215, 106, 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: #1a5a32;
  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(43, 215, 106, 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(43, 215, 106, 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: #1a5a32;
}

.cbox-history-date {
  font-size: 11px;
  color: #3f8a5a;
}

.cbox-history-value {
  font-size: 13px;
  font-weight: 700;
  color: #1e9b4c;
  white-space: nowrap;
}

.cbox-empty {
  font-size: 13px;
  color: #3f8a5a;
  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 (EVH) ────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────── */
.cycle-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.28);
}
.cycle-hero-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}
.cycle-hero-icon svg { width: 24px; height: 24px; }
.cycle-hero-title { margin: 2px 0 4px; font-size: 1rem; font-weight: 800; }
.cycle-hero-text { margin: 0; font-size: 0.82rem; line-height: 1.5; opacity: 0.92; }

.cycle-storage-title {
  font-size: 1.05rem;
  color: var(--evh-ink);
  margin: 4px 0 0;
  font-weight: 800;
}

/* ── Feedback (loading / vazio) ──────────────────── */
.cycle-feedback {
  color: var(--evh-muted);
  text-align: center;
  padding: 20px;
  margin: 0;
}

/* ── Bloqueio T0 ─────────────────────────────────── */
.cycle-block-card {
  text-align: center;
  padding: 32px 20px;
}

.cycle-block-icon { font-size: 48px; margin-bottom: 12px; }

.cycle-block-title {
  color: var(--evh-ink);
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.cycle-block-text {
  font-size: 0.9rem;
  color: var(--evh-muted);
  max-width: 320px;
  margin: 0 auto 12px;
}

.cycle-block-hint {
  font-size: 0.82rem;
  color: var(--evh-muted);
  margin: 0 auto;
}

.cycle-block-hint strong { color: var(--evh-ink); }

.cycle-block-btn {
  width: auto;
  display: inline-block;
  margin-top: 18px;
  padding: 12px 24px;
}

/* ── Categoria tabs ──────────────────────────────── */
.cycle-category-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: #ecfbf0;
}

.cycle-category-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--evh-muted);
  border-radius: 9px;
  padding: 10px 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cycle-category-tab.active {
  background: #ffffff;
  color: var(--evh-brand);
  box-shadow: 0 4px 12px rgba(19, 101, 44, 0.12);
}

/* ── Card do produto (reaproveita .evh-card) ─────── */
.cycle-product-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cycle-product-card:hover:not(.unavailable) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(19, 101, 44, 0.12);
}

.cycle-product-card.unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Imagem ───────────────────────────────────────── */
.cycle-product-image-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

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

.cycle-percent-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #25c25f, #1e9b4c);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(30, 155, 76, 0.4);
}

.cycle-days-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(19, 48, 26, 0.6);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── Corpo ────────────────────────────────────────── */
.cycle-product-body {
  padding: 14px 16px 16px;
}

.cycle-product-title {
  font-size: 1.05rem;
  color: var(--evh-ink);
  font-weight: 800;
  margin-bottom: 12px;
}

/* ── Stats em grade (2x2) — tiles coloridos estilo dashboard ── */
.cycle-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.cycle-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(19, 48, 26, 0.14);
}
.cycle-stat-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.cycle-stat-icon svg { width: 14px; height: 14px; }
.cycle-stat-val { display: block; font-size: 0.92rem; font-weight: 800; color: #ffffff; }
.cycle-stat-lbl { display: block; font-size: 0.64rem; color: rgba(255, 255, 255, 0.88); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; margin-top: 1px; }

.cy-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.cy-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.cy-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.cy-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }

/* ── Progresso de vendas ──────────────────────────── */
.cycle-progress { margin-bottom: 12px; }
.cycle-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--evh-muted);
  margin-bottom: 6px;
}
.cycle-progress-head strong { color: var(--evh-ink); }
.cycle-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e6f8eb;
  overflow: hidden;
}
.cycle-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--evh-brand-2), var(--evh-brand));
  transition: width 0.3s ease;
}

/* ── Linha tag + compras ──────────────────────────── */
.cycle-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.cycle-meta-row .cycle-reinvest-tag { margin-bottom: 0; }
.cycle-purchases { font-size: 0.76rem; color: var(--evh-muted); white-space: nowrap; }
.cycle-purchases strong { color: var(--evh-ink); }

/* ── Detalhes em texto ────────────────────────────── */
.cycle-details-list {
  font-size: 0.82rem;
  color: var(--evh-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.cycle-details-list strong {
  color: var(--evh-ink);
  font-weight: 800;
}

/* ── Badge circular de progresso ──────────────────── */
.cycle-percentage-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--evh-brand);
  border-right-color: #c3f4d5;
  border-bottom-color: #c3f4d5;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--evh-ink);
  margin-bottom: 10px;
}

/* ── Estoque ──────────────────────────────────────── */
.cycle-stock-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--evh-muted);
  margin-bottom: 10px;
}

.cycle-stock-info strong {
  color: var(--evh-ink);
}

/* ── Tag ──────────────────────────────────────────── */
.cycle-reinvest-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 12px;
  background: #f1fcf4;
  color: #166534;
  border: 1px solid #bff3d1;
}

.cycle-reinvest-tag.closed {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* ── Botão ────────────────────────────────────────── */
.cycle-product-button {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(43, 215, 106, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cycle-product-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cycle-product-button.disabled {
  background: #eefcf3 !important;
  color: #3f8a5a !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.cycle-product-button .arrow {
  font-size: 1rem;
  line-height: 1;
}

/* ── Modal de investimento ────────────────────────── */
.cycle-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 48, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.cycle-modal {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(19, 48, 26, 0.35);
  max-height: 90vh;
  overflow-y: auto;
}

.cycle-modal-title {
  margin: 0;
  color: var(--evh-ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.cycle-modal-plan {
  margin-top: 6px;
  color: var(--evh-muted);
  font-size: 0.9rem;
}

/* ── Caixa de investimento ────────────────────────── */
.cycle-modal-invest-box {
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.28);
}

.cycle-modal-invest-label {
  color: #ffffff;
  opacity: 0.92;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cycle-modal-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cycle-modal-stepper-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.cycle-modal-stepper-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.34); }
.cycle-modal-stepper-btn:active:not(:disabled) { transform: scale(0.94); }
.cycle-modal-stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.cycle-modal-stepper-value {
  flex: 1;
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.cycle-modal-stepper-cur {
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

.cycle-modal-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
  text-align: center;
}
.cycle-modal-input::-webkit-inner-spin-button,
.cycle-modal-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cycle-modal-input[type='number'] { -moz-appearance: textfield; }

.cycle-modal-range {
  width: 100%;
  margin-top: 16px;
  accent-color: #ffffff;
}

.cycle-modal-quick-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cycle-modal-quick-row button {
  flex: 1;
  padding: 7px 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cycle-modal-quick-row button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.26); }
.cycle-modal-quick-row button:disabled { opacity: 0.4; cursor: not-allowed; }

.cycle-modal-return {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cycle-modal-return span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--evh-muted);
}
.cycle-modal-return-value {
  color: #1e9b4c;
  font-size: 1.05rem;
  font-weight: 900;
}

/* ── Resumo do investimento ───────────────────────── */
/* ── Resumo do investimento (tiles coloridos estilo dashboard) ── */
.ci-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.ci-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.ci-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.ci-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }

.cycle-modal-summary-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cycle-modal-summary-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(19, 48, 26, 0.14);
}
.cycle-modal-summary-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  margin-bottom: 2px;
}
.cycle-modal-summary-icon svg { width: 14px; height: 14px; }
.cycle-modal-summary-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cycle-modal-summary-value { font-size: 0.84rem; font-weight: 800; color: #ffffff; }

/* ── Explicação simples do Fundo de Riqueza ────────── */
.cycle-explainer {
  margin: 4px 2px 0;
  color: var(--evh-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

/* ── Requisitos ───────────────────────────────────── */
.cycle-modal-req {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f9fefa;
  border: 1px solid var(--evh-line);
  font-size: 0.82rem;
}

.cycle-modal-req-title {
  display: block;
  margin-bottom: 6px;
  color: var(--evh-ink);
}

.cycle-modal-req-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.cycle-modal-req-row:last-child { margin-bottom: 0; }

.cycle-req-ok { color: #1e9b4c; font-weight: 800; }
.cycle-req-no { color: #dc2626; font-weight: 800; }

/* ── Ações do modal ───────────────────────────────── */
.cycle-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.cycle-modal-cancel,
.cycle-modal-confirm {
  flex: 1;
  width: auto;
  padding: 12px 16px;
}

.cycle-modal-cancel:disabled,
.cycle-modal-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Página de investimento: feedback ─────────────── */
.cycle-invest-feedback {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}
.cycle-invest-feedback--success {
  background: #f1fcf4;
  border: 1px solid #8ce9ae;
  color: #187d3e;
}
.cycle-invest-feedback--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* ── Responsivo ───────────────────────────────────── */
@media (max-width: 480px) {
  .cycle-product-image-wrap {
    height: 130px;
  }

  .cycle-product-button {
    font-size: 0.88rem;
    padding: 11px 12px;
  }
}
.mini-tasks-page {
  min-height: 100vh;
  color: #1a5a32;
  padding: 22px 16px 92px;
  max-width: 980px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 10% 5%, rgba(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 100%);
  background-attachment: fixed;
}

.mini-tasks-hero {
  background: linear-gradient(135deg, #2bd76a, #54de87, #8eeab0);
  border: 1px solid rgba(43, 215, 106, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.mini-tasks-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.mini-tasks-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.mini-tasks-grid {
  display: grid;
  gap: 10px;
}

.mini-task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 14px;
}

.mini-task-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-task-index {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.15);
  color: #1e9f4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.mini-task-title {
  margin: 0;
  font-size: 15px;
  color: #1a5a32;
}

.mini-task-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #3f8a5a;
}

.mini-task-badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(43, 215, 106, 0.35);
  background: rgba(43, 215, 106, 0.12);
  color: #1e9f4d;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.mini-task-shield-bronze { color: #1e9f4d; }
.mini-task-shield-silver { color: #94b8a1; }
.mini-task-shield-gold { color: #24bb5b; }
.mini-task-shield-diamond { color: #1e9c4d; }
.mini-task-shield-vip { color: #2bd76a; }
.mini-task-shield-regular { color: #3f8a5a; }

.mini-task-reward { text-align: right; }
.mini-task-reward span { display: block; color: #1e9b4c; font-size: 12px; }
.mini-task-reward strong { color: #1e9b4c; font-size: 17px; }

.mini-task-redeem-btn {
  margin-top: 8px; width: 100%; border: 0; border-radius: 10px;
  padding: 8px 10px; background: linear-gradient(135deg, #2bd76a, #54de87);
  color: #ffffff; font-weight: 800; cursor: pointer;
}
.mini-task-redeem-btn:disabled { background: rgba(148, 184, 161, 0.3); color: #3f8a5a; cursor: not-allowed; }

.mini-task-earned-badge {
  margin-top: 8px; margin-bottom: 2px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid rgba(30, 155, 76, 0.38);
  background: rgba(30, 155, 76, 0.18); color: #1e9b4c; border-radius: 999px;
  padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.mini-task-card.is-done { border-color: rgba(30, 155, 76, 0.55); }

.mini-tasks-rule { display: block; margin-top: 8px; color: #1e9f4d; font-size: 12px; }

.mini-tasks-notice {
  margin-bottom: 12px; border: 1px solid rgba(43, 215, 106, 0.35);
  background: rgba(43, 215, 106, 0.12); color: #1e9f4d; border-radius: 10px;
  padding: 10px 12px; font-size: 13px; font-weight: 600;
}

.mini-tasks-earned {
  margin-bottom: 14px; border: 1px solid rgba(43, 215, 106, 0.3);
  background: rgba(43, 215, 106, 0.1); border-radius: 14px; padding: 12px;
}
.mini-tasks-earned h3 { margin: 0 0 8px; font-size: 14px; color: #1e9f4d; }

.mini-tasks-earned-list { display: flex; flex-wrap: wrap; gap: 8px; }

.mini-task-earned-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(43, 215, 106, 0.35); background: rgba(43, 215, 106, 0.12);
  color: #1e9f4d; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}

.mini-task-badge-bronze { border-color: rgba(30, 159, 77, 0.45); background: rgba(30, 159, 77, 0.18); color: #1e9f4d; }
.mini-task-badge-silver { border-color: rgba(148, 184, 161, 0.5); background: rgba(148, 184, 161, 0.18); color: #1a5a32; }
.mini-task-badge-gold { border-color: rgba(42, 214, 104, 0.45); background: rgba(42, 214, 104, 0.18); color: #1e9f4d; }
.mini-task-badge-diamond { border-color: rgba(35, 183, 90, 0.45); background: rgba(35, 183, 90, 0.16); color: #1e9c4d; }
.mini-task-badge-vip { border-color: rgba(43, 215, 106, 0.45); background: rgba(43, 215, 106, 0.16); color: #2bd76a; }
.mini-task-badge-regular { border-color: rgba(100, 139, 114, 0.45); background: rgba(100, 139, 114, 0.16); color: #1a5a32; }

@media (min-width: 760px) {
  .mini-tasks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ═══════════════════════════════════════════════════
   Meu Extrato (layout EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: o hero de saldo e a grade de métricas.
═══════════════════════════════════════════════════ */

.st-loading {
  text-align: center;
  padding: 30px 18px;
  color: var(--evh-muted, #66856d);
  font-size: 0.9rem;
}

/* ── Hero: saldo atual ── */
.st-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 14px 32px rgba(43, 215, 106, 0.32);
}
.st-hero::before,
.st-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.st-hero::before { width: 190px; height: 190px; top: -82px; right: -56px; }
.st-hero::after { width: 130px; height: 130px; bottom: -66px; left: -36px; }

.st-hero__label {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.st-hero__amount {
  position: relative;
  z-index: 1;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.st-hero__hint {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  opacity: 0.82;
}

/* ── Grade de métricas ── */
.st-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.st-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
}
.st-metric__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--evh-muted, #66856d);
}
.st-metric__value {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
  word-break: break-word;
}
.st-metric__value--money { color: #1e9b4c; }
.st-metric__value--out { color: #b91c1c; }
.st-metric__value--vip { color: var(--evh-brand, #2bd76a); }

/* ── Seção de comissões de tarefas ── */
.st-section {
  margin-top: 20px;
}

.st-section__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}

.st-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-item {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.st-item__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--evh-ink, #13301a);
}

.st-item__amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e9b4c;
}

.st-item__details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--evh-muted, #66856d);
}

.st-item__detail {
  font-weight: 600;
}

.st-item__date {
  opacity: 0.75;
}

@media (max-width: 340px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-hero__amount { font-size: 1.85rem; }
  .st-item__details { flex-direction: column; align-items: flex-start; }
}
/* ═══════════════════════════════════════════════════
   Salário Mensal (layout EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: hero, tier de salário premium e o modal.
═══════════════════════════════════════════════════ */

/* ── Hero ── */
.ms-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #4adc7d 0%, #2bd76a 55%, #1d9849 100%);
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.28);
}
.ms-hero__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}
.ms-hero__icon svg { width: 24px; height: 24px; }
.ms-hero__title { margin: 2px 0 4px; font-size: 0.98rem; font-weight: 800; }
.ms-hero__text { margin: 0; font-size: 0.82rem; line-height: 1.5; opacity: 0.92; }

/* ── Empty / loading card ── */
.ms-empty-card {
  text-align: center;
  color: var(--evh-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Grid (responsiva: 1 col mobile, 2 em telas largas) ── */
.ms-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) {
  .ms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card (tier de salário) ── */
.ms-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ms-card:hover {
  border-color: rgba(43, 215, 106, 0.4);
  box-shadow: 0 16px 34px rgba(43, 215, 106, 0.18);
  transform: translateY(-3px);
}

/* Faixa de imagem com selo do plano */
.ms-card__media {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
}
.ms-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ms-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 48, 26, 0) 38%, rgba(19, 48, 26, 0.55) 100%);
  pointer-events: none;
}
.ms-card__badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(29, 152, 73, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Corpo */
.ms-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

/* Salário em destaque (verde dinheiro) */
.ms-card__salary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ms-card__salary-cap {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--evh-muted);
}
.ms-card__salary-val {
  color: #1e9b4c;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.2px;
}
.ms-card__salary-val small {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--evh-muted);
  margin-left: 2px;
}

/* Requisitos — lista limpa com ícone de nível */
.ms-card__requirements {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 14px;
  background: var(--evh-bg);
  border: 1px solid var(--evh-line);
}
.ms-req {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
}
.ms-req + .ms-req {
  border-top: 1px solid var(--evh-line);
}
.ms-req__level {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(19, 48, 26, 0.14);
}
.ms-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.ms-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.ms-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.ms-req__label {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--evh-ink);
}
.ms-req__value {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--evh-brand);
  white-space: nowrap;
}

/* CTA */
.ms-btn { margin-top: 2px; }

/* ── Pop-up flutuante de feedback (topo da tela) ─────── */
.ms-modal {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2200;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(19, 48, 26, 0.22);
  animation: ms-modal-in 0.25s ease;
}

@keyframes ms-modal-in {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.ms-modal__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ms-modal--error .ms-modal__icon {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.ms-modal--success .ms-modal__icon {
  background: rgba(30, 155, 76, 0.14);
  color: #1e9b4c;
}

.ms-modal__content { flex: 1; min-width: 0; }

.ms-modal__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.ms-modal--error .ms-modal__title {
  color: #dc2626;
}

.ms-modal--success .ms-modal__title {
  color: #1e9b4c;
}

.ms-modal__message {
  margin: 2px 0 0;
  color: var(--evh-ink);
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.ms-modal__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--evh-field, #f9fdfa);
  color: var(--evh-muted, #66856d);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ms-modal__close:hover { background: #eefcf3; color: var(--evh-ink, #13301a); }
/* ═══════════════════════════════════════════════════
   Registro do dia — histórico de depósitos e saques (EVH)
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: stats bar, filtros (pílulas + tabs) e os
   cartões de transação.
═══════════════════════════════════════════════════ */

/* ── Resumo (tiles coloridos estilo dashboard) ── */
.rdd-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.rdd-tone-b { background: linear-gradient(135deg, #f6c56b, #d99a2b); }
.rdd-tone-c { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }

.rdd-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rdd-sum-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 10px;
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14);
}
.rdd-sum-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.rdd-sum-icon svg { width: 15px; height: 15px; }
.rdd-sum-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}
.rdd-sum-label {
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Filtros ── */
.rdd-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Pílulas de atalho */
.rdd-quick-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rdd-chip {
  flex: 1 1 auto;
  min-width: 64px;
  padding: 9px 12px;
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 999px;
  background: #f9fefa;
  color: var(--evh-ink, #13301a);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.rdd-chip:hover { border-color: var(--evh-brand-2, #5ae08a); color: var(--evh-brand, #2bd76a); }
.rdd-chip:active {
  transform: translateY(1px);
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  border-color: transparent;
  color: #ffffff;
}

/* Tabs de tipo (estado ativo persistente) */
.rdd-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: #ecfbf0;
}
.rdd-tab {
  flex: 1;
  padding: 9px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--evh-muted, #66856d);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.rdd-tab--active {
  background: #ffffff;
  color: var(--evh-brand, #2bd76a);
  box-shadow: 0 4px 12px rgba(19, 101, 44, 0.12);
}

/* ── Lista ── */
.rdd-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rdd-empty {
  background: var(--evh-card, #ffffff);
  border: 1px dashed var(--evh-line, #e3f5e8);
  border-radius: 16px;
  padding: 30px 18px;
  text-align: center;
  color: var(--evh-muted, #66856d);
  font-size: 0.92rem;
}
.rdd-empty.rdd-error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

/* Cartão de transação */
.rdd-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.rdd-item:hover {
  transform: translateY(-1px);
  border-color: var(--evh-brand-2, #5ae08a);
  box-shadow: 0 12px 28px rgba(19, 101, 44, 0.12);
}

.rdd-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
}
.rdd-item-icon svg { width: 22px; height: 22px; }
.rdd-item-icon--in { background: rgba(30, 155, 76, 0.12); color: #1e9b4c; }
.rdd-item-icon--out { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

.rdd-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rdd-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rdd-item-title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
}
.rdd-item-meta {
  margin: 0;
  font-size: 0.74rem;
  color: var(--evh-muted, #66856d);
}

/* Badge de status */
.rdd-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.rdd-status--paid { background: rgba(30, 155, 76, 0.12); color: #1e9b4c; }
.rdd-status--pending { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.rdd-status--processing { background: rgba(43, 215, 106, 0.1); color: var(--evh-brand, #2bd76a); }
.rdd-status--failed { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

/* Valor + método */
.rdd-item-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.rdd-amt-in { color: #1e9b4c; font-weight: 800; font-size: 0.98rem; white-space: nowrap; }
.rdd-amt-out { color: #dc2626; font-weight: 800; font-size: 0.98rem; white-space: nowrap; }
.rdd-item-method {
  font-size: 0.66rem;
  color: var(--evh-muted, #66856d);
  letter-spacing: 0.05em;
}

/* ── Responsivo ── */
@media (max-width: 360px) {
  .rdd-item {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      'icon info'
      'amount amount';
  }
  .rdd-item-icon { grid-area: icon; width: 40px; height: 40px; flex-basis: 40px; }
  .rdd-item-info { grid-area: info; }
  .rdd-item-amount {
    grid-area: amount;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--evh-line, #e3f5e8);
  }
}
/* ═══════════════════════════════════════════════════
   Registros de Trabalho — layout EVH
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: a stats bar de resumo, as pílulas de
   atalho e os cartões de registro (thumb + valor verde).
═══════════════════════════════════════════════════ */

/* ── Resumo (tiles coloridos estilo dashboard) ── */
.rt-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.rt-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.rt-tone-c { background: linear-gradient(135deg, #f6c56b, #d99a2b); }

.rt-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rt-summary-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 10px;
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 48, 26, 0.14);
}

.rt-summary-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.rt-summary-icon svg { width: 15px; height: 15px; }

.rt-summary-value {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.rt-summary-label {
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Filtros ── */
.rt-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rt-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rt-field {
  display: flex;
  flex-direction: column;
}

.rt-field .evh-input {
  color-scheme: light;
}

/* Pílulas de atalho */
.rt-quick-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rt-chip {
  flex: 1 1 auto;
  min-width: 64px;
  padding: 9px 12px;
  border: 1px solid var(--evh-line, #e3f5e8);
  border-radius: 999px;
  background: #f9fefa;
  color: var(--evh-ink, #13301a);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.rt-chip:hover {
  border-color: var(--evh-brand-2, #5ae08a);
  color: var(--evh-brand, #2bd76a);
}

.rt-chip:active {
  transform: translateY(1px);
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(43, 215, 106, 0.28);
}

/* ── Lista ── */
.rt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rt-empty {
  background: var(--evh-card, #ffffff);
  border: 1px dashed var(--evh-line, #e3f5e8);
  border-radius: 16px;
  padding: 30px 18px;
  text-align: center;
  color: var(--evh-muted, #66856d);
  font-size: 0.92rem;
}

.rt-empty.rt-error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

/* Cartão de registro */
.rt-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rt-item:hover {
  transform: translateY(-1px);
  border-color: var(--evh-brand-2, #5ae08a);
  box-shadow: 0 12px 28px rgba(19, 101, 44, 0.12);
}

/* Tile do tipo de tarefa (captcha) */
.rt-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--evh-brand-2, #5ae08a), var(--evh-brand, #2bd76a));
  display: grid;
  place-items: center;
  color: #ffffff;
}

.rt-item-thumb svg {
  width: 26px;
  height: 26px;
}

/* Info (título, descrição, data) */
.rt-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rt-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rt-item-title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--evh-ink, #13301a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-item-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(43, 215, 106, 0.1);
  color: var(--evh-brand, #2bd76a);
  border: 1px solid rgba(43, 215, 106, 0.22);
  letter-spacing: 0.02em;
}

.rt-item-desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--evh-muted, #66856d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-item-date {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: var(--evh-muted, #66856d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rt-item-date svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--evh-brand, #2bd76a);
}

.rt-item-time-detail {
  opacity: 0.85;
}

/* Valor recebido (verde) */
.rt-item-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.rt-item-amount-value {
  color: #1e9b4c;
  font-weight: 800;
  font-size: 0.98rem;
  white-space: nowrap;
}

.rt-item-amount-label {
  font-size: 0.66rem;
  color: var(--evh-muted, #66856d);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Responsivo ── */
@media (max-width: 380px) {
  .rt-item {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      'thumb info'
      'amount amount';
  }
  .rt-item-thumb { grid-area: thumb; width: 48px; height: 48px; }
  .rt-item-info { grid-area: info; }
  .rt-item-amount {
    grid-area: amount;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--evh-line, #e3f5e8);
  }
}
/* ═══════════════════════════════════════════════════
   Suporte — layout EVH
   Usa o kit evh-* (AppHeader/evh-ui.css). Aqui só o que
   é específico: aviso e os cartões de contato.
═══════════════════════════════════════════════════ */

/* ── Seletor de contatos (grade de tiles, estilo dashboard) ── */
.sp-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 16px;
  padding: 4px 0;
}

.sp-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0 2px;
  cursor: pointer;
}

.sp-menu-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(19, 101, 44, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sp-menu-icon svg { width: 24px; height: 24px; }
.sp-menu-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

.sp-menu-item--selected .sp-menu-icon {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(19, 101, 44, 0.26);
  outline: 2.5px solid var(--evh-brand, #2bd76a);
  outline-offset: 2px;
}

.sp-menu-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--evh-ink, #13301a);
  text-align: center;
}

.sp-tone-a { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.sp-tone-b { background: linear-gradient(135deg, #60c9f1, #1c8fc9); }
.sp-tone-c { background: linear-gradient(135deg, #6fd6c4, #22a693); }
.sp-tone-d { background: linear-gradient(135deg, #9a8cf0, #6a56d6); }
.sp-tone-vip { background: linear-gradient(135deg, #f6c56b, #d97706); }

/* ── Cartão de contato ── */
.sp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.sp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(19, 101, 44, 0.12);
}
.sp-card--vip { border-color: rgba(43, 215, 106, 0.4); }

.sp-card__head { display: flex; align-items: center; gap: 12px; }
.sp-card__avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #ffffff;
}
.sp-card__avatar svg { width: 24px; height: 24px; }
.sp-card__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.sp-card__avatar--manager { background: linear-gradient(135deg, #5ae08a, #2bd76a); }
.sp-card__avatar--group { background: linear-gradient(135deg, #28d067, #1e9b4c); }
.sp-card--vip .sp-card__avatar { background: linear-gradient(135deg, #f59e0b, #d97706); }

.sp-card__head-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-card__name { margin: 0; font-size: 1rem; font-weight: 800; color: var(--evh-ink, #13301a); }
.sp-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--evh-muted, #66856d);
}
.sp-card--vip .sp-card__role { color: #d97706; }

.sp-card__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--evh-muted, #66856d);
}

/* ── Botão WhatsApp ── */
.sp-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #28d067 0%, #1e9b4c 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(30, 155, 76, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.sp-card__btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.sp-card__btn:active { transform: translateY(0); }

/* ─── Team Expansion Page ─────────────────────────────────────────────────── */
.team-exp-page {
  background:
    radial-gradient(circle at 10% 5%, rgba(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 100%);
  background-attachment: fixed;
  color: #1a5a32;
  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(43, 215, 106, 0.22);
  border-radius: 10px;
  padding: 8px;
  color: #1a5a32;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-exp-back:hover {
  background: rgba(43, 215, 106, 0.15);
}

.team-exp-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a5a32;
  margin: 0;
}

.team-exp-loading {
  text-align: center;
  color: #3f8a5a;
  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(43, 215, 106, 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(43, 215, 106, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2bd76a;
}

.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: #1a5a32;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-exp-card-label {
  font-size: 0.75rem;
  color: #3f8a5a;
  line-height: 1.2;
}

/* Section Title */
.team-exp-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a5a32;
  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(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.team-exp-referral-desc {
  font-size: 0.85rem;
  color: #3f8a5a;
  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: #3f8a5a;
}

.team-exp-ref-value {
  font-size: 1rem;
  font-weight: 700;
  color: #2bd76a;
  letter-spacing: 1px;
}

.team-exp-ref-link {
  display: flex;
  gap: 8px;
}

.team-exp-ref-input {
  flex: 1;
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #1a5a32;
  font-size: 0.82rem;
  outline: none;
  min-width: 0;
}

.team-exp-copy-btn {
  background: linear-gradient(135deg, #2bd76a, #54de87);
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  color: #ffffff;
  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(43, 215, 106, 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, #2bd76a, #54de87);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.team-exp-level-commission {
  font-size: 0.78rem;
  color: #1e9b4c;
  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: #1a5a32;
}

.team-exp-level-stat-label {
  font-size: 0.7rem;
  color: #3f8a5a;
}

.team-exp-empty {
  text-align: center;
  color: #3f8a5a;
  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(43, 215, 106, 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(43, 215, 106, 0.12);
}

.team-exp-commission-row:last-child {
  border-bottom: none;
}

.team-exp-commission-header {
  background: rgba(43, 215, 106, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: #2bd76a;
}

.team-exp-commission-level {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a5a32;
}

.team-exp-commission-name {
  font-size: 0.85rem;
  color: #3f8a5a;
}

.team-exp-commission-percent {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e9b4c;
  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, #2bd76a, #54de87);
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  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(43, 215, 106, 0.22);
  color: #1a5a32;
}

.team-exp-action-secondary:hover {
  background: rgba(43, 215, 106, 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(43, 215, 106, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
}

.team-exp-tip-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #1a5a32;
  line-height: 1.5;
}

.team-exp-tip-item strong {
  color: #2bd76a;
  font-weight: 700;
}

.team-exp-tip-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2bd76a, #54de87);
  color: #ffffff;
  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: #ffffff;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  background: #0a0a0a;
}

/* ── Admin Sidebar Dark Theme ── */
.admin-dash-sidebar {
  background: #0f0f0f !important;
  border-right-color: rgba(255, 255, 255, 0.08) !important;
}

.admin-dash-sidebar .dash-brand {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.admin-dash-sidebar .dash-brand strong {
  color: #ffffff !important;
}

.admin-dash-sidebar .dash-brand small {
  color: #999999 !important;
}

.admin-dash-sidebar .dash-nav-item {
  color: #d0d0d0 !important;
  transition: color 0.15s ease, background 0.15s ease;
}

.admin-dash-sidebar .dash-nav-item:hover,
.admin-dash-sidebar .dash-nav-item.active {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.admin-dash-sidebar .dash-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-dash-sidebar .dash-nav-group-title {
  color: #808080 !important;
}

.admin-dash-sidebar .admin-dash-user-chip {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.admin-dash-sidebar .admin-dash-user-chip span {
  color: #b0b0b0 !important;
}

.admin-content {
  width: 100%;
  margin-left: 0;
  padding: 20px 20px 28px;
  box-sizing: border-box;
}

.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: #c0c0c0;
}

.admin-header-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-chip {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-chip.soft {
  background: rgba(40, 40, 40, 0.6);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-chip--online {
  background: rgba(45, 122, 58, 0.15);
  border-color: rgba(45, 122, 58, 0.4);
  color: #e0e0e0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25c25f;
  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: #c0c0c0;
  font-weight: 600;
}

.admin-kpi-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.admin-kpi-sub {
  font-size: 0.85rem;
  color: #c0c0c0;
  margin-top: 2px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.admin-kpi-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 16px;
}

.admin-kpi-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #c0c0c0;
  font-weight: 600;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  color: #ffffff;
}

.admin-kpi-card p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #c0c0c0;
}

/* 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, 255, 255, 0.45);
  background: #1f1f1f;
}

.admin-kpi-card--highlight strong {
  color: #ffffff;
}

/* cards de depósito */
.admin-kpi-card--deposit {
  border-color: rgba(45, 122, 58, 0.45);
  background: #1f1f1f;
}

.admin-kpi-card--deposit strong {
  color: #e0e0e0;
}

.admin-kpi-card--deposit p {
  color: #e0e0e0;
}

/* cards de saque */
.admin-kpi-card--withdraw {
  border-color: rgba(185, 28, 28, 0.45);
  background: #1f1f1f;
}

.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: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 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: #ffffff;
}

.admin-panel-head span {
  color: #c0c0c0;
  font-size: 0.82rem;
}

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

.admin-shortcuts button {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.admin-shortcuts button:hover {
  background: rgba(40, 40, 40, 0.9);
}

.admin-status-list {
  margin: 0;
  padding-left: 18px;
  color: #ffffff;
  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, 255, 255, 0.12);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #c0c0c0;
  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, 255, 255, 0.12);
  color: #ffffff;
}

.status.paid {
  background: rgba(45, 122, 58, 0.12);
  color: #e0e0e0;
}

.status.processing {
  background: rgba(255, 255, 255, 0.08);
  color: #c0c0c0;
}

@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: #c0c0c0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-mobile-topbar {
  display: none;
}

.admin-mobile-user {
  min-width: 0;
  display: grid;
}

.admin-mobile-user strong {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.1;
}

.admin-mobile-user small {
  font-size: 0.75rem;
  color: #c0c0c0;
  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, 255, 255, 0.15);
    background: rgba(40, 40, 40, 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, 255, 255, 0.22);
  border-radius: 12px;
  background: #1a1a1a;
}

.admin-withdraw-filter-field {
  display: grid;
  gap: 6px;
}

.admin-withdraw-filter-field label {
  font-size: 0.77rem;
  color: #c0c0c0;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.admin-withdraw-filter-input {
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(40, 40, 40, 0.8);
  color: #ffffff;
  padding: 0 12px;
  outline: none;
  font-size: 0.9rem;
}

.admin-withdraw-filter-input::placeholder {
  color: #50a06d;
}

.admin-withdraw-filter-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 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: #c0c0c0;
  font-weight: 700;
}

.admin-cycle-field input,
.admin-cycle-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(40, 40, 40, 0.8);
  color: #ffffff;
  padding: 10px 12px;
  outline: none;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.admin-cycle-field input::placeholder,
.admin-cycle-field textarea::placeholder {
  color: #50a06d;
}

.admin-cycle-field input:focus,
.admin-cycle-field textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 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, 255, 255, 0.22);
  border-radius: 10px;
  padding: 12px;
  background: #1a1a1a;
}

.admin-cycle-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-cycle-item-title {
  color: #ffffff;
}

.admin-cycle-item-description {
  margin: 6px 0;
  color: #c0c0c0;
}

.admin-cycle-item-meta {
  margin: 0;
  color: #ffffff;
}

.admin-cycle-item-meta.secondary {
  margin-top: 6px;
  color: #c0c0c0;
}

.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: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apw-summary-card--amount {
  border-color: rgba(255, 255, 255, 0.45);
}

.apw-summary-label {
  font-size: 0.78rem;
  color: #c0c0c0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.apw-summary-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.apw-summary-card--amount .apw-summary-value {
  color: #ffffff;
}

.apw-summary-sub {
  font-size: 0.76rem;
  color: #c0c0c0;
}

@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, 255, 255, 0.22);
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px;
  }

  .admin-withdraw-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: #ffffff;
  }

  .admin-withdraw-row:last-child {
    margin-bottom: 0;
  }

  .admin-withdraw-row strong {
    color: #c0c0c0;
    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: #25c25f;
  box-shadow: 0 0 0 2px rgba(37, 194, 95, 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(37, 194, 95, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(37, 194, 95, 0.12); }
}

.admin-users-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 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(238, 252, 243, 0.8);
  color: #1a5a32;
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
}

.admin-users-input:focus {
  border-color: #2bd76a;
}

.admin-users-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-users-actions button {
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #1a5a32;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 600;
}

.admin-users-actions button:hover {
  background: #eefcf3;
}

.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(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.6);
  color: #3f8a5a;
}

.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(43, 215, 106, 0.45);
  background: rgba(43, 215, 106, 0.12);
  color: #2bd76a;
  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(43, 215, 106, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #1a5a32;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-back-btn:hover {
  background: #eefcf3;
}

.admin-user-identity h2 {
  margin: 0 0 10px;
}

.admin-user-identity p {
  margin: 6px 0;
  color: #3f8a5a;
}

.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(43, 215, 106, 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: #3f8a5a;
}

.admin-user-log-item small {
  color: #1a5a32;
}

.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(43, 215, 106, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #1a5a32;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-toggle-logs-btn:hover {
  background: #eefcf3;
}

.admin-log-hint {
  margin: 6px 0 0;
  color: #3f8a5a;
}

.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: #3f8a5a;
  font-size: 13px;
}

.admin-balance-adjust-grid input,
.admin-balance-adjust-grid select {
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  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: #25c25f;
}

.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: #3f8a5a;
  margin: 0;
}

.admin-kpi-commission-badge {
  background: linear-gradient(135deg, #27ce65, #37d972);
  color: #ffffff;
  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: #1a5a32;
  line-height: 1.1;
}

.admin-kpi-sub {
  font-size: 0.78rem;
  color: #3f8a5a;
  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;
  }
}
/* ── Botão Ver Detalhes ── */
.auw-detail-btn {
  background: linear-gradient(135deg, #64e293, #2bd76a);
  border: 1px solid rgba(43, 215, 106, 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(26, 90, 50, 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(43, 215, 106, 0.22);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(26, 90, 50, 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(43, 215, 106, 0.22);
  flex-shrink: 0;
}

.auw-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a5a32;
}

.auw-modal-close {
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  color: #3f8a5a;
  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: #eefcf3;
  color: #1a5a32;
}

/* ── 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(238, 252, 243, 0.5);
  border: 1px solid rgba(43, 215, 106, 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: #3f8a5a;
}

/* ── 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: #3f8a5a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auw-modal-value {
  font-size: 0.88rem;
  color: #1a5a32;
  word-break: break-all;
}

.auw-value-highlight {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2bd76a;
}

.auw-mono {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #3f8a5a;
}

/* ── Modal footer ── */
.auw-modal-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(43, 215, 106, 0.22);
  flex-shrink: 0;
}

.auw-modal-btn-close {
  width: 100%;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  border: 1px solid rgba(43, 215, 106, 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: #1a5a32;
}

.roulette-code-subtitle {
  margin: 6px 0 0;
  color: #3f8a5a;
  font-size: 0.95rem;
}

.roulette-code-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(26, 90, 50, 0.12);
}

.roulette-code-card-head {
  margin-bottom: 14px;
}

.roulette-code-card-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a5a32;
}

.roulette-code-card-head p {
  margin: 6px 0 0;
  color: #3f8a5a;
  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: #3f8a5a;
  font-weight: 600;
}

.roulette-code-field input,
.roulette-code-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  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: #2bd76a;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.15);
}

.roulette-code-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.roulette-code-btn {
  border: none;
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.roulette-code-hint {
  margin-top: 12px;
  color: #3f8a5a;
  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;
  }
}
/* Modal de detalhes do depósito (admin) */
.dd-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 25, 9, 0.65);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 16px;
}
.dd-modal {
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.dd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dd-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: #13301a; }
.dd-head-right { display: flex; align-items: center; gap: 10px; }
.dd-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.dd-close {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #13301a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.dd-close:hover { background: rgba(0, 0, 0, 0.12); }

.dd-section { margin-top: 16px; }
.dd-section > h4 {
  margin: 0 0 6px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #66856d;
  font-weight: 800;
}

.dd-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #eaf7ee;
  font-size: 0.86rem;
}
.dd-row:last-child { border-bottom: 0; }
.dd-row > span { color: #66856d; flex: 0 0 auto; }
.dd-row > strong { color: #13301a; text-align: right; word-break: break-word; font-weight: 700; }
.dd-row--money > strong { color: #1e9b4c; }

.dd-code {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2fbf5;
  border: 1px solid #e3f5e8;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: #13301a;
  word-break: break-all;
  line-height: 1.5;
  max-height: 120px;
  overflow-y: auto;
}
.dd-copy { margin-top: 8px; }
.dd-qr { display: block; width: 168px; height: 168px; margin: 10px auto 0; border-radius: 8px; background: #fff; }

.dd-pre {
  margin: 8px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #13301a;
  color: #c9f5d4;
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 240px;
  overflow-y: auto;
}
.dd-payload summary { cursor: pointer; font-size: 0.8rem; font-weight: 700; color: #2bd76a; }
.dd-loading { padding: 40px; text-align: center; color: #66856d; }
.dd-link { color: #2bd76a; word-break: break-all; }
.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(43, 215, 106, 0.22);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(26, 90, 50, 0.12);
}

.admin-branding-head {
  margin-bottom: 16px;
}

.admin-branding-head h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a5a32;
}

.admin-branding-head p {
  margin: 8px 0 0;
  color: #3f8a5a;
  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: #3f8a5a;
  font-weight: 700;
}

.admin-branding-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  padding: 10px 12px;
  outline: none;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.admin-branding-field input::placeholder {
  color: #50a06d;
}

.admin-branding-field input:focus {
  border-color: #2bd76a;
  box-shadow: 0 0 0 2px rgba(43, 215, 106, 0.18);
}

.admin-branding-upload-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.admin-branding-upload-btn {
  border: 1px solid rgba(43, 215, 106, 0.35);
  border-radius: 10px;
  background: rgba(43, 215, 106, 0.1);
  color: #1a5a32;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-branding-upload-btn:hover:not(:disabled) {
  background: rgba(43, 215, 106, 0.18);
}

.admin-branding-upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-branding-upload-btn--ghost {
  background: transparent;
  border-color: rgba(220, 38, 38, 0.3);
  color: #dc2626;
}

.admin-branding-upload-btn--ghost:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.08);
}

.admin-branding-preview {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(43, 215, 106, 0.28);
  background: rgba(238, 252, 243, 0.6);
}

.admin-branding-preview h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #1a5a32;
}

.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(43, 215, 106, 0.22);
  background: #eefcf3;
  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: #3f8a5a;
  text-align: center;
  padding: 6px;
}

.admin-branding-meta strong {
  display: block;
  color: #1a5a32;
  font-size: 1.02rem;
}

.admin-branding-meta small {
  display: block;
  margin-top: 4px;
  color: #3f8a5a;
  font-size: 0.8rem;
}

.admin-branding-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.admin-branding-actions button {
  background: linear-gradient(135deg, #64e293, #2bd76a);
  border: 1px solid rgba(43, 215, 106, 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-mini-tasks-page .admin-users-header p {
  color: #3f8a5a;
  margin-top: 6px;
}

.admin-mini-wrap {
  display: grid;
  gap: 16px;
}

.admin-mini-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.admin-mini-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: #1a5a32;
}

.admin-mini-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-mini-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-mini-field label {
  font-size: 12px;
  color: #3f8a5a;
  font-weight: 600;
}

.admin-mini-field input[type='text'],
.admin-mini-field input[type='number'],
.admin-mini-field input[type='url'] {
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  padding: 0 12px;
  outline: none;
  font-size: 13px;
}

.admin-mini-field input[type='text']:focus,
.admin-mini-field input[type='number']:focus,
.admin-mini-field input[type='url']:focus {
  border-color: rgba(43, 215, 106, 0.8);
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.15);
}

.admin-mini-field input[type='url']::placeholder {
  color: #50a06d;
}

.admin-mini-image-preview {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-mini-image-preview img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
}

.admin-mini-image-preview .admin-mini-image-error {
  font-size: 11px;
  color: #b91c1c;
}

.admin-mini-table-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  vertical-align: middle;
}

.admin-mini-no-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px dashed rgba(43, 215, 106, 0.28);
  color: #3f8a5a;
  font-size: 16px;
}

.admin-mini-field-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  margin-bottom: 6px;
  color: #1a5a32;
  font-size: 13px;
}

.admin-mini-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-mini-table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(43, 215, 106, 0.18);
}

.admin-mini-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-mini-table thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #3f8a5a;
  background: rgba(238, 252, 243, 0.8);
  padding: 10px;
  border-bottom: 1px solid rgba(43, 215, 106, 0.22);
}

.admin-mini-table tbody td {
  padding: 10px;
  border-bottom: 1px solid rgba(43, 215, 106, 0.12);
  color: #1a5a32;
  font-size: 13px;
}

.admin-mini-table tbody tr:hover {
  background: rgba(238, 252, 243, 0.5);
}

.admin-mini-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(43, 215, 106, 0.35);
  background: rgba(43, 215, 106, 0.12);
  color: #2bd76a;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

.admin-mini-status {
  font-size: 12px;
  font-weight: 700;
}

.admin-mini-status.active {
  color: #2d7a3a;
}

.admin-mini-status.inactive {
  color: #b91c1c;
}

.admin-mini-row-actions {
  display: flex;
  gap: 8px;
}

/* ── Botões genéricos (.btn) ──────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.primary {
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  border-color: rgba(43, 215, 106, 0.45);
}

.btn.primary:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn.ghost {
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  border-color: rgba(43, 215, 106, 0.22);
}

.btn.ghost:hover:not(:disabled) {
  background: #eefcf3;
  border-color: rgba(43, 215, 106, 0.4);
}

.btn.danger {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
}

.btn.danger:hover:not(:disabled) {
  background: rgba(185, 28, 28, 0.22);
  border-color: rgba(185, 28, 28, 0.55);
}

@media (max-width: 840px) {
  .admin-mini-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-mini-field-checkbox {
    align-self: start;
    margin-bottom: 0;
  }
}
.admin-roulette-prob-page {
  min-height: 100vh;
  color: #1a5a32;
  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(43, 215, 106, 0.22);
  border-radius: 12px;
  padding: 16px;
}

.admin-roulette-prob-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a5a32;
}

.admin-roulette-prob-subtitle {
  margin: 8px 0 0;
  color: #3f8a5a;
  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: #1a5a32;
  font-weight: 600;
}

.admin-roulette-prob-input-wrap {
  position: relative;
}

.admin-roulette-prob-input {
  width: 100%;
  border: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.8);
  color: #1a5a32;
  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: #2bd76a;
  box-shadow: 0 0 0 2px rgba(43, 215, 106, 0.15);
}

.admin-roulette-prob-percent {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #3f8a5a;
  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(43, 215, 106, 0.45);
  background: linear-gradient(135deg, #64e293, #2bd76a);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-roulette-prob-save-btn:disabled {
  background: #b8d4c3;
  color: #6f9a7f;
  cursor: not-allowed;
}

.admin-roulette-prob-feedback {
  margin-top: 12px;
  color: #3f8a5a;
  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: #1a5a32;
  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: #1a5a32;
}

.acb-subtitle {
  margin: 6px 0 0;
  color: #3f8a5a;
  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(43, 215, 106, 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(43, 215, 106, 0.45); }

.acb-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3f8a5a;
}

.acb-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a5a32;
}
.acb-stat-card--ok .acb-stat-value { color: #2d7a3a; }
.acb-stat-card--warn .acb-stat-value { color: #2bd76a; }

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.acb-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 215, 106, 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: #1a5a32;
}

.acb-loading {
  color: #3f8a5a;
  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(238, 252, 243, 0.5);
}
.acb-by-prize-label { font-size: 13px; color: #1a5a32; }
.acb-by-prize-count { font-size: 13px; font-weight: 700; color: #2bd76a; }

/* ─── 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: #3f8a5a;
  border-bottom: 1px solid rgba(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 0.6);
}

.acb-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(43, 215, 106, 0.12);
  color: #1a5a32;
  vertical-align: middle;
}

.acb-table tr:last-child td { border-bottom: none; }
.acb-table tr:hover td { background: rgba(238, 252, 243, 0.5); }
.acb-row--inactive td { opacity: 0.5; }

.acb-td--muted { color: #3f8a5a; }

/* ─── 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(43, 215, 106, 0.12); color: #2bd76a; border: 1px solid rgba(43, 215, 106, 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(80, 160, 109, 0.15); color: #3f8a5a; }

.acb-prob { font-weight: 700; color: #2bd76a; }
.acb-prob--zero { color: #b91c1c; }

.acb-code {
  font-family: monospace;
  font-size: 12px;
  background: rgba(43, 215, 106, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #2bd76a;
}

/* ─── 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, #64e293, #2bd76a); color: #ffffff; border: 1px solid rgba(43, 215, 106, 0.45); }
.acb-btn--edit    { background: rgba(43, 215, 106, 0.15); color: #2bd76a; border: 1px solid rgba(43, 215, 106, 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(238, 252, 243, 0.6); color: #1a5a32; border: 1px solid rgba(43, 215, 106, 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(43, 215, 106, 0.10);
  border: 1px solid rgba(43, 215, 106, 0.30);
  color: #2bd76a;
  font-size: 0.88rem;
  margin: 0;
}

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.acb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 90, 50, 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(43, 215, 106, 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(43, 215, 106, 0.22);
}
.acb-modal-header h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #1a5a32; }

.acb-modal-close {
  background: none;
  border: none;
  color: #3f8a5a;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.acb-modal-close:hover { color: #1a5a32; }

.acb-modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.acb-modal-body p { margin: 0; color: #1a5a32; }

.acb-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(43, 215, 106, 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: #3f8a5a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.acb-required { color: #b91c1c; }

.acb-input {
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  color: #1a5a32;
  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: #2bd76a; box-shadow: 0 0 0 2px rgba(43, 215, 106, 0.15); }
.acb-input:disabled { opacity: 0.4; cursor: not-allowed; }
.acb-input option { background: #eefcf3; }

.acb-hint { font-size: 11px; color: #50a06d; }

.acb-field--check { flex-direction: row; align-items: center; }
.acb-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #1a5a32;
  font-size: 0.9rem;
}
.acb-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2bd76a;
  cursor: pointer;
}

/* ─── Image thumbnail (table) ─────────────────────────────────────────────── */
.acb-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: rgba(238, 252, 243, 0.6);
  border: 1px solid rgba(43, 215, 106, 0.18);
}

.acb-thumb-empty {
  color: #3f8a5a;
  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(43, 215, 106, 0.22);
  background: rgba(238, 252, 243, 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(43, 215, 106, 0.18);
  background: rgba(238, 252, 243, 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(43, 215, 106, 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(43, 215, 106, 0.12);
  font-size: 13px;
}
.acb-mobile-row:last-child { border-bottom: none; }
.acb-mobile-row > span:first-child { color: #3f8a5a; 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(43, 215, 106, 0.22);
  border-radius: 14px;
  padding: 24px;
}

.asp-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1a5a32;
}

/* ── 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: #3f8a5a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.asp-field input,
.asp-field select,
.asp-field textarea {
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: #1a5a32;
  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: #2bd76a;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.15);
}

.asp-field select option { background: #eefcf3; }
.asp-field textarea { resize: vertical; }

.asp-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f8a5a;
  cursor: pointer;
}

.asp-checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent, #70e49b);
  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(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: #1a5a32;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s;
}

.asp-search { width: 220px; }
.asp-search:focus, .asp-select:focus { border-color: #2bd76a; }
.asp-search::placeholder { color: #50a06d; }
.asp-select option { background: #eefcf3; }

/* ── 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: #3f8a5a;
  border-bottom: 1px solid rgba(43, 215, 106, 0.18);
  white-space: nowrap;
}

.asp-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(43, 215, 106, 0.12);
  color: #1a5a32;
  vertical-align: middle;
}

.asp-table tbody tr:last-child td { border-bottom: none; }
.asp-table tbody tr:hover td { background: rgba(238, 252, 243, 0.5); }
.asp-row-inactive td { opacity: 0.5; }

.asp-td-id { color: #3f8a5a; font-size: 0.78rem; width: 48px; }
.asp-td-price { font-weight: 700; color: #2bd76a; 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, #64e293, #2bd76a);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  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(43, 215, 106, 0.10); color: #2bd76a; }
.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(43, 215, 106, 0.10); color: #2bd76a; }
.asp-cat-social    { background: rgba(43, 215, 106, 0.10); color: #2bd76a; }
.asp-cat-outros    { background: rgba(26, 90, 50, 0.10); color: #1a5a32; }

/* ── 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(80, 160, 109, 0.12); color: #3f8a5a; }
.asp-toggle-on:hover  { background: rgba(45, 122, 58,0.22); }
.asp-toggle-off:hover { background: rgba(80, 160, 109, 0.22); }

/* ── Row actions ──────────────────────────────────────────── */
.asp-row-actions { display: flex; gap: 6px; }

/* ── Misc ─────────────────────────────────────────────────── */
.asp-loading,
.asp-empty {
  font-size: 0.9rem;
  color: #3f8a5a;
  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(43, 215, 106, 0.28);
  background: rgba(238, 252, 243, 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: #2bd76a;
}

.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(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.88rem;
  color: #1a5a32;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.asp-image-url-input:focus {
  border-color: #2bd76a;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.15);
}

.asp-image-url-input::placeholder { color: #50a06d; }

.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(43, 215, 106, 0.10);
  color: #2bd76a;
  border: 1px solid rgba(43, 215, 106, 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(43, 215, 106, 0.20); }

/* ── Stock panel ──────────────────────────────────────────── */
.asp-stock-card {
  border-color: rgba(112, 228, 155, 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: #3f8a5a;
  margin: 0;
}

.asp-stock-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.asp-stock-stat {
  background: rgba(238, 252, 243, 0.6);
  border: 1px solid rgba(43, 215, 106, 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: #1a5a32;
}

.asp-stock-stat span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3f8a5a;
}

.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: #3f8a5a;
  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: #50a06d;
  background: rgba(238, 252, 243, 0.6);
  border-radius: 5px;
  padding: 2px 8px;
}

.asp-stock-textarea {
  background: rgba(238, 252, 243, 0.8);
  border: 1px solid rgba(43, 215, 106, 0.22);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-family: 'Courier New', monospace;
  color: #1a5a32;
  outline: none;
  resize: vertical;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.asp-stock-textarea:focus {
  border-color: #2bd76a;
  box-shadow: 0 0 0 3px rgba(43, 215, 106, 0.15);
}

.asp-stock-textarea::placeholder { color: #50a06d; }

/* ── Codes table ──────────────────────────────────────────── */
.asp-codes-table .asp-code-cell {
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  background: rgba(43, 215, 106, 0.08);
  border-radius: 5px;
  padding: 2px 8px;
  color: #2bd76a;
  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; }
}
/* ─── 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(43, 215, 106, 0.22);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.vip-photo-card:hover {
  border-color: #2bd76a;
}

.vip-photo-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(238, 252, 243, 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: #3f8a5a;
  font-size: 0.85rem;
}

.vip-photo-info {
  padding: 0.9rem 1rem 0.5rem;
}

.vip-photo-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #1a5a32;
  font-weight: 600;
}

.vip-photo-info p {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.85rem;
  color: #3f8a5a;
}

.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, #2bd76a, #25c15f);
  color: #ffffff;
  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;
}
/* ── AdminCycleOrders ───────────────────────────────────────────── */

/* Summary strip */
.aco-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.aco-summary-card {
  flex: 1 1 140px;
  background: #1e3627;
  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: #8ab59a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aco-summary-value {
  font-size: 20px;
  font-weight: 700;
  color: #e2f0e7;
}

/* Color helpers */
.aco-c-orange { color: #2ad668; }
.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: #8ab59a;
  cursor: pointer;
  transition: all 0.18s;
}

.aco-tab:hover {
  border-color: rgba(112, 228, 155, 0.4);
  color: #cff6dd;
}

.aco-tab.active {
  background: #4edd82;
  border-color: #4edd82;
  color: #ffffff;
}

.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: #1e3627;
  color: #e2f0e7;
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s;
}

.aco-search::placeholder { color: #55705f; }

.aco-search:focus {
  border-color: rgba(112, 228, 155, 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: #8ab59a; }
.aco-count  { font-size: 12px; color: #8ab59a; 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: #e2f0e7; }
.aco-user-phone { font-size: 11px; color: #8ab59a; }

/* 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: #2ad668;
  background: rgba(42, 214, 104, 0.12);
  border-color: rgba(42, 214, 104, 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(112, 228, 155, 0.15);
  border: 1px solid rgba(112, 228, 155, 0.35);
  color: #b1f0c8;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.aco-user-btn:hover {
  background: rgba(112, 228, 155, 0.28);
  color: #cff6dd;
}

.aco-user-btn--full {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  text-align: center;
}

/* Mobile cards */
.aco-cards {
  display: none;
}

.aco-card {
  background: #1e3627;
  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: #8ab59a;
}

.aco-card-row span:last-child {
  color: #e2f0e7;
  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 — design EVH (roxo / branco)
   Layout base (.evh-page / header / body / bottom-nav) vem
   de evh-ui.css e AppSidebar.css. Aqui só o conteúdo próprio.
═══════════════════════════════════════════════════════ */

/* ── Foto principal ── */
.about-photo-section {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(43, 215, 106, 0.18);
  border: 1px solid var(--evh-line, #e3f5e8);
}

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

/* ── Texto sobre nós ── (.about-text-section também é .evh-card) */
.about-story-title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--evh-ink, #13301a);
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-timeline-item {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--evh-line, #e3f5e8);
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--evh-brand, #2bd76a);
}

.about-timeline-year {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--evh-brand, #2bd76a);
}

.about-text-paragraph {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--evh-ink, #13301a);
  line-height: 1.65;
}

.about-text-paragraph:last-child {
  margin-bottom: 0;
}

/* ── Certificado de constituição (aparência de papel/documento oficial) ── */
.about-cert-wrap { margin: 16px 0 0; }

.about-cert-wrap .intro-certificate {
  margin: 0;
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2b2118;
  transform: rotate(-0.35deg);

  background-color: #f7f1e1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 10%, rgba(20, 104, 50, 0.05), transparent 45%),
    radial-gradient(circle at 88% 92%, rgba(160, 44, 44, 0.04), transparent 45%);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 170px 170px, auto, auto;

  border: 1px solid #b9a877;
  border-radius: 3px;
  outline: 1px solid #b9a877;
  outline-offset: -6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 34px -16px rgba(28, 22, 10, 0.4),
    0 3px 10px -2px rgba(28, 22, 10, 0.25);
}

/* Filete gravado (padrão de segurança) no topo, estilo cédula/certificado */
.about-cert-wrap .intro-certificate::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 16px;
  right: 16px;
  top: 14px;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #8a7a3d 0 2px,
    #c7b567 2px 3px,
    transparent 3px 7px
  );
  opacity: 0.55;
}

/* Marca d'água diagonal, como em documentos oficiais escaneados */
.about-cert-wrap .intro-certificate::after {
  content: 'ORIGINAL';
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #146832;
  opacity: 0.05;
  transform: rotate(-26deg) scale(1.15);
  pointer-events: none;
  white-space: nowrap;
}

.about-cert-wrap .intro-certificate__stamp {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 22px;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #a02c2c;
  border: 2px solid #a02c2c;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 2px;
  transform: rotate(-7deg);
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.about-cert-wrap .intro-certificate__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 6px;
}

.about-cert-wrap .intro-certificate__crown {
  width: 58px;
  height: 58px;
  margin: 0 auto 8px;
  display: block;
  color: #146832;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}

.about-cert-wrap .intro-certificate__office {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #146832;
  text-transform: uppercase;
  margin: 2px 0 0;
}

.about-cert-wrap .intro-certificate__main-title {
  position: relative;
  z-index: 1;
  font-size: 1.18rem;
  font-weight: 700;
  color: #1c1508;
  letter-spacing: 1.5px;
  margin: 18px 0 6px;
  text-transform: uppercase;
  text-align: center;
}

.about-cert-wrap .intro-certificate__subtitle {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a3f2a;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.about-cert-wrap .intro-certificate__number {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  text-align: center;
  color: #2b2118;
  margin: 0 0 18px;
}
.about-cert-wrap .intro-certificate__number strong { font-weight: 700; letter-spacing: 1px; }

.about-cert-wrap .intro-certificate__body {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
  margin: 0 0 6px;
  color: #2b2118;
}

.about-cert-wrap .intro-certificate__company-name {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 14px 0;
  color: #1c1508;
  text-transform: uppercase;
}

.about-cert-wrap .intro-certificate__issued {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 22px 0 20px;
  font-size: 0.88rem;
  color: #4a3f2a;
  font-style: italic;
}

.about-cert-wrap .intro-certificate__footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 12px;
  border-top: 1px solid #cbb98a;
}

.about-cert-wrap .intro-certificate__seal {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f4ecc9;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);

  background: radial-gradient(circle at 34% 30%, #d9c266, #a3852f 55%, #7a611f 100%);
  box-shadow:
    0 1px 2px rgba(255, 255, 255, 0.5) inset,
    0 -2px 3px rgba(0, 0, 0, 0.3) inset,
    0 2px 5px rgba(28, 22, 10, 0.4);
  border: 1px solid #6b551c;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.about-cert-wrap .intro-certificate__seal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(244, 236, 201, 0.6);
}

.about-cert-wrap .intro-certificate__signature-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.about-cert-wrap .intro-certificate__signature {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.5rem;
  color: #1c3fae;
  transform: rotate(-2deg);
  text-shadow: 0 0 1px rgba(28, 63, 174, 0.35);
  border-bottom: 1px solid rgba(28, 63, 174, 0.35);
  padding: 0 6px 2px;
}

.about-cert-wrap .intro-certificate__signature-title {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a3f2a;
}

.about-cert-wrap .intro-certificate__entity {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #146832;
  font-weight: 700;
  text-transform: uppercase;
}
/* ═══════════════════════════════════════════════════════
   Introduction Page — design EVH (roxo / preto / branco)
   Layout base (página, header, cartões, bottom-nav) vem de
   evh-ui.css (AppHeader) e AppSidebar.css. Aqui ficam apenas
   os estilos próprios do conteúdo desta página.
═══════════════════════════════════════════════════════ */

/* ── Hero (cartão de destaque) ─────────────────── */
.intro-hero {
  text-align: left;
}

.intro-hero__kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--evh-brand);
}

.intro-hero__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--evh-ink);
}

.intro-hero__subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--evh-muted);
}

/* ── Seção (cartão de texto) ───────────────────── */
.intro-section h2 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  color: var(--evh-brand);
  font-weight: 800;
}

.intro-section p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--evh-ink);
}

.intro-section p:last-child {
  margin-bottom: 0;
}

.intro-section strong {
  color: var(--evh-brand);
  font-weight: 700;
}

/* ── Marcas ────────────────────────────────────── */
.intro-brands {
  display: inline;
  margin: 0 0 14px;
}

.intro-brands span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--evh-brand);
}

.intro-brands span:not(:last-child)::after {
  content: ', ';
  color: var(--evh-ink);
  font-weight: 400;
}

/* ── Lista numerada ────────────────────────────── */
.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: #f9fefa;
  border: 1px solid var(--evh-line);
  padding: 12px 14px;
  border-radius: 12px;
}

.intro-list__item h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: var(--evh-ink);
  font-weight: 800;
}

.intro-list__item p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--evh-muted);
  text-align: left;
}

.intro-list__number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--evh-brand-2) 0%, var(--evh-brand) 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 10px -4px rgba(43, 215, 106, 0.6);
}

/* ── Certificado de incorporação ──────────────── */
.intro-certificate {
  margin: 0;
  background: #f2fdf6;
  border: 1px solid #84c99e;
  border-radius: 16px;
  padding: 34px 32px 30px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2a2a2a;
  box-shadow:
    0 2px 0 #84c99e inset,
    0 -2px 0 #84c99e 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,
    #228a48 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: #146832;
}

.intro-certificate__office {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #146832;
  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 #84c99e;
}

.intro-certificate__seal {
  width: 56px;
  height: 56px;
  border: 2px solid #146832;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #146832;
  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: #146832;
  font-weight: 700;
  text-transform: uppercase;
}
.floating-support {
  position: fixed;
  right: 12px;
  bottom: 96px;
  z-index: 1200;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  animation: floating-support-bounce 2.6s ease-in-out infinite;
}

.floating-support img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.floating-support__ring {
  display: none !important;
}

@keyframes floating-support-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-support { animation: none; }
}

@media (min-width: 860px) {
  .floating-support {
    right: calc(50% - 230px + 12px);
    bottom: 32px;
  }
}
: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(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 100%);
  background-attachment: fixed;
  color: #1a5a32;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(157, 236, 186, 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(43, 215, 106, 0.28), transparent 34%),
    linear-gradient(170deg, #eefcf3 0%, #c3f4d5 50%, #8ae9ad 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(83, 222, 134, 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, #0d4320, #115a2c);
  border-radius: 10px;
  padding: 12px 16px;
  color: #cbe1d3;
  font-size: 0.88rem;
  line-height: 2;
  margin-bottom: 18px;
}

.login-invite-highlight {
  color: #36d972;
  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(82, 222, 133, 0.24), transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(55, 217, 114, 0.24), transparent 46%),
    linear-gradient(155deg, #04150a 0%, #0b331a 48%, #104a25 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(4, 21, 10, 0.18), rgba(4, 21, 10, 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(83, 222, 134, 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(195, 244, 213, 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: #e0f9e9;
  text-shadow:
    0 0 18px rgba(83, 222, 134, 0.55),
    0 0 44px rgba(55, 217, 114, 0.4);
}

.pglm-banner-subtitle {
  margin: 10px 0 0;
  color: rgba(226, 240, 231, 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, 240, 231, 0.45);
  transition: all 0.2s ease;
}

.pglm-banner-dot.active {
  width: 20px;
  background: #52de85;
}

.pglm-banner-lightning {
  position: absolute;
  width: 78px;
  height: 140px;
  z-index: 2;
  fill: #52de85;
  filter:
    drop-shadow(0 0 6px rgba(82, 222, 133, 0.95))
    drop-shadow(0 0 16px rgba(83, 222, 134, 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(82, 222, 133, 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(82, 222, 133, 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(195, 244, 213, 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: #e0f9e9;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(83, 222, 134, 0.5);
}

.pglm-invite-reward {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(82, 222, 133, 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, 240, 231, 0.88);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pglm-invite-desc strong {
  color: #8feab1;
}

.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, 42, 25, 0.55);
  border: 1px solid rgba(148, 184, 161, 0.22);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #cbe1d3;
}

.pglm-invite-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #32d86f, #37d972);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pglm-invite-step-arrow {
  color: rgba(148, 184, 161, 0.5);
  font-size: 0.85rem;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 20px 22px;
  color: #ffffff;
  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: #0f2a19;
  letter-spacing: -0.5px;
}

.subtitle {
  margin: 8px 0 20px;
  color: #648b72;
  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: #33553f;
}

.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 #e2f0e7;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.96rem;
  background: #f8fcfa;
  color: #0f2a19;
  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: #648b72;
  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: #53de86;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(83, 222, 134, 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: #476953;
  font-size: 0.88rem;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: #53de86;
}

/* Links */
.text-link {
  color: #53de86;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.text-link:hover {
  color: #27ce65;
  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: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, #53de86 0%, #4edd82 100%);
  box-shadow: 0 4px 14px rgba(83, 222, 134, 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(83, 222, 134, 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(78, 221, 130, 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: #edfcf5;
  color: #047857;
  border: 1px solid #abefd0;
}

.feedback.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Switch page (login ↔ register) */
.switch-page {
  margin: 16px 0 0;
  text-align: center;
  color: #648b72;
  font-size: 0.92rem;
}

/* Social links */
.social-links-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2f0e7;
}

.social-links-title {
  margin: 0 0 10px;
  text-align: center;
  color: #476953;
  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 #e0f9e9;
  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(83, 222, 134, 0.35);
  outline-offset: 2px;
}

.social-link-button.instagram {
  background: linear-gradient(135deg, #fd1d1d 0%, #35c168 45%, #3ab467 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(53, 193, 104, 0.25);
}

.social-link-button.youtube {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.25);
}

.social-link-button.telegram {
  background: linear-gradient(135deg, #52de85 0%, #20a952 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(32, 169, 82, 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;
  }
}

