/* view-handlers-management.css */

/* Table styling */
#handlerTable {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    border-radius: 8px; /* Add rounded corners to the outermost corners */
    overflow: hidden; /* Ensure rounded corners are applied */
}

#handlerTable th, #handlerTable td {
    padding: 8px;
    text-align: left;
    font-size: 14px;
    color: #063572 !important; /* Charcoal color for table text */
}

/* Header styling */
#handlerTable th {
    font-weight: bold;
    background-color: #063572 !important; /* Charcoal background for header */
    color: #f9f9f9 !important; /* Light grey for header text */
}

#handlerTable tbody tr:nth-child(odd) {
    background-color: #e9e9e9 !important; /* Slightly darker grey for odd rows */
}

#handlerTable tbody tr:nth-child(even) {
    background-color: #ffffff !important; /* White background for even rows */
}

/* Hover effect for table rows */
#handlerTable tbody tr:hover {
    background-color: #e0e0e0 !important; /* Highlight row on hover */
}

/* DataTables UI elements */

/* Pagination controls */
#handlerTable_paginate .paginate_button {
    color: #063572 !important; /* Charcoal for pagination numbers */
    background-color: #d6d6d6; /* Grey background */
    border: none; /* Remove border */
}

#handlerTable_paginate .paginate_button:hover {
    color: #ca2026 !important; /* Red text on hover */
}

#handlerTable_paginate .paginate_button.current {
    color: #ca2026 !important; /* Red text for the current page */
}

/* Pagination numbers specifically */
#handlerTable_paginate .paginate_button.page-item {
    color: #ffea96 !important; /* Light yellow for the page numbers */
}

/* Search input box */
#handlerTable_filter input {
    color: #063572; 
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid #063572; /* Charcoal border color */
}

/* Length select box (items per page) */
#handlerTable_length select {
    color: #063572; /* Charcoal text */
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid #063572; /* Charcoal border color */
}

/* Info text (e.g., "Showing 1 to 10 of 50 entries") */
#handlerTable_info {
    color: #063572 !important; /* Charcoal color */
}

/* Other DataTables elements like sorting buttons */
#handlerTable_length, #handlerTable_filter, #handlerTable_info {
    color: #ca2026; /* Red for additional interface text */
}

#handlerTable_filter label, #handlerTable_length label {
    color: #063572; /* Charcoal label text color */
}

/* Sorting icons */
#handlerTable thead .sorting:after, 
#handlerTable thead .sorting_asc:after, 
#handlerTable thead .sorting_desc:after {
    color: #ffea96 !important; /* Light yellow for sorting arrows */
}

/* Adjust DataTables buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    border-radius: 4px !important;
}
