@charset "UTF-8";

/* ปรับแต่งความสวยงามเพิ่มเติมของตารางข้อมูล DataTables ให้โมเดิร์นขึ้น */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    padding: 0.375rem 0.75rem !important;
    outline: none !important;
    margin-left: 0.5rem !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #4f46e5 !important;
    ring: 2px #4f46e5;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.375rem !important;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem !important;
}

table.dataTable {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

table.dataTable thead th {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

table.dataTable tbody td {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1rem 0.75rem !important;
}

/* ปรับแต่งปุ่มกดเปลี่ยนหน้า (Pagination) ของ DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4f46e5 !important;
    color: white !important;
    border: 1px solid #4f46e5 !important;
    border-radius: 0.375rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #4338ca !important;
    color: white !important;
    border: 1px solid #4338ca !important;
    border-radius: 0.375rem !important;
}
