/* =============================================
   Plataforma AP — Reset y base
   ============================================= */

   
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Screens */
.screen { display: none; }
.screen.active { display: block; }

/* Hero */
.hero {
  background: var(--bp);
  color: white;
  padding: 2.5rem var(--space-lg) 3rem;
  text-align: center;
  display: none;
}
.hero-badge {
  display: inline-block;
  background: var(--bt);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: .875rem;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  margin-bottom: .625rem;
  line-height: 1.25;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero p { font-size: 14px; opacity: .9; max-width: 480px; margin: 0 auto; }

/* Sección */
.section { padding: var(--space-lg); max-width: 960px; margin: 0 auto; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--success);
  color: white;
  padding: 12px 18px;
  border-radius: var(--r);
  font-size: 13px;
  display: none;
  z-index: 9999;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  font-weight: 500;
}

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-sec); }
.empty-state i { font-size: 40px; display: block; margin-bottom: .875rem; color: var(--icon-muted); }

/* Badges */
.badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.badge-amber { background: var(--warning-light); color: var(--warning); }
.badge-gray  { background: var(--gray-light);    color: var(--text-sec); }

/* Animaciones */
@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}