/* ==========================================================================
   GLOBAL FONT — Single source of truth for the entire dlrplatform
   เปลี่ยนฟอนต์ทั้งระบบ: แก้ไขแค่ไฟล์นี้ไฟล์เดียว
   --------------------------------------------------------------------------
   ขั้นตอนการเปลี่ยนฟอนต์:
   1) เปลี่ยน URL ของ Google Fonts ในบรรทัด @import ด้านล่าง
   2) เปลี่ยนชื่อฟอนต์ในตัวแปร --app-font ใน :root
   ตัวอย่างฟอนต์ไทย Google Fonts ที่แนะนำ:
      Prompt, Kanit, Sarabun, Mitr, Noto Sans Thai, IBM Plex Sans Thai Looped
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --app-font: 'Prompt', 'Segoe UI', system-ui, sans-serif;
}

/* บังคับใช้ฟอนต์เดียวกันทั้งระบบ — ครอบคลุม Bootstrap, Tailwind และ inline styles */
html, body,
button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6,
.btn, .form-control, .form-label, .form-select,
.nav-link, .navbar, .card, .modal, .alert,
.logo, .logo span, .footer-brand, .footer-title,
.mobile-nav-item, .mobile-menu-drawer, .sidebar {
    font-family: var(--app-font) !important;
    letter-spacing: -0.005em;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}
