/* ==========================================================================
   CONFIGURAÇÕES GLOBAIS E FONTES
   ========================================================================== */
@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block; /* Alterado de swap para block para evitar o flash visual */
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block; /* Alterado de swap para block para evitar o flash visual */
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Garante o uso da fonte Raleway em todo o ecossistema (incluindo MudBlazor e Identity) */
html, body, input, select, textarea, button, .form-control, .btn, h1, h2, h3, .mud-typography {
    font-family: 'Raleway', sans-serif !important;
}

h1, h2, h3,
.mud-typography-h1, .mud-typography-h2, .mud-typography-h3,
.mud-typography-h4, .mud-typography-h5, .mud-typography-h6 {
    font-weight: 550 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}
