/* ===== โหลดฟอนต์ ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600&family=Sarabun:wght@300;400;500;600&family=Kanit:wght@300;400;500;600&display=swap');

/* ===== ฟอนต์หลัก ===== */
body {
    font-family: 'Prompt','Sarabun';
    background-color: #F6FFFC;
    color: #0E5A47;
}

/* Utility classes for fonts */
.font-prompt {
    font-family: 'Prompt', sans-serif !important;
}

.font-sarabun {
    font-family: 'Sarabun', sans-serif !important;
}

.font-kanit {
    font-family: 'Kanit', sans-serif !important;
}

/* ใช้ฟอนต์ Kanit กับหัวข้อทุกระดับ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Kanit', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ===== ลิงก์ ===== */
a {
    color: #1FA37C;
    text-decoration: none;
}

a:hover {
    color: #198b6a;
}

/* ===== ปุ่ม ===== */
.btn-success {
    background-color: #1FA37C;
    border: none;
}

.btn-success:hover {
    background-color: #198b6a;
}

/* ===== การ์ด ===== */
.card {
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card-header {
    font-family: 'Prompt', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.card-header.bg-success {
    background-color: #1FA37C !important;
}

/* ===== เนื้อหายาว ===== */
.text-long {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.7;
}

/* ===== Navbar ===== */
.navbar {
    font-family: 'Prompt', sans-serif;
    font-weight: 500;
}

.navbar .nav-link {
    color: #0E5A47 !important;
}

.navbar .nav-link:hover {
    color: #1FA37C !important;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 0.75rem;
    border: 1px solid #d8f3e5;
}

.dropdown-item:hover {
    background-color: #e6faf3;
    color: #0E5A47;
}

/* ===== Footer ===== */
footer {
    background-color: #1FA37C;
    color: white;
    text-align: center;
    padding: 1rem;
    border-top: 3px solid #198b6a;
}
