/* นำเข้าฟอนต์ Noto Sans Thai Looped (แบบมีหัว อ่านง่าย) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai+Looped:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Noto Sans Thai Looped', 'Leelawadee UI', Tahoma, sans-serif;
    font-size: 1.125rem;      /* ข้อความที่ไม่ได้กำหนดขนาด: 16 -> 18px */
    line-height: 1.75rem;
}

/* ขยายขนาดตัวอักษรของ Tailwind ขึ้น 1 ระดับทั้งเว็บ (เช่น text-xs 12 -> 14px)
   ใช้ "html body" เพิ่ม specificity เพราะ Tailwind CDN ใส่ style ของมันทีหลังไฟล์นี้ */
html body .text-xs   { font-size: 0.875rem; line-height: 1.25rem; }  /* 12 -> 14 */
html body .text-sm   { font-size: 1rem;     line-height: 1.5rem; }   /* 14 -> 16 */
html body .text-base { font-size: 1.125rem; line-height: 1.75rem; }  /* 16 -> 18 */
html body .text-lg   { font-size: 1.25rem;  line-height: 1.75rem; }  /* 18 -> 20 */
html body .text-xl   { font-size: 1.5rem;   line-height: 2rem; }     /* 20 -> 24 */
html body .text-2xl  { font-size: 1.875rem; line-height: 2.25rem; }  /* 24 -> 30 */
html body .text-3xl  { font-size: 2.25rem;  line-height: 2.5rem; }   /* 30 -> 36 */
html body .text-4xl  { font-size: 3rem;     line-height: 1; }        /* 36 -> 48 */

/* หลังบ้านกลาง pbadmin (body.console): ผู้ใช้ขอให้เล็กลง 1 ระดับ = กลับเป็นขนาดมาตรฐานของ Tailwind (2026-10-11)
   หน้าสมาชิก/เจ้าหน้าที่สหกรณ์ยังใช้ขนาดที่ขยายด้านบน */
html body.console { font-size: 1rem; line-height: 1.5rem; }
html body.console .text-xs   { font-size: 0.75rem;  line-height: 1rem; }
html body.console .text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
html body.console .text-base { font-size: 1rem;     line-height: 1.5rem; }
html body.console .text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
html body.console .text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
html body.console .text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
html body.console .text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
html body.console .text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }

/* คุณสามารถเขียน CSS แบบกำหนดเอง (Custom) เพิ่มเติมได้ที่นี่ในอนาคต */
