/* Ensuring rounded corners for wpDataTablesWrapper */
.wpDataTablesWrapper {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures the border-radius is respected */
}

/* Charcoal background and light grey text for the header with higher specificity */
table#dogTable thead th {
    background-color: #063572 !important; /* Charcoal background for header */
    color: #f9f9f9 !important; /* Light grey text for the header */
}

/* Ensure header text stays light grey and BG stays charcoal */
table#dogTable th, table#dogTable th span {
    color: #f9f9f9 !important; /* Light grey text */
    background-color: #063572 !important; /* Charcoal background */
}

.wpDataTable td {
    background-color: #ffffff !important; /* Light grey background for rows */
}

/* Odd and even rows background colors with high specificity */
table#dogTable tr:nth-child(odd) td {
    background-color: #e9e9e9 !important; /* Slightly darker grey for odd rows */
}

table#dogTable tr:nth-child(even) td {
    background-color: #ffffff !important; /* White background for even rows */
}

/* Highlight row on hover */
table#dogTable tr:hover td {
    background-color: #e0e0e0 !important; /* Highlight row on hover */
}

/* DataTables UI elements */
#dogTable_paginate .paginate_button {
    color: #063572 !important; /* Charcoal for pagination numbers */
    background-color: #d6d6d6; /* Charcoal background */
    border: none; /* Remove border */
}

#dogTable_paginate .paginate_button:hover {
    color: #ca2026 !important; /* Red text on hover */
}

#dogTable_paginate .paginate_button.current {
    color: #ca2026 !important; /* Red text for the current page */
}

/* Pagination numbers specifically */
#dogTable_paginate .paginate_button.page-item {
    color: #b3b3b3 !important; /* Charcoal for the page numbers */
}

/* Search input box */
#dogTable_filter input {
    color: #063572; 
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid  #063572; /* Border color */
}

/* Length select box (items per page) */
#dogTable_length select {
    color: #063572; /* Text */
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid  #063572; /* Border color */
}

/* Info text (e.g., "Showing 1 to 10 of 50 entries") */
#dogTable_info {
    color:  #063572 !important; /* Charcoal color */
}

/* Other DataTables elements like sorting buttons */
#dogTable_length, #dogTable_filter, #dogTable_info {
    color: #ca2026; /* Red for additional interface text */
}

#dogTable_filter label, #dogTable_length label {
    color:  #063572; /* Charcoal label text color */
}
