/* Fuentes compartidas por el Admin y la PWA (SIL OFL), alojadas localmente para funcionar sin conexión.
   Lato es la fuente de la aplicación; Fraunces se usa solo en el nombre SCEV (clases scev-login-title y scev-brand). */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Lato-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Lato-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Lato-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/Fraunces-Variable.woff2') format('woff2');
}

/* Sobrescribe la familia tipográfica de MudBlazor */
:root {
    --mud-typography-default-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h1-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h2-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h3-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h4-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h5-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-h6-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-subtitle1-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-subtitle2-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-body1-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-body2-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-button-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-caption-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
    --mud-typography-overline-family: 'Lato', 'Helvetica Neue', Arial, sans-serif !important;
}

html, body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}
