/*
 * Material Icons (regular + round), vendored from the material_icons gem
 * (v4.0.0). The gem shipped these as Sprockets .css.erb templates, which
 * Propshaft can't process; the relative font url()s below are rewritten
 * to digested asset paths by Propshaft's CssAssetUrls compiler.
 * CSS based on https://github.com/google/material-design-icons
 */

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url("/assets/material-icons-regular-b5822d5f.woff2") format('woff2'),
       url("/assets/material-icons-regular-510fe4c9.woff") format('woff');
}

@font-face {
  font-family: 'Material Icons Round';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons Round'),
       local('MaterialIconsRound-Regular'),
       url("/assets/material-icons-round-0f8e45ae.woff2") format('woff2'),
       url("/assets/material-icons-round-c4fa8040.woff") format('woff');
}

/* Below Tailwind's utilities in the cascade, like every other app sheet (vite.config.ts does this for the build). */
@layer vendor, theme, base, components, utilities;
@layer components {
  .material-icons,
  .mi {
    font-family: 'Material Icons';
    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;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
  }

  .material-icons.round,
  .mi.round {
    font-family: 'Material Icons Round';
  }
}
