.gymmark-location-selector-block {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--global-palette3);
}


#selected-location-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
}

#selected-location-name a.selected-location-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: underline;
    color: inherit;
}

#selected-location-name a.selected-location-link:hover {
    color: var(--global-palette3) !important;
}

#location-dropdown {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    left: 0;
    background: var(--global-palette2);
    border: 1px solid var(--global-palette1);
    z-index: 1000;
}

#location-selector {
    color: var(--global-palette3) !important;
}

#edit-location-button {
    font-size: 16px !important;
    background: none;
    border: none;
    color: var(--global-palette3);
    cursor: pointer;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    /* Remove underline for caret */
}

#edit-location-button svg {
    display: block;
}

#edit-location-button:focus {
    outline: 2px solid var(--global-palette3);
}

/* Hide caret if only one location (handled in JS, but for safety) */
.gymmark-location-selector-block.only-one-location #edit-location-button {
    display: none !important;
}