/* Filters - Country selector and other filter components */

.filter-section {
    /* background: #0067ce; */
    padding: 0rem 0;
    margin-bottom: 1rem;
}

.filter-inner {
    /* background: #0067ce; */
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 0rem;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: center;
    position: relative;
}

.filter-spacer {
    flex: 1;
}

/* Position city platform button absolutely to the right */
.city-platform-button-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.filter-card {
    /* background: #0067ce; */
    /* background: white; */
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.1), 0 0px 0px 0 rgba(0, 0, 0, 0.06);
    border: 0px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-control-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
    white-space: nowrap;
    margin-right: 0.75rem;
}

.filter-dropdown-container {
    width: 300px;
}

/* Filter container and radio buttons */
.filter-container {
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 0px solid #e2e8f0;
    min-width: 300px;
    margin-bottom: 0rem;
    display: flex;
    gap: 0.75rem;
}

/* Special filter container for metric selector with button on right */
.filter-container-with-button {
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 0px solid #e2e8f0;
    min-width: 300px;
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.radio-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

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

.radio-buttons input[type="radio"] {
    width: 1rem !important;
    height: 1rem !important;
    cursor: pointer;
    margin-right: 0.375rem;
    accent-color: #002244;
}

.radio-buttons label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0;
    user-select: none;
}

.radio-buttons label:hover {
    color: #002244;
}

/* Cities Growth specific styles */
.cities-growth-metric-container {
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 0px solid #e2e8f0;
    min-width: 300px;
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cities-growth-metric-group {
    display: flex;
    align-items: center;
}
