/* Benchmark and city selectors in the chart control bars (colours from the tokens, so both themes work) */

/* Regional benchmark checkboxes */
.benchmark-checkboxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.benchmark-checkboxes .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.benchmark-checkboxes input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    border: 2px solid var(--color-line) !important;
    border-radius: 0.25rem !important;
    vertical-align: middle;
    margin: 0 0.5rem 0 0 !important;
    background: var(--color-surface) !important;
}

.benchmark-checkboxes input[type="checkbox"]:checked {
    background-color: var(--color-fill-accent) !important;
    border-color: var(--color-fill-accent) !important;
}

.benchmark-checkboxes input[type="checkbox"]:focus {
    box-shadow: var(--focus-ring) !important;
}

.benchmark-checkboxes label {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--color-ink-700) !important;
    margin-bottom: 0 !important;
    cursor: pointer;
}

/* Country benchmark selector */
.country-benchmark-selector-container {
    padding: 0;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.country-benchmark-dropdown {
    min-height: 28px;
    min-width: min(400px, 100%);
}

/* City selector, matching the country benchmark selector */
.city-selector-container {
    padding: 0;
    border-radius: 0.5rem;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-selector-container .dropdown-label {
    flex-shrink: 0;
    margin-bottom: 0;
}

.city-dropdown {
    min-height: 28px;
    min-width: min(400px, 100%);
}
