/*!
 * Poppins - fuentes locales
 * Debe cargarse DESPUÉS de argon-dashboard.css para sobrescribir "Open Sans".
 */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Variable de Bootstrap/Argon: cubre body, tablas, botones, formularios, etc. */
:root {
  --bs-font-sans-serif: "Poppins", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
}

/* Reglas de Argon que traen "Open Sans" escrito directamente */
body,
.card .card-body {
  font-family: var(--bs-font-sans-serif);
}

.text-sans-serif {
  font-family: var(--bs-font-sans-serif) !important;
}

/* Librerías externas que fijan su propia tipografía */
.bootstrap-table,
.fixed-table-container,
.swal2-container,
.swal2-popup {
  font-family: var(--bs-font-sans-serif);
}
