:root {
  --bg: #0a0a0a;
  --bg-card: #ffffff;
  --green: #22c55e;
  --green-dark: #15803d;
  --green-glow: #4ade80;
  --orange: #f97316;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #1f2937;
  --hero-bg: linear-gradient(180deg, #14532d 0%, #052e16 55%, #0a0a0a 100%);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --layout-max: 1120px;
  --layout-gutter: 4%;
  font-family: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container,
.container--wide {
  width: min(var(--layout-max), calc(100% - var(--layout-gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  background: #000;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.logo--row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-icon { font-size: 2rem; line-height: 1; }
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-sub { font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.logo-footer .logo-text { font-size: 1.1rem; color: var(--green-glow); }
.logo-footer .logo-sub { color: #64748b; }

.header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
}
.search-form {
  display: flex;
  width: min(480px, 100%);
  border-radius: 999px;
  overflow: hidden;
}
.search-form--header {
  background: #1e293b;
  border: 1px solid #334155;
}
.search-form--header input {
  flex: 1;
  border: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: #f1f5f9;
  background: transparent;
  outline: none;
}
.search-form--header input::placeholder { color: #64748b; }
.search-form--header button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
}
.search-form--header button:hover { background: var(--green-dark); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green-glow); }

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-left: auto;
}
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost {
  background: #1f2937;
  color: #e2e8f0;
  border: 1px solid #334155;
}
@media (max-width: 960px) {
  .header-bar { justify-content: center; }
  .header-actions { margin-left: 0; width: 100%; justify-content: center; }
}
.saldo-badge {
  background: #111827;
  border: 1px solid var(--green-dark);
  color: var(--green-glow);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: help;
}
.compra-resumo { margin-bottom: 1.25rem; }
.compra-resumo a { color: #86efac; font-weight: 700; text-decoration: underline; }
.scratch-fila {
  font-size: 0.9rem;
  color: var(--green-dark);
  background: #ecfdf5;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.scratch-actions__btn { margin-top: 0.5rem; }
.scratch-actions__btn + .scratch-actions__btn { margin-top: 0.35rem; }
.scratch-result-banner {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.scratch-result-banner--win {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.scratch-result-banner--lose {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.scratch-saldo-hint {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.75rem 0 1rem;
  line-height: 1.4;
}
.purchase-hint {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.purchase-hint strong { color: #334155; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-green {
  background: #2d9b55;
  color: #fff;
}
.section--catalogo .btn-green {
  background: #3cb371;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.btn-primary:hover, .btn-green:hover { background: var(--green-glow); color: #052e16; }
/* Padrão: fundo claro do site */
.btn-outline {
  background: #fff;
  border: 1px solid #94a3b8;
  color: #334155;
}
.btn-outline:hover {
  background: #f1f5f9;
  border-color: var(--green-dark);
  color: var(--green-dark);
}
/* Header escuro — texto claro */
.site-header .btn-outline {
  background: transparent;
  border-color: #475569;
  color: #e2e8f0;
}
.site-header .btn-outline:hover {
  background: #1f2937;
  border-color: #94a3b8;
  color: #fff;
}
.panel .btn-outline,
.page-panel .btn-outline,
.purchase-box .btn-outline,
.section--page .btn-outline,
.wallet-actions .btn-outline {
  color: #334155;
  border-color: #94a3b8;
  background: #fff;
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-dark { background: #111; color: #fff; border-color: #333; }

.hero {
  background: var(--hero-bg);
  padding: 3rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(74, 222, 128, 0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08), transparent 35%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--green-glow); }
.hero p { color: #cbd5e1; font-size: 1.05rem; }

/* Hero interno — todas as páginas exceto home */
.page-hero {
  background: var(--hero-bg);
  padding: 2.25rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 40%, rgba(74, 222, 128, 0.1), transparent 45%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.page-hero p { color: #cbd5e1; font-size: 1rem; }

.section { padding: 2rem 0 3rem; }
.section--page {
  background: #f1f5f9;
  padding: 2rem 0 3rem;
}
.section--page .section-title {
  color: #0f172a;
  text-align: left;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.section--page .section-lead {
  color: #64748b;
  text-align: center;
  margin: -0.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.container--narrow {
  width: min(480px, calc(100% - var(--layout-gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}
.container--medium {
  width: min(720px, calc(100% - var(--layout-gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}

.page-panel {
  background: var(--bg-card);
  color: #111;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}
.page-panel h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-panel p { color: #475569; line-height: 1.6; }
.page-panel p + p { margin-top: 0.75rem; }

/* Páginas institucionais — privacidade, termos */
.legal-doc__lead {
  font-size: 1.02rem;
  color: #334155;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.legal-doc__section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.legal-doc__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.legal-doc__section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
.legal-doc__list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: #475569;
  line-height: 1.65;
}
.legal-doc__list li {
  margin-bottom: 0.35rem;
}
.legal-doc__list--contact a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc__list--contact a:hover {
  color: #166534;
}
.legal-doc__contact {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
  margin-bottom: 1rem;
}
.legal-doc__updated {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.auth-panel { margin: 0 auto; }
.auth-panel h1 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
.auth-panel .form-footer {
  text-align: center;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}
.auth-panel .form-footer a { color: var(--green-dark); font-weight: 700; }
.auth-legal-check { margin: 0.25rem 0 1rem; }
.auth-legal-check__label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}
.auth-legal-check__label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: #22c55e;
}
.auth-legal-check__label a {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-legal-check__label a:hover { color: #166534; }
.legal-doc__lead a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section--page .cards-grid .product-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.section--page .cards-grid .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}
.section--page .empty-state {
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.section--page .winner-item,
.section--page .list-card {
  background: #fff;
  color: #111;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.section--page .winner-item strong { color: var(--green-dark); }
.section--page .winner-item small {
  color: #64748b;
  display: block;
  margin-top: 0.15rem;
}
.section--page .winner-item > div:last-child {
  text-align: right;
}

.account-saldo {
  text-align: center;
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1.5rem;
}
.account-saldo strong {
  color: var(--green-dark);
  font-size: 1.35rem;
}
.section--catalogo {
  position: relative;
  background: #f1f5f9;
  padding: 2rem 0 3rem;
  margin-top: -1px;
  overflow: hidden;
}
/* Faixa escura só no topo (transição do hero) — cards ficam sempre em fundo claro */
.section--catalogo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(5rem, 14vw, 9rem);
  background: linear-gradient(180deg, #0f172a 0%, #111827 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.section--catalogo > .container {
  position: relative;
  z-index: 1;
}
.section--catalogo .section-title--page {
  color: #0f172a;
  text-align: center;
  margin-bottom: 1.25rem;
}
.section--catalogo .cards-grid {
  margin-top: 0.5rem;
}
.section--catalogo .product-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.section--catalogo .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile: evita cards “colados” (hover com transform empilha sobre o de baixo) */
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .section--catalogo .cards-grid {
    gap: 2rem;
    padding-bottom: 0.25rem;
  }
  .section--catalogo .product-card,
  .section--page .cards-grid .product-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
}
@media (hover: none) {
  .section--catalogo .product-card:hover,
  .section--page .cards-grid .product-card:hover {
    transform: none;
  }
}
.product-card .body,
.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.product-card__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #15803d;
  background: linear-gradient(180deg, #ecfdf5, #d1fae5);
  border: 1px solid #86efac;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
}
.product-card__tier {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #92400e;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  padding: 0.22rem 0.45rem;
  border-radius: 4px;
}
.product-card__prize {
  margin: 0.15rem 0 0.1rem;
  line-height: 1.05;
  text-align: center;
}
.product-card__prize-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.product-card__prize-value {
  display: block;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.product-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #475569;
  text-align: center;
}
.product-card__trust {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-card__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}
.product-card__cta-line {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #15803d;
  text-align: center;
}
.product-card__progress {
  margin-top: 0.35rem;
}
.product-card__progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.product-card__progress-head strong {
  color: #0f172a;
  font-size: 0.72rem;
}
.product-card__progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
.product-card__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
  transition: width 0.35s ease;
}

/* Bordas por categoria (Bronze, Prata, Ouro, Diamante) */
.product-card--tier-bronze {
  box-shadow: 0 0 0 2px #ea580c, 0 12px 32px rgba(234, 88, 12, 0.15);
}
.product-card--tier-prata {
  box-shadow: 0 0 0 2px #94a3b8, 0 12px 32px rgba(148, 163, 184, 0.2);
}
.product-card--tier-ouro {
  box-shadow: 0 0 0 2px #eab308, 0 12px 32px rgba(234, 179, 8, 0.2);
}
.product-card--tier-diamante {
  box-shadow: 0 0 0 2px #3b82f6, 0 12px 32px rgba(59, 130, 246, 0.22);
}
.product-card--tier-bronze .product-card__tier {
  color: #9a3412;
  border-color: #fdba74;
  background: linear-gradient(180deg, #fff7ed, #ffedd5);
}
.product-card--tier-prata .product-card__tier {
  color: #475569;
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}
.product-card--tier-ouro .product-card__tier {
  color: #854d0e;
  border-color: #fde047;
  background: linear-gradient(180deg, #fefce8, #fef9c3);
}
.product-card--tier-diamante .product-card__tier {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}
.product-card .body h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.product-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: #dcfce7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}
.meta-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}
.meta-ico--cal {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232563eb' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.meta-ico--users {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.meta-ico--trophy {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ca8a04' viewBox='0 0 24 24'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.meta-ico--pix {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2316a34a' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h7l-1 8 10-12h-7l1-8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.meta-ico--loteria {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231d4ed8' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 7.4H22l-6 4.6 2.3 7-6.3-4.6L5.7 21l2.3-7-6-4.6h7.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn-card {
  margin-top: auto;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  gap: 0.5rem;
}
.btn-ico-ticket {
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M22 10V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--catalogo .btn-green {
  background: linear-gradient(180deg, #34d399, #22c55e);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.product-card {
  background: var(--bg-card);
  color: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.product-card .thumb {
  aspect-ratio: 4/3;
  background: #14532d center/cover no-repeat;
  background-size: cover;
  position: relative;
}
.product-card .thumb--rifa {
  min-height: 200px;
}
.product-card .thumb--scratch {
  aspect-ratio: 576 / 800;
  background: #0f172a;
  display: block;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}
.thumb-scratch-gif {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
}
.scratch-card-gif,
.scratch-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 380px;
  background: #0f172a;
  vertical-align: top;
}
.scratch-card-gif--page {
  max-height: 520px;
  border-radius: 12px;
}
.product-card .thumb--rifa {
  aspect-ratio: 1;
  min-height: 220px;
  background-size: cover;
  background-position: center top;
}
.scratch-card-mini {
  padding: 0.75rem 0.7rem 0.65rem;
  border-top: 3px solid var(--green);
  background: #fff;
  text-align: left;
}
.scratch-card-mini__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.25rem;
}
.scratch-card-mini__hint {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}
.scratch-card-mini__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.45rem;
}
/* Quadros raspadinha — estilo PandaBits */
.scratch-zones-mini {
  display: grid;
  gap: 0.5rem;
}
.scratch-box {
  position: relative;
  min-height: 52px;
  border-radius: 10px;
  border: 2px dashed #4ade80;
  overflow: hidden;
  background: #f0fdf4;
}
.scratch-box__prize {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem;
  background: linear-gradient(180deg, #f7fef9 0%, #ecfdf5 100%);
}
.scratch-box__prize-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}
.scratch-box__prize .prize-diamond {
  color: #dc2626;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.scratch-box__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, #1e8a4a 0%, #166534 100%);
}
.scratch-box__cover--full {
  display: grid;
  place-items: center;
}
.scratch-box__cover--full span {
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
/* Meio raspado fixo — igual print PandaBits (sem loop/vai-e-vem) */
.scratch-box__cover--demo {
  clip-path: polygon(
    0% 0%, 62% 0%, 68% 12%, 58% 28%, 65% 45%,
    52% 62%, 60% 78%, 48% 100%, 0% 100%
  );
}
.scratch-zones--play { display: grid; gap: 1rem; }
.scratch-box--play {
  min-height: 110px;
}
.scratch-box--play .scratch-box__canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.scratch-box--play.scratch-zone--active .scratch-box__canvas { cursor: grabbing; }
.scratch-box--play .scratch-box__prize { opacity: 1; z-index: 1; }
.scratch-box--play.scratch-zone--done .scratch-box__canvas { opacity: 0; pointer-events: none; }
.scratch-under--prize {
  background: linear-gradient(180deg, #f7fef9, #ecfdf5) !important;
  color: #0f172a !important;
  text-shadow: none !important;
}
.scratch-under--prize .prize-diamond { color: #dc2626; }
.scratch-thumb-wrap,
.scratch-demo-wrap {
  position: relative;
  border-radius: 10px;
  border: 2px dashed rgba(34, 197, 94, 0.85);
  overflow: hidden;
  min-height: 88px;
  background: #ecfdf5;
}
.scratch-thumb-wrap canvas,
.scratch-demo-wrap canvas {
  display: block;
  width: 100%;
  height: 88px;
  position: relative;
  z-index: 2;
  touch-action: none;
}
.scratch-demo-wrap canvas { height: 100px; min-height: 100px; }
.scratch-under {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  background: linear-gradient(160deg, #f0fdf4, #dcfce7);
}
.scratch-under--sm { font-size: 0.8rem; }
.prize-diamond { color: #dc2626; font-size: 0.75rem; }
.scratch-thumb-static {
  background: var(--green-dark);
  color: #fff;
  border: 2px dashed #86efac;
  border-radius: 8px;
  padding: 0.55rem;
  font-weight: 800;
  font-size: 0.72rem;
  text-align: center;
  letter-spacing: 0.04em;
}

/* Card mobile — preview com GIF em loop */
.scratch-mobile-card {
  text-align: left;
}
.scratch-mobile-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.35rem;
}
.scratch-mobile-hint {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.scratch-mobile-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.85rem;
}
.scratch-mobile-zones {
  display: grid;
  gap: 0.65rem;
}
.scratch-mobile-zone {
  border-radius: 10px;
  overflow: hidden;
  border: 2px dashed var(--green);
  min-height: 88px;
}
.scratch-demo-wrap { min-height: 100px; }
.scratch-mobile-zone--static {
  background: var(--green-dark);
  display: grid;
  place-items: center;
  min-height: 72px;
}
.scratch-mobile-zone--static span {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.panel-scratch-demo {
  width: 100%;
}
.panel-scratch-demo .scratch-card-gif--page {
  width: 100%;
  max-height: none;
}
.how-it-works {
  background: #0a0a0a;
  padding: 3rem 0 3.5rem;
}
.section-title--light { color: #fff; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.how-card {
  background: #fff;
  color: #111;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.how-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  border-radius: 12px;
}
.how-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 800; }
.how-card p { color: #64748b; line-height: 1.55; font-size: 0.92rem; }

.catalog-trust-inline {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}
.catalog-trust-inline__sep {
  margin: 0 0.45rem;
  opacity: 0.65;
}

/* Como funciona — layout largo em desktop */
.section--como-funciona {
  padding: 2.5rem 0 3.5rem;
}
.como-funciona-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #475569;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 52rem;
}
.como-funciona-grid {
  display: grid;
  gap: 1.5rem;
}
.como-funciona-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.como-funciona-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.como-funciona-steps > li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
}
.como-funciona-steps__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #4ade80, #16a34a);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.como-funciona-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.como-funciona-steps p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}
.como-funciona-aside .federal-trust {
  margin: 0;
  height: 100%;
}
.como-funciona-main {
  display: grid;
  gap: 1.5rem;
}
.como-funciona-box,
.como-funciona-tabela {
  padding: 1.25rem 1.5rem;
}
.como-funciona-box h2,
.como-funciona-tabela h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #0f172a;
}
.como-funciona-box p {
  color: #475569;
  line-height: 1.55;
  margin: 0;
}
.como-funciona-box ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}
.como-funciona-hint {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.como-funciona-tabela .admin-table {
  margin: 0;
}
.como-funciona-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
@media (min-width: 640px) {
  .como-funciona-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .como-funciona-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "steps aside"
      "main main";
    align-items: start;
  }
  .como-funciona-steps {
    grid-area: steps;
    grid-template-columns: repeat(2, 1fr);
  }
  .como-funciona-aside {
    grid-area: aside;
  }
  .como-funciona-main {
    grid-area: main;
    grid-template-columns: 1fr 1fr;
  }
  .como-funciona-tabela {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1200px) {
  .como-funciona-main {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .como-funciona-tabela {
    grid-column: auto;
  }
  .como-funciona-box:last-child {
    grid-column: 1 / -1;
  }
}

/* Loteria Federal CAIXA — confiança e links oficiais */
.federal-trust {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 55%, #f8fafc 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}
.federal-trust__badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: #14532d;
  font-size: 0.92rem;
}
.federal-trust__regra {
  margin: 0 0 0.5rem;
}
.federal-trust__data,
.federal-trust__horario {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  color: #475569;
}
.federal-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.federal-trust__btn {
  text-decoration: none;
}
.rifa-compra__promo .federal-trust {
  margin-top: 0.85rem;
  width: 100%;
  max-width: none;
  align-self: stretch;
}
.product-card__trust a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-card__trust a:hover {
  color: #166534;
}
.rifa-compra__winner {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.85rem;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #166534;
}
.rifa-compra__winner-ref {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--green-glow);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.footer-grid ul { list-style: none; }
.footer-grid li + li { margin-top: 0.4rem; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.social-links { display: flex; gap: 0.5rem; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f2937;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid transparent;
}
.alert-success {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}
.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.auth-box {
  max-width: 420px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #fff;
  font-family: inherit;
}
.form-group input:focus { outline: 2px solid var(--green); border-color: transparent; }
.auth-panel .form-group label { color: #475569; }
.auth-panel .form-group input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #111;
}
.auth-panel .alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Raspadinha page */
.scratch-page .container { padding-top: 0; }
.scratch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .scratch-layout { grid-template-columns: 1fr; }
}
.panel {
  background: var(--bg-card);
  color: #111;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.panel h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.panel p.sub { color: #64748b; margin-bottom: 1rem; font-size: 0.95rem; }

.scratch-zones {
  display: grid;
  gap: 1rem;
}
.scratch-zone {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 130px;
  border: 2px dashed rgba(34, 197, 94, 0.85);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.06), 0 4px 20px rgba(21, 128, 61, 0.15);
  background-image: var(--scratch-bg);
  background-size: cover;
  background-position: center;
}
.scratch-zone::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: var(--scratch-pct, 0%);
  background: linear-gradient(90deg, var(--green), var(--green-glow));
  transition: width 0.15s ease;
  z-index: 3;
  pointer-events: none;
}
.scratch-zone--ready canvas { cursor: grab; }
.scratch-zone--active canvas { cursor: grabbing; }
.scratch-zone canvas {
  display: block;
  width: 100%;
  height: 130px;
  touch-action: none;
  position: relative;
  z-index: 2;
}
.scratch-zone .scratch-result {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.scratch-zone .scratch-result.scratch-result--visible,
.scratch-zone--done .scratch-result {
  opacity: 1;
}
.scratch-zone .scratch-result .result-text {
  font-size: 1.05rem;
  font-weight: 700;
}
.scratch-zone .scratch-result.win { color: #0f172a; }
.scratch-zone .scratch-result.lose { color: #991b1b; }
@keyframes resultPop {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
.scratch-celebrate .scratch-zone--done {
  animation: zonePulse 0.6s ease;
}
@keyframes zonePulse {
  0%, 100% { box-shadow: inset 0 2px 12px rgba(0,0,0,0.06), 0 4px 20px rgba(21,128,61,0.15); }
  50% { box-shadow: inset 0 2px 12px rgba(0,0,0,0.06), 0 0 28px rgba(74, 222, 128, 0.55); }
}

.info-list { list-style: none; margin: 1rem 0; }
.info-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.purchase-box {
  max-width: 400px;
  margin: 2rem auto 0;
  background: #fff;
  color: #111;
  border: 2px dashed var(--green);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.purchase-box .btn {
  width: auto;
  min-width: 200px;
  max-width: 100%;
  padding: 0.75rem 2rem;
}
.purchase-box h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.purchase-box .price-big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0.5rem 0 1rem;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.qty-control input {
  width: 56px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.5rem;
}

.winners-list { display: grid; gap: 0.75rem; }
.winner-item {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.winner-item strong { color: var(--green-glow); }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* Página comprar números — estilo print PandaBits */
.rifa-compra__hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 2rem 0 2.5rem;
}
.rifa-compra__hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .rifa-compra__hero-grid { grid-template-columns: 1fr; }
}
.rifa-compra__promo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.rifa-compra__img {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 12px;
  background: #14532d center/cover no-repeat;
  margin-bottom: 1rem;
}
.rifa-compra__promo h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.rifa-compra__sub {
  color: #94a3b8;
  font-size: 0.95rem;
}
.rifa-compra__card {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.rifa-meta-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.rifa-meta-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.rifa-meta-bar__label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.rifa-compra__price-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.rifa-compra__price {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1rem;
}
.rifa-compra__info {
  list-style: none;
  margin-bottom: 1.25rem;
}
.rifa-compra__info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #334155;
}
.rifa-compra__numeros {
  background: #fff;
  color: #111;
  padding: 2rem 0 3rem;
}
.rifa-quick-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.rifa-quick-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}
.rifa-quick-btn:hover { background: #333; }
.rifa-grid {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
@media (max-width: 640px) {
  .rifa-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.rifa-modo-hint {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 0.75rem;
  text-align: center;
}
.rifa-modo-hint--limite {
  color: #0f766e;
  font-size: 0.8rem;
}
.rifa-grid[data-digitos="3"] .rifa-num,
.rifa-grid[data-digitos="4"] .rifa-num {
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}
.rifa-num {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, background 0.15s;
}
.rifa-num--free {
  background: #111;
  color: #fff;
}
.rifa-num--free:hover { transform: scale(1.05); }
.rifa-num--picked {
  background: #22c55e !important;
  color: #052e16 !important;
  box-shadow: 0 0 0 2px #86efac;
}
.rifa-num--taken {
  background: #f3f4f6;
  color: #cbd5e1;
  cursor: not-allowed;
}
.rifa-compra__footer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.rifa-resumo {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #475569;
}
.rifa-compra__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.rifa-compra__actions .btn {
  min-width: 140px;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}
.btn-comprar-final { flex: 1; max-width: 280px; }
.rifa-login-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #64748b;
}
.rifa-login-hint a { color: #15803d; font-weight: 700; }

/* Modo quantidade (+1 +5 +10 +25) */
.rifa-modo-label {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.rifa-qtd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.rifa-qtd-card {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem 0.5rem;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.rifa-qtd-card:hover { background: #333; }
.rifa-qtd-card__num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.rifa-qtd-card__lbl {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.rifa-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.rifa-counter__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #7dd3fc;
  color: #0c4a6e;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.rifa-counter__input {
  width: 72px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
  background: #fff;
  color: #111;
}
.rifa-resumo--center { text-align: center; }
.rifa-resumo__disp {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 400;
}
.btn-limpar-qtd {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}
.btn-comprar-wide {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  font-family: inherit;
}
.btn-comprar-wide--active,
.btn-comprar-wide:not(:disabled) {
  background: #9ca3af;
  color: #374151;
  cursor: pointer;
}
.btn-comprar-wide--active:hover {
  background: #3cb371;
  color: #fff;
}
.rifa-quick-btns--inline {
  justify-content: center;
  margin-bottom: 1rem;
}
.rifa-quick-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.admin-nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.admin-nav a:hover {
  color: #15803d;
  border-color: #86efac;
  background: #f0fdf4;
}
.admin-nav a.active {
  color: #fff;
  border-color: #22c55e;
  background: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.admin-nav__site { margin-left: auto; }
.admin-nav__site.active {
  color: #15803d;
  background: #fff;
  border-color: #86efac;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.admin-danger-zone {
  padding: 1.25rem 1.35rem;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fffafb;
}
.admin-danger-zone h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #991b1b;
}
.admin-form--danger {
  margin-top: 1rem;
  max-width: 520px;
}
.input-danger {
  border-color: #fca5a5 !important;
  background: #fff;
}
.confirm-phrase {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.75rem;
  background: #fef2f2;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b91c1c;
}
.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
}
.btn-danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.admin-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.admin-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
}
.admin-form select {
  width: 100%;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.admin-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.admin-form-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.admin-form-panel .form-hint,
.form-hint { font-size: 0.8rem; color: #64748b; display: block; margin-top: 0.25rem; }
.admin-help-list { margin: 1rem 0; padding-left: 1.25rem; color: #475569; line-height: 1.6; }
.admin-help-text { color: #475569; line-height: 1.55; font-size: 0.95rem; }
.admin-tip { font-size: 0.85rem; color: #64748b; margin-top: 1rem; }
.admin-tip code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 4px; }
.admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.admin-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.admin-action-btn:hover {
  transform: translateY(-1px);
}
.admin-action-btn--edit {
  color: #15803d;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.admin-action-btn--edit:hover {
  background: #dcfce7;
  border-color: #86efac;
}
.admin-action-btn--toggle.is-on {
  color: #b45309;
  border-color: #fed7aa;
  background: #fff7ed;
}
.admin-action-btn--toggle.is-on:hover {
  background: #ffedd5;
}
.admin-action-btn--toggle:not(.is-on) {
  color: #15803d;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.admin-action-btn--delete {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}
.admin-action-btn--delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}
/* Links de texto legados em outras tabelas */
.admin-actions a:not(.admin-action-btn) {
  margin-right: 0.75rem;
  color: var(--green-dark);
  font-weight: 600;
}
.admin-inline-form { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.admin-form-panel .form-group input { background: #f8fafc; border-color: #e2e8f0; color: #111; }
.admin-form-panel .btn-outline { color: #334155; border-color: #94a3b8; }
.admin-wrap.section--page {
  background: linear-gradient(to bottom, #f9fafb, #eef2f7);
  padding: 1.75rem 0 2.5rem;
}
.admin-wrap .page-panel {
  overflow-x: auto;
  background: #fff;
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  border: 1px solid #eef0f3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.admin-wrap .page-panel h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
}

/* Modal / toast SorteVerde (substitui alert do navegador) */
body.sv-modal-open { overflow: hidden; }
.sv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.sv-modal-overlay.sv-modal--open { opacity: 1; }
.sv-modal {
  width: min(400px, 100%);
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.35rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.92) translateY(8px);
  transition: transform 0.22s ease;
}
.sv-modal-overlay.sv-modal--open .sv-modal {
  transform: scale(1) translateY(0);
}
.sv-modal__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.sv-modal__logo { font-size: 1.35rem; }
.sv-modal__app {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--green-dark);
  letter-spacing: 0.03em;
}
.sv-modal__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
}
.sv-modal__icon--success { background: #dcfce7; color: #166534; }
.sv-modal__icon--error { background: #fee2e2; color: #b91c1c; }
.sv-modal__icon--warning { background: #fef3c7; color: #b45309; }
.sv-modal__icon--info { background: #e0f2fe; color: #0369a1; }
.sv-modal__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.sv-modal__message {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.sv-modal__btn { min-width: 140px; }
/* Toastr — flutuante, não empurra layout */
#sv-notify-root {
  position: fixed;
  z-index: 10050;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: min(380px, calc(100vw - 1.5rem));
}
.sv-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 2.25rem 0.85rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateX(1.25rem);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: auto;
  overflow: hidden;
  border: 1px solid transparent;
}
.sv-toast--show {
  opacity: 1;
  transform: translateX(0);
}
.sv-toast--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}
.sv-toast--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.sv-toast--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.sv-toast--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.sv-toast__ico {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
}
.sv-toast--success .sv-toast__ico { background: #dcfce7; color: #15803d; }
.sv-toast--error .sv-toast__ico { background: #fee2e2; color: #b91c1c; }
.sv-toast--warning .sv-toast__ico { background: #fef3c7; color: #b45309; }
.sv-toast--info .sv-toast__ico { background: #dbeafe; color: #2563eb; }
.sv-toast__body { flex: 1; min-width: 0; }
.sv-toast__title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.sv-toast__msg {
  margin: 0;
  font-weight: 500;
  font-size: 0.86rem;
  opacity: 0.92;
}
.sv-toast__close {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.45;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.15rem;
  cursor: pointer;
  font-family: inherit;
}
.sv-toast__close:hover { opacity: 1; }
.sv-toast__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation: sv-toast-progress linear forwards;
}
.sv-toast--success .sv-toast__progress { background: #22c55e; }
.sv-toast--error .sv-toast__progress { background: #ef4444; }
.sv-toast--warning .sv-toast__progress { background: #f59e0b; }
.sv-toast--info .sv-toast__progress { background: #3b82f6; }
@keyframes sv-toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@media (max-width: 480px) {
  #sv-notify-root {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    max-width: none;
  }
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.admin-table th {
  background: #f8fafc;
  color: var(--green-dark);
  font-weight: 700;
}
.admin-table tbody tr:hover { background: #f8fafc; }

/* Badges e tabela — admin (depósitos, etc.) */
.admin-wrap .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}
.admin-wrap .status-badge--pending {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.admin-wrap .status-badge--approved {
  background: #ecfdf5;
  color: #15803d;
  border-color: #bbf7d0;
}
.admin-wrap .status-badge--rejected {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.admin-wrap .status-badge--info {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.admin-wrap .status-badge--manual {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}
.admin-wrap .status-badge--muted {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
  text-transform: none;
  font-weight: 600;
}
.admin-wrap .status-badge--doc {
  background: #f0fdf4;
  color: #166534;
  border-color: #86efac;
  text-transform: none;
}
.admin-wrap .status-badge--doc:hover {
  background: #dcfce7;
  color: #14532d;
}
.admin-depositos-panel__notice {
  margin-bottom: 1rem !important;
}
.admin-depositos-panel__count {
  margin: 0 0 1rem;
}
.admin-table--depositos .admin-table__code {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}
.admin-table--depositos .admin-table__user strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}
.admin-table--depositos .admin-table__sub {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.admin-table--depositos .admin-table__valor {
  color: #15803d;
  font-size: 0.95rem;
}
.admin-table--depositos .admin-table__data {
  font-size: 0.85rem;
  color: #334155;
  white-space: nowrap;
}
.admin-table--depositos .admin-table__hora {
  font-size: 0.75rem;
  color: #94a3b8;
}
.admin-table__row--highlight {
  background: #fffbeb;
}
.admin-table__row--highlight:hover {
  background: #fef3c7 !important;
}
.admin-actions--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.admin-pill--confirm {
  background: #22c55e;
  color: #fff;
  border: 1px solid #16a34a;
}
.admin-pill--confirm:hover {
  background: #16a34a;
  color: #fff;
}
.admin-pill--cancel {
  background: #fff;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.admin-pill--cancel:hover {
  background: #fef2f2;
  border-color: #f87171;
}
.admin-actions--pills .admin-pill {
  margin-right: 0;
}
.admin-wrap .admin-actions--pills a:not(.admin-pill) {
  margin-right: 0;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}
.admin-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.admin-stat h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #16a34a;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.admin-stat p {
  margin: 0;
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.admin-margem {
  border-left: 4px solid #22c55e;
  padding-left: 1.25rem;
}
.admin-margem--negativa {
  border-left-color: #f59e0b;
}
.admin-margem--negativa .admin-margem__valor {
  color: #d97706;
}
.admin-margem__valor {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.2;
}
.admin-margem__hint {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}
.admin-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.admin-wrap .btn-admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.admin-wrap .btn-admin-pill.btn-green {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.admin-wrap .btn-admin-pill.btn-green:hover {
  background: #16a34a;
  color: #fff;
}
.admin-wrap .btn-admin-pill--outline {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.admin-wrap .btn-admin-pill--outline:hover {
  border-color: #86efac;
  color: #15803d;
  background: #f0fdf4;
}

.pix-config-modos {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.pix-config-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.pix-config-radio input {
  margin-top: 0.25rem;
  accent-color: #22c55e;
}
.pix-config-radio__box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  flex: 1;
}
.pix-config-radio__box strong {
  color: #111827;
  font-size: 0.9rem;
}
.pix-config-radio__box small {
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.35;
}
.pix-config-radio:has(input:checked) .pix-config-radio__box {
  border-color: #86efac;
  background: #f0fdf4;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}
.pix-config-gateway {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
}
.pix-config-gateway.is-open {
  display: block;
}
.pix-config-gateway__fields {
  margin-top: 1rem;
}
.pix-config-ativo {
  font-weight: 600;
  color: #374151;
}
.pix-gateway-providers {
  margin-top: 0.5rem;
}
.pix-gateway-provider {
  padding: 1rem 0 0.25rem;
  border-top: 1px solid #e5e7eb;
}
.pix-gateway-provider.is-active {
  animation: pixProviderIn 0.2s ease;
}
@keyframes pixProviderIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.pix-gateway-provider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.pix-gateway-provider__head strong {
  font-size: 0.95rem;
  color: #111827;
}
.pix-gateway-provider__doc {
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
}
.pix-gateway-provider__help {
  margin-bottom: 0.85rem;
}
.pix-gateway-provider__webhook {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
}
.pix-gateway-provider__empty {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: #6b7280;
  font-style: italic;
}

.extrato-credito { color: var(--green-dark); font-weight: 700; }
.extrato-debito { color: #b91c1c; font-weight: 700; }

/* Tabelas do usuário — células em uma linha + scroll horizontal no mobile */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table-nowrap,
.data-table-nowrap th,
.data-table-nowrap td {
  white-space: nowrap;
}
.extrato-table {
  width: 100%;
  min-width: 36rem;
}
.extrato-table small {
  display: inline;
  font-size: inherit;
  color: inherit;
}
.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.wallet-panel .pix-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  text-align: left;
}
.pix-chave {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border-radius: 6px;
  font-weight: 700;
  color: var(--green-dark);
}

/* ========== Sacar — grid central (faixas iguais esq/dir) ========== */
.wallet-page-grid {
  display: grid;
  grid-template-columns: 1fr min(600px, calc(100% - 2rem)) 1fr;
  width: 100%;
  box-sizing: border-box;
}
.wallet-page-grid__col,
.wallet-sacar-top__hero-inner,
.wallet-depositar-top__hero-inner {
  grid-column: 2;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ========== Sacar / Depositar — topo (ícone à esquerda do texto) ========== */
.wallet-sacar-top,
.wallet-depositar-top {
  width: 100%;
  background: radial-gradient(ellipse 120% 90% at 50% 20%, #1a6b3c 0%, #0f4d2e 35%, #082818 70%, #04150c 100%);
}
.wallet-sacar-top__alert,
.wallet-depositar-top__alert {
  padding: 0.7rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #bbf7d0;
  border-bottom: 1px solid rgba(74, 222, 128, 0.35);
  background: #14532d;
}
.wallet-sacar-top__alert-inner,
.wallet-depositar-top__alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.wallet-sacar-top__alert-ico,
.wallet-depositar-top__alert-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #4ade80;
}
.wallet-sacar-top__hero,
.wallet-depositar-top__hero {
  padding: 1.35rem 0 1.5rem;
}
.wallet-sacar-top__hero-inner,
.wallet-depositar-top__hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
}
.wallet-sacar-top__icon,
.wallet-depositar-top__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  margin: 0;
  color: #4ade80;
}
.wallet-sacar-top__copy,
.wallet-depositar-top__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.wallet-sacar-top__title,
.wallet-depositar-top__title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
.wallet-sacar-top__accent,
.wallet-depositar-top__accent {
  color: #4ade80;
}
.wallet-sacar-top__subtitle,
.wallet-depositar-top__subtitle {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(0.78rem, 2.2vw, 0.875rem);
  font-weight: 400;
  line-height: 1.3;
}

.section--wallet-sacar,
.section--wallet-depositar {
  background: #eef1f4;
  padding: 0.85rem 0 2.75rem;
  margin-top: 0;
}
.section--wallet-sacar.section--page,
.section--wallet-depositar.section--page {
  background: #eef1f4;
}
.container--wallet {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
.section--wallet-sacar .wallet-card,
.section--wallet-depositar .wallet-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.65rem 1.65rem;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid #e8ecf0;
  margin-bottom: 0.85rem;
}
.section--wallet-sacar .wallet-card__title,
.section--wallet-depositar .wallet-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.9rem;
}
.section--wallet-sacar .wallet-form-error,
.section--wallet-depositar .wallet-form-error {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}
.section--wallet-sacar .wallet-saldo-line,
.section--wallet-depositar .wallet-saldo-line {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.section--wallet-sacar .wallet-saldo-label,
.section--wallet-depositar .wallet-saldo-label {
  font-weight: 800;
  color: #111827;
}
.section--wallet-sacar .wallet-saldo-value,
.section--wallet-depositar .wallet-saldo-value {
  font-weight: 800;
  color: #22c55e;
}
.section--wallet-sacar .wallet-limits,
.section--wallet-depositar .wallet-limits {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.45;
}
.section--wallet-sacar .wallet-field,
.section--wallet-depositar .wallet-field {
  margin-bottom: 1.05rem;
}
.section--wallet-sacar .wallet-field label,
.section--wallet-depositar .wallet-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
}
.section--wallet-sacar .wallet-input,
.section--wallet-depositar .wallet-input,
.section--wallet-sacar .wallet-select,
.section--wallet-depositar .wallet-select,
.section--wallet-sacar .field-money__input,
.section--wallet-depositar .field-money__input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}
.section--wallet-sacar .wallet-input::placeholder,
.section--wallet-depositar .wallet-input::placeholder,
.section--wallet-sacar .field-money__input::placeholder,
.section--wallet-depositar .field-money__input::placeholder {
  color: #9ca3af;
}
.section--wallet-sacar .wallet-select,
.section--wallet-depositar .wallet-select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}
.section--wallet-sacar .wallet-input:focus,
.section--wallet-depositar .wallet-input:focus,
.section--wallet-sacar .wallet-select:focus,
.section--wallet-depositar .wallet-select:focus,
.section--wallet-sacar .field-money:focus-within,
.section--wallet-depositar .field-money:focus-within {
  outline: none;
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.section--wallet-sacar .field-money,
.section--wallet-depositar .field-money {
  display: flex;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.section--wallet-sacar .field-money:focus-within,
.section--wallet-depositar .field-money:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.section--wallet-sacar .field-money__input,
.section--wallet-depositar .field-money__input {
  border: 0;
  border-radius: 0;
  flex: 1;
  box-shadow: none;
  min-width: 0;
}
.section--wallet-sacar .field-money__input:focus,
.section--wallet-depositar .field-money__input:focus {
  box-shadow: none;
  border-color: transparent;
}
.section--wallet-sacar .field-money__suffix,
.section--wallet-depositar .field-money__suffix {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  background: #fff;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  border-left: 1px solid #f3f4f6;
}
.section--wallet-sacar .btn-sacar-submit__ico,
.section--wallet-depositar .btn-sacar-submit__ico {
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--wallet-sacar .wallet-empty,
.section--wallet-depositar .wallet-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 0.86rem;
  padding: 1rem 0;
}
.section--wallet-sacar .wallet-card--history,
.section--wallet-depositar .wallet-card--history {
  padding: 1.25rem 1.65rem 1.5rem;
}
.section--wallet-sacar .wallet-table-wrap,
.section--wallet-depositar .wallet-table-wrap {
  overflow-x: auto;
  margin: 0 -0.15rem;
}
.section--wallet-sacar .wallet-table,
.section--wallet-depositar .wallet-table {
  width: 100%;
  min-width: 22rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.section--wallet-sacar .wallet-table th,
.section--wallet-depositar .wallet-table th,
.section--wallet-sacar .wallet-table td,
.section--wallet-depositar .wallet-table td {
  white-space: nowrap;
}
.section--wallet-sacar .wallet-table thead tr,
.section--wallet-depositar .wallet-table thead tr {
  background: #f3f4f6;
}
.section--wallet-sacar .wallet-table th,
.section--wallet-depositar .wallet-table th {
  text-align: left;
  font-weight: 700;
  color: #16a34a;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  border: 0;
}
.section--wallet-sacar .wallet-table td,
.section--wallet-depositar .wallet-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  vertical-align: middle;
  background: #fff;
}
.section--wallet-sacar .wallet-table tbody tr:last-child td,
.section--wallet-depositar .wallet-table tbody tr:last-child td {
  border-bottom: 0;
}
.section--wallet-sacar .wallet-table__valor,
.section--wallet-depositar .wallet-table__valor {
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}
.section--wallet-sacar .wallet-table__data,
.section--wallet-depositar .wallet-table__data {
  color: #6b7280;
  font-size: 0.8rem;
  white-space: nowrap;
}
.section--wallet-sacar .status-badge,
.section--wallet-depositar .status-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border: 0;
  white-space: nowrap;
}
.section--wallet-sacar .status-badge--pending,
.section--wallet-depositar .status-badge--pending {
  background: #fff4e5;
  color: #d97706;
}
.section--wallet-sacar .status-badge--approved,
.section--wallet-depositar .status-badge--approved {
  background: #ecfdf5;
  color: #15803d;
}
.section--wallet-sacar .status-badge--rejected,
.section--wallet-depositar .status-badge--rejected {
  background: #fef2f2;
  color: #dc2626;
}
.section--wallet-sacar .status-badge__icon,
.section--wallet-depositar .status-badge__icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 2;
}
.section--wallet-sacar .btn-wallet-submit,
.section--wallet-depositar .btn-wallet-submit,
.section--wallet-sacar .btn-sacar-submit,
.section--wallet-depositar .btn-sacar-submit {
  margin-top: 0.15rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  background: #22c55e;
  border: none;
  width: 100%;
  color: #fff;
}
.section--wallet-sacar .btn-wallet-submit:hover,
.section--wallet-depositar .btn-wallet-submit:hover,
.section--wallet-sacar .btn-sacar-submit:hover,
.section--wallet-depositar .btn-sacar-submit:hover {
  background: #16a34a;
  color: #fff;
}
.section--wallet-sacar .wallet-notice,
.section--wallet-depositar .wallet-notice {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  line-height: 1.4;
}
.section--wallet-sacar .wallet-notice--warn,
.section--wallet-depositar .wallet-notice--warn {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.section--wallet-sacar .wallet-notice--success,
.section--wallet-depositar .wallet-notice--success {
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}
.section--wallet-sacar .wallet-pix-line,
.section--wallet-depositar .wallet-pix-line {
  margin: 0 0 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}
.section--wallet-sacar .wallet-pix-box,
.section--wallet-depositar .wallet-pix-box {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}
.section--wallet-sacar .wallet-pix-chave,
.section--wallet-depositar .wallet-pix-chave {
  font-size: 0.85rem;
  background: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

/* Pix checkout (depósito) */
.pix-checkout-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #f3f4f6;
}
.pix-checkout-summary__label {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}
.pix-checkout-summary__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #16a34a;
}
.pix-checkout-summary__code {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  word-break: break-all;
}
.pix-checkout__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.45;
}
.pix-checkout__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .pix-checkout__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
.pix-checkout__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.pix-checkout__qr {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 8px;
}
.pix-checkout__qr-hint {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}
.pix-checkout__copy-block {
  width: 100%;
  min-width: 0;
}
.pix-checkout__copy-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.4rem;
}
.pix-checkout__code {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.4;
  font-family: ui-monospace, Consolas, monospace;
  color: #111827;
  background: #f9fafb;
  resize: vertical;
  min-height: 88px;
}
.pix-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.pix-copy-btn:hover {
  background: #16a34a;
}
.pix-copy-btn--done {
  background: #15803d;
}
.pix-checkout__meta {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}
.pix-checkout__meta p {
  margin: 0 0 0.35rem;
}
.pix-checkout__meta p:last-child {
  margin-bottom: 0;
}

.comprovante-upload {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
}
.comprovante-upload__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.comprovante-upload__hint {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}
.comprovante-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}
.comprovante-file__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.comprovante-file__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.comprovante-file__btn:hover {
  border-color: #22c55e;
  color: #15803d;
}
.comprovante-file__name {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
  word-break: break-all;
}
.comprovante-file__name--ok {
  color: #0f172a;
  font-weight: 600;
}
/* Painel de feedback — envio de comprovante */
.comprovante-feedback {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.comprovante-feedback__loading {
  padding: 1.25rem 1.2rem 1.15rem;
  text-align: center;
}
.comprovante-feedback__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  border: 3px solid #e2e8f0;
  border-top-color: #22c55e;
  border-radius: 50%;
  animation: comprovante-spin 0.85s linear infinite;
}
@keyframes comprovante-spin {
  to { transform: rotate(360deg); }
}
.comprovante-feedback__loading-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.comprovante-feedback__loading-text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
  min-height: 2.6em;
  transition: opacity 0.25s ease;
}
.comprovante-feedback__steps {
  list-style: none;
  margin: 0 auto 0.75rem;
  padding: 0;
  max-width: 320px;
  text-align: left;
}
.comprovante-feedback__steps li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.65rem;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.35;
}
.comprovante-feedback__steps li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.comprovante-feedback__steps li.is-active {
  color: #0f172a;
  font-weight: 600;
}
.comprovante-feedback__steps li.is-active::before {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.comprovante-feedback__steps li.is-done {
  color: #15803d;
}
.comprovante-feedback__steps li.is-done::before {
  content: '✓';
  width: auto;
  height: auto;
  background: none;
  color: #22c55e;
  font-size: 0.7rem;
  font-weight: 700;
  left: 0.15rem;
  top: 0.45rem;
}
.comprovante-feedback__loading-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}
.comprovante-feedback__result {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
}
.comprovante-feedback__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.comprovante-feedback--success .comprovante-feedback__icon {
  background: #dcfce7;
  color: #15803d;
}
.comprovante-feedback--error .comprovante-feedback__icon {
  background: #fee2e2;
  color: #b91c1c;
}
.comprovante-feedback--warning .comprovante-feedback__icon {
  background: #fef3c7;
  color: #b45309;
}
.comprovante-feedback--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.comprovante-feedback--error {
  border-color: #fecaca;
  background: #fef2f2;
}
.comprovante-feedback--warning {
  border-color: #fde68a;
  background: #fffbeb;
}
.comprovante-feedback__body {
  flex: 1;
  min-width: 0;
}
.comprovante-feedback__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.comprovante-feedback__msg {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #475569;
}
.comprovante-feedback--success .comprovante-feedback__msg { color: #166534; }
.comprovante-feedback--error .comprovante-feedback__msg { color: #991b1b; }
.comprovante-feedback__list {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #7f1d1d;
}
.comprovante-feedback__list li {
  margin-bottom: 0.25rem;
}
.comprovante-upload__view-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: #15803d;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.comprovante-upload__view-link:hover {
  color: #166534;
}

.section--wallet-depositar .btn-comprovante-submit {
  margin-top: 0.25rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.section--wallet-depositar .wallet-card__footer-nav {
  margin: 1rem 0 0;
  text-align: center;
}
.section--wallet-depositar .wallet-card__footer-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section--wallet-depositar .wallet-card__footer-link:hover {
  color: #15803d;
}

.ocr-diag-box,
.ocr-test-box {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.ocr-diag-box__title {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}
.ocr-diag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}
.ocr-diag-list li {
  padding: 0.25rem 0 0.25rem 1.1rem;
  position: relative;
  color: #475569;
}
.ocr-diag-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #94a3b8;
}
.ocr-diag-list li.ok { color: #15803d; }
.ocr-diag-list li.ok::before { content: '✓'; color: #22c55e; font-weight: 700; }
.ocr-diag-list li.fail { color: #b91c1c; }
.ocr-diag-list li.fail::before { content: '✕'; color: #ef4444; }
.ocr-diag-list li.warn { color: #b45309; }
.ocr-diag-list li.warn::before { content: '!'; color: #f59e0b; font-weight: 700; }
.ocr-test-result {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  max-height: 200px;
  overflow: auto;
  font-size: 0.78rem;
  line-height: 1.4;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}
