/* ============================================================
   Hub Core 2 — overrides locales
   Tailwind y Flowbite cargan vía CDN en el layout.
   Aquí van solo ajustes finos y utilidades que Tailwind no cubre.
   ============================================================ */

:root {
  --hub-bg:        #0b1220;
  --hub-surface:   #0f172a;
  --hub-surface-2: #1e293b;
  --hub-border:    #1e293b;
  --hub-text:      #e2e8f0;
  --hub-muted:     #94a3b8;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar         { width: 10px; height: 10px; }
::-webkit-scrollbar-track   { background: #0b1220; }
::-webkit-scrollbar-thumb   { background: #334155; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #e2e8f0;
  -webkit-box-shadow: 0 0 0 1000px #1e293b inset;
  caret-color: #e2e8f0;
}

[x-cloak] { display: none !important; }

.btn-primary {
  @apply inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg
         bg-brand-600 hover:bg-brand-700 text-white font-medium transition;
}
.btn-secondary {
  @apply inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg
         bg-slate-800 hover:bg-slate-700 text-slate-200 transition;
}
.btn-danger {
  @apply inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg
         bg-rose-600 hover:bg-rose-700 text-white transition;
}

@media print {
  aside, header, footer, .no-print { display: none !important; }
  main { margin: 0 !important; padding: 0 !important; }
}
