/* === UPDATED REGION SELECTOR STYLES === */

.region-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2rem 0;
    font-family: 'Inter', sans-serif;
}

/* Hide the actual radio input */
.region-selector input[type="radio"] {
    display: none;
}

/* --- Style for the unselected buttons --- */
.region-selector label {
    cursor: pointer;
    padding: 0.5rem 1rem;
    /* A visible grey border on a transparent background */
    border: 1px solid #777;
    background-color: transparent;
    /* Light text color */
    color: #ddd;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out; /* Smooth transition for all properties */
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Style for the button being hovered over --- */
.region-selector label:hover {
    /* Slightly lighter border and text on hover */
    border-color: #aaa;
    color: #fff;
    /* A subtle background fill to indicate interaction */
    background-color: #2a2a2a;
}

/* --- Style for the ACTIVE (checked) button --- */
.region-selector input[type="radio"]:checked + label {
    /* Solid white background for maximum contrast */
    background-color: #fff;
    /* Dark text for readability on the white background */
    color: #111;
    /* Border matches the solid background */
    border-color: #fff;
    font-weight: 600;
}
