/* ============================================
   MATERIAL SYMBOLS ROUNDED - LOCAL + FALLBACK
   ============================================

   Cette feuille de style charge les icônes Material Symbols
   en LOCAL pour éviter les problèmes de cache mobile.
   Fallback vers Google Fonts si le fichier local n'existe pas.
*/

/* Police principale - LOCAL (prioritaire) */
@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url('../fonts/material-symbols-rounded.woff2') format('woff2'),
         url('https://fonts.gstatic.com/s/materialsymbolsrounded/v313/sykg-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190Fjzag.woff2') format('woff2');
}

/* Classe pour les icônes */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded', 'Material Symbols Rounded Fallback', 'Material Icons', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    /* Variables pour personnalisation */
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Style rempli (filled) */
.material-symbols-rounded.filled {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Icônes dans les boutons - taille adaptée */
.btn .material-symbols-rounded,
button .material-symbols-rounded {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Icônes seules dans les boutons */
.btn-icon .material-symbols-rounded {
    margin-right: 0;
}
