/**
 * DataTables tweaks on Tailwind-heavy public pages (green branding).
 */

.site-dt-wrap .dataTables_wrapper {
    font-size: 0.875rem;
}

.site-dt-wrap .dataTables_length,
.site-dt-wrap .dataTables_filter {
    margin-bottom: 0.75rem;
}

.site-dt-wrap .dataTables_length select {
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.35rem 1.25rem 0.35rem 0.65rem;
    background: #fff;
    margin: 0 0.35rem;
}

.site-dt-wrap .dataTables_filter input {
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.4rem 0.9rem;
    margin-left: 0.5rem;
    background: #fff;
}

.site-dt-wrap .dataTables_filter input:focus {
    outline: none;
    border-color: #2d6a30;
    box-shadow: 0 0 0 3px rgba(45, 106, 48, 0.12);
}

.site-dt-wrap .dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    padding: 0.25rem 0.65rem !important;
    margin: 0 0.125rem !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    color: #374151 !important;
}

.site-dt-wrap .dataTables_paginate .paginate_button:hover {
    border-color: #2d6a30 !important;
    background: #f0fdf4 !important;
    color: #14532d !important;
}

.site-dt-wrap .dataTables_paginate .paginate_button.current,
.site-dt-wrap .dataTables_paginate .paginate_button.current:hover {
    background: #2d6a30 !important;
    border-color: #276326 !important;
    color: #fff !important;
}

.site-dt-wrap table.dataTable tbody tr.bg-white td {
    background-color: #fff !important;
}

/* Public policy/download tables: square cells */
.site-dt-wrap table thead th,
.site-dt-wrap table tbody td {
    border-radius: 0 !important;
}
