/* ==========================================================================
   Thai Font — Noto Sans Thai Looped
   --------------------------------------------------------------------------
   นิยามฟอนต์กลางของระบบ ใช้ร่วมกันทุก template เพื่อให้ทุกหน้าแสดงผลตรงกัน

   ใช้ที่:
     - app/views/template/header.php       (โหมดปกติ + โหมด embed)
     - app/views/template/auth-header.php  (login / register / forgot / reset password)

   ต้องโหลด "หลัง" theme.min.css และ user.min.css เสมอ เพื่อให้ลำดับความสำคัญชนะ
   และต้องมี <link> ของ Google Fonts (Noto Sans Thai Looped) ในหน้านั้นด้วย

   หมายเหตุ: Open Sans และ Poppins ที่มากับธีมไม่มีอักขระภาษาไทย
   หากไม่บังคับ font-family ตรงนี้ ข้อความไทยจะตกไปใช้ฟอนต์ของระบบปฏิบัติการ
   ทำให้ผู้ใช้แต่ละเครื่องเห็นไม่เหมือนกัน
   ========================================================================== */

body,
.navbar,
.card,
.btn,
.form-control,
.form-label,
.form-select,
.table,
.dropdown-menu,
.alert,
.badge,
h1, h2, h3, h4, h5, h6,
p, span, div, a, label, input, select, textarea {
  font-family: 'Noto Sans Thai Looped', 'Noto Sans', sans-serif !important;
}

/* คงฟอนต์ monospace ไว้สำหรับโค้ด */
code, pre {
  font-family: monospace !important;
}
