/* Basic table styling */
.eu-users-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.eu-users-table th,
.eu-users-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 17px; /* MODIFIED: Set general table font size */
    vertical-align: top; /* Ensures content aligns nicely if some cells have more content */
}

.eu-users-table th {
    background-color: #f2f2f2;
    font-weight: bold; /* Ensure headers remain bold if theme overrides */
}

/* NEW: Zebra striping for table body rows */
.eu-users-table tbody tr:nth-child(odd) td {
    background-color: #f9f9f9; /* Very pale grey for odd rows */
}

.eu-users-table tbody tr:hover td {
    background-color: #f1f1f1; /* Optional: slightly darker grey on hover for any row */
}

/* Search form styling */
.eu-search-form {
    margin-bottom: 20px;
}

.eu-search-form input[type="text"] {
    padding: 8px; /* Increased padding for consistency */
    width: 250px; /* Slightly wider */
    max-width: 100%; /* Ensure it's responsive */
    border: 1px solid #ddd;
    border-radius: 3px;
}

.eu-search-form input[type="submit"],
.eu-search-form .clear-search, /* Apply consistent styling to search and clear buttons */
.eu-switch-button, /* Include the switch button here for base styling if needed */
a.eu-switch-button {
    padding: 8px 15px; /* Consistent padding */
    background-color: #0073aa; /* WordPress blue */
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none; /* For <a> tags styled as buttons */
    display: inline-block; /* For <a> tags */
    line-height: normal; /* Ensure consistent line height */
    border-radius: 3px;
    font-family: "Maven Pro", sans-serif; /* Consistent font with theme buttons */
}

/* CORRECTED: Clean hover styles for all buttons/links. This fixes the flashing issue. */
.eu-search-form input[type="submit"]:hover,
.eu-search-form .clear-search:hover,
.eu-switch-button:hover,
a.eu-switch-button:hover {
    background-color: #005177; /* Darker WordPress blue */
    color: #fff; /* Ensure text color remains white on hover */
}

/* Specific font-weight for search/clear buttons if they shouldn't be bold */
.eu-search-form input[type="submit"],
.eu-search-form .clear-search {
    font-weight: normal; /* Or 'bold' if you prefer them bold */
}


/* Filter links styling */
.eu-filters {
    margin-bottom: 10px;
    font-size: 17px; /* MODIFIED: Set filter link font size */
}
.eu-filters a {
    text-decoration: none;
    margin-right: 5px;
}

/* Pagination styling */
.eu-pagination {
    margin-top: 20px;
    text-align: center;
    clear: both; /* Ensure it clears any floated elements */
}

.eu-pagination ul.page-numbers { /* Target the <ul> generated by paginate_links type 'list' */
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* Center the block of page numbers */
}

.eu-pagination ul.page-numbers li {
    display: inline; /* Make list items appear in a single line */
    margin: 0 2px;
}

.eu-pagination ul.page-numbers li a,
.eu-pagination ul.page-numbers li span.current,
.eu-pagination ul.page-numbers li span.dots {
    padding: 8px 12px; 
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
    background-color: #fff;
    display: inline-block; 
    border-radius: 3px; 
    font-size: 17px; /* MODIFIED: Set pagination font size */
}

.eu-pagination ul.page-numbers li span.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

.eu-pagination ul.page-numbers li a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* Styling for the "Switch to User" button */
.eu-switch-button,
a.eu-switch-button { 
    font-weight: normal !important; /* Override theme's bold style for buttons */
    font-size: 16px !important; /* MODIFIED: Explicitly set font size for switch button if different from theme default */
    padding: 6px 10px !important; /* MODIFIED: Specific padding for switch button */
    line-height: 1.4; /* Adjust line height if necessary */
}

/* Adverts list styling */
.eu-users-table td ul {
    list-style: none;
    margin: 0 !important; 
    padding: 0; 
    font-size: 17px; /* MODIFIED: Ensure advert list items also get the font size */
}

.eu-users-table td ul li {
    padding: 2px 0; 
}

.eu-users-table td ul li a {
    font-size: inherit; /* Inherit font size from parent li */
}