.srr-category-dropdown-container {
    position: relative;
    display: block; /* Takes full available width */
    margin-bottom: 15px; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* Common WP admin font */
}
.srr-category-dropdown-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600; /* Slightly bolder */
    color: #2c3338; /* WP admin text color */
    font-size: 14px;
}
.srr-category-dropdown-toggle {
    background-color: #f6f7f7; /* WP button-secondary like */
    color: #2c3338;
    padding: 8px 12px; /* Adjusted padding */
    border: 1px solid #007cba; /* WP primary color for border */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px; /* Adjust as needed */
    border-radius: 3px;
    width: 100%; /* Or set a specific width */
    box-sizing: border-box;
    text-align: left;
    font-size: 14px;
}
.srr-category-dropdown-toggle:hover {
    background-color: #f0f0f1; /* Slightly darker hover */
    border-color: #005a87; /* Darker primary */
}
.srr-current-category-name {
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}
.srr-dropdown-arrow {
    font-size: 1.2em; /* Made arrow slightly larger */
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
    color: #007cba;
}
.srr-category-dropdown-list.open ~ .srr-category-dropdown-toggle .srr-dropdown-arrow {
    transform: rotate(180deg);
}
.srr-category-dropdown-list {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #7e8993; /* WP admin border color */
    list-style: none;
    padding: 0;
    margin: 1px 0 0 0; 
    width: 100%; 
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    z-index: 1001; 
    max-height: 250px;
    overflow-y: auto;
    border-radius: 3px;
    box-sizing: border-box;
}
.srr-category-dropdown-list.open {
    display: block;
}
.srr-category-dropdown-list li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #1d2327; /* WP link color */
    border-bottom: 1px solid #f0f0f1; /* Lighter separator */
    font-size: 14px;
}
.srr-category-dropdown-list li:last-child a {
    border-bottom: none;
}
.srr-category-dropdown-list li a:hover,
.srr-category-dropdown-list li a.active-category {
    background-color: #f0f0f1;
    color: #007cba; /* WP primary color for active/hover text */
}
.srr-category-dropdown-list li a.active-category {
    font-weight: 600;
}
