/* ฟอนต์พื้นฐาน - ใช้ Sarabun สำหรับข้อความทั่วไป */
body {
    background-color: #f8f9fa;
    font-family: 'Sarabun', sans-serif;
}

/* ฟอนต์หัวข้อ - ใช้ Kanit สำหรับหัวข้อทั้งหมด */
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.page-title,
.page-header h2,
.card-title,
.card-header,
.alert-title,
.alert h4,
.alert h5,
.table th,
.nav-link,
.btn,
.dropdown-item,
.modal-title {
    font-family: 'Kanit', sans-serif;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 40px auto;
}

.page-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #34495e;
    font-family: 'Sarabun', sans-serif;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    padding: 10px;
    font-family: 'Sarabun', sans-serif;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52,152,219,0.25);
}

.btn-submit {
    background: #3498db;
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    width: 100%;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #2980b9;
}

.header-logo {
    text-align: center;
    margin-bottom: 20px;
}

.header-logo img {
    max-height: 80px;
    max-width: 100%;
    height: auto;
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
    font-family: 'Sarabun', sans-serif;
}

.table-responsive {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* View All Page Specific */
.container.view-all {
    max-width: 1200px;
}

.table-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin: 40px auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.page-header h2 {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

.login-form {
    max-width: 340px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.login-form .header-logo img {
    max-height: 100px;
    margin-bottom: 1rem;
}

.login-form .form-control {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
}

.login-form .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
}

/* เพิ่มเติมสำหรับส่วนอื่นๆ */
.card-header {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

.card-body {
    font-family: 'Sarabun', sans-serif;
}

.badge {
    font-family: 'Sarabun', sans-serif;
}

small, .text-muted {
    font-family: 'Sarabun', sans-serif;
}
