/*
 * ============================================================
 * RECUR DESIGN SYSTEM — Font Stylesheet
 * ============================================================
 *
 * Centralized font imports for all Recur microservices.
 * Link this file to adopt the standard Recur typography.
 *
 *   <link rel="stylesheet" href="{{CORE_URL}}/static/recur-fonts.css">
 *
 * Includes:
 *   - Roboto (primary / body)
 *   - Roboto Slab (secondary / headings)
 *   - Material Symbols Outlined & Rounded (icon fonts)
 *
 * To change fonts across the entire platform, update the
 * @import URLs below and publish. Every app that links to
 * this file will pick up the change on next page load.
 *
 * Last updated: March 2026
 * ============================================================
 */

/* --- Text Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Roboto+Slab:wght@300;400;500;600;700&display=swap');

/* --- Icon Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* --- Font Family Custom Properties --- */
:root {
  --recur-font-primary:   'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --recur-font-secondary: 'Roboto Slab', 'Roboto', Georgia, serif;
}

/* --- Base Typography Rules --- */
body {
  font-family: var(--recur-font-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--recur-font-secondary);
}

/* --- Icon Font Helpers --- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  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;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: normal !important;
  font-style: normal !important;
  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;
}
