/* ============================================================================
   ANX PUBLIC — polish de marca para el resto de páginas públicas del wrapper.php
   que NO son la home ni /precios (404, afiliados, api-documentation, páginas de
   contenido, estadísticas públicas). Ya son oscuras (tema Altum) y llevan el
   nav+footer de marca; esto les da la tipografía (Post Grotesk) y el look de
   tarjetas/botones/acento de la home. Scopeado bajo body.anx-public.
   ============================================================================ */

/* Post Grotesk self-hosted (mismos woff2 que anx-landing.css) */
@font-face { font-family: 'Post Grotesk'; src: url('../fonts/post-grotesk/PostGrotesk-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Post Grotesk'; src: url('../fonts/post-grotesk/PostGrotesk-Book.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Post Grotesk'; src: url('../fonts/post-grotesk/PostGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Post Grotesk'; src: url('../fonts/post-grotesk/PostGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

body.anx-public {
  --anx-panel: #131416;
  --anx-card: #303042;
  --anx-blue: #1256d3;
  --anx-white: #f7f7f2;
  --anx-green: #1ce683;
  --anx-muted: #d9d9d9;
  --anx-public-font: "Post Grotesk", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  background: var(--anx-panel) !important;
  color: var(--anx-white);
  font-family: var(--anx-public-font);
}

body.anx-public main { padding-top: 8px; }

/* Títulos */
body.anx-public h1, body.anx-public .h1,
body.anx-public h2, body.anx-public .h2,
body.anx-public h3, body.anx-public .h3 { color: var(--anx-white); }
body.anx-public .h1.font-weight-700 { font-weight: 600; letter-spacing: -.01em; }

/* Tarjetas (marca) */
body.anx-public .card {
  background: var(--anx-card);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  color: var(--anx-white);
}
body.anx-public .card-body { color: var(--anx-white); }
body.anx-public .text-muted { color: var(--anx-muted) !important; }
body.anx-public .index-icon-container i,
body.anx-public .text-primary { color: var(--anx-green) !important; }

/* Botones */
body.anx-public .btn-primary {
  background: var(--anx-blue);
  border: 0;
  border-radius: 100px;
  padding: 11px 22px;
  font-weight: 500;
  color: #fff;
  transition: filter .15s ease;
}
body.anx-public .btn-primary:hover { filter: brightness(1.08); background: var(--anx-blue); color: #fff; }
body.anx-public .btn-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  color: var(--anx-white);
  padding: 11px 22px;
  font-weight: 500;
}
body.anx-public .btn-light:hover { background: rgba(255, 255, 255, .06); color: var(--anx-white); }

/* Enlaces */
body.anx-public a:not(.btn):not(.nav-link):not(.navbar-brand) { color: var(--anx-blue); }
body.anx-public a:not(.btn):not(.nav-link):not(.navbar-brand):hover { color: #4a83ec; }

/* Campos (afiliados/contacto pueden tener inputs) */
body.anx-public .form-control {
  background: #26263a;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: var(--anx-white);
}
body.anx-public .form-control:focus {
  background: #26263a; color: var(--anx-white);
  border-color: var(--anx-blue); box-shadow: 0 0 0 3px rgba(18, 86, 211, .25);
}

/* Tablas (api-documentation) legibles en oscuro */
body.anx-public table, body.anx-public .table { color: var(--anx-muted); }
body.anx-public .table td, body.anx-public .table th { border-color: rgba(255, 255, 255, .1); }
body.anx-public code, body.anx-public pre {
  background: rgba(255, 255, 255, .06);
  color: var(--anx-green);
  border-radius: 6px;
}

/* Alerts */
body.anx-public .alert { border: 0; border-radius: 12px; }
body.anx-public .alert-info { background: rgba(18, 86, 211, .14); color: #7ea6ff; }
