/* ================================
   FONT SYSTEM
   ================================ */
:root {
    /* Base font family for entire app */
    --base-font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;

    /* Base font size for UI elements */
    --base-font-size: 18px;

    /* Other font sizes for consistency */
    --panel-title-font-size: 16px;
    --panel-subtitle-font-size: 18px;
    --unit-level-font-size: 30px;
    --footer-text-font-size: 14px;
    --tile-info-font-size: 12px;
    --small-text-font-size: 10px;
}

/* Apply base font family to entire app */
body {
    font-family: var(--base-font-family) !important;
}

/* Ensure all elements inherit the base font */
* {
    font-family: inherit;
}

/* Apply base font size to header and all popup text elements */
header .day-display,
header .time-display,
header .moves-display,
header .auto-turn-label,
header nav button div,
header .next-day-btn,
header .action-btn,
#intro-popup,
#intro-popup p,
#unitSpawnIndicator,
#game-over-popup,
#victory-popup,
.game-popup {
    font-size: var(--base-font-size) !important;
}
