/* Kanit Font - Offline */
@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/Kanit-Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/Kanit-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/Kanit-Medium.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/Kanit-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/Kanit-Bold.ttf') format('truetype');
    font-display: swap;
}

/* Override Tailwind's default font-sans with Kanit */
.font-sans {
    font-family: 'Kanit', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
}

/* Ensure body uses Kanit by default */
body {
    font-family: 'Kanit', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Font size increases by 2px */
.font-plus-2px { font-size: calc(1rem + 2px); }
.font-plus-2px-sm { font-size: calc(0.875rem + 2px); }
.font-plus-2px-xs { font-size: calc(0.75rem + 2px); }
.swal-button-font { font-size: calc(0.875rem + 2px) !important; }