body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
}
.navbar {
    background-color: #ffffff;
    border-bottom: 3px solid #0056b3;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar h1 { margin: 0; font-size: 20px; color: #0056b3; }
.btn-logout { background: #dc3545; color: white; text-decoration: none; padding: 8px 15px; border-radius: 4px; font-size: 14px; }
.container { max-width: 1100px; margin: 30px auto; padding: 0 15px; }
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header {
    background-color: #e9ecef;
    padding: 15px 20px;
    font-weight: bold;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}
.card-body { padding: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}
.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.btn-primary:hover { background-color: #0056b3; }
.alert { padding: 10px; background: #d4edda; color: #155724; border-radius: 4px; margin-bottom: 20px; }
.nav-tabs { display: flex; list-style: none; padding: 0; margin: 0; border-bottom: 1px solid #dee2e6; }
.nav-tabs li { margin-right: 5px; }
.nav-tabs a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.nav-tabs a.active { background: white; color: #0056b3; font-weight: bold; border-bottom: 2px solid white; margin-bottom: -1px; }
.hidden-section { display: none; margin-top: 10px; padding: 10px; border: 1px dashed #ccc; background: #fafafa; border-radius: 4px; }
.img-preview { width: 100px; height: 100px; object-fit: cover; border: 1px solid #ddd; border-radius: 4px; margin-top: 5px; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border: 1px solid #dee2e6; padding: 10px; text-align: left; }
th { background-color: #e9ecef; }
.text-center { text-align: center; }

@media print {
    .no-print { display: none; }
    .card { box-shadow: none; border: none; }
    body { background: white; }
}
/* ... (โค้ดส่วนบนเหมือนเดิม) ... */

/* เพิ่มส่วนนี้ต่อท้ายไฟล์ หรือแก้ทับของเดิม */
.form-group label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: 600; /* หัวข้อปกติยังคงหนา */
}

/* คลาสสำหรับ label ของ checkbox ให้ตัวบาง */
.chk-label {
    font-weight: 400 !important; /* บังคับให้ตัวบาง */
    cursor: pointer;
    display: inline-block !important; /* ให้แสดงในบรรทัดเดียวกันได้ถ้าต้องการ หรือ block ก็ได้ */
    margin-bottom: 5px;
}
.chk-label input {
    margin-right: 8px;
    transform: scale(1.1); /* ขยาย checkbox ให้กดง่ายขึ้นนิดหน่อย */
}

.main-group-header {
    background-color: #f1f8ff; /* สีพื้นหลังอ่อนๆ ให้แยกกลุ่มงานชัดเจน */
    padding: 10px 15px;
    border-left: 5px solid #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0056b3;
    font-size: 18px;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
}

.sub-group-header {
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    margin-top: 15px;
    margin-bottom: 10px;
    padding-left: 10px;
}
</style>