/* Panel collapse buttons */
.collapseButtonContainer {
    position: absolute;
    z-index: 65;
    top: calc(50% - 24px);
    display: block;
}

.collapseButtonContainerTop {
    display: none;
}

.button-props {
    background: transparent;
    border: 0;
    border-radius: 0;
    font: inherit;
    list-style: none;
    margin: 0;
    outline: 0;
    overflow: visible;
    padding: 0;
    vertical-align: baseline;
}

.button-props:focus {
    outline: none !important;
}

.hidePanelButton {
    background: #fff;
    border: 0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 2px 0px rgba(38, 40, 42, 0.25);
    width: 23px;
    height: 48px;
    cursor: pointer;
    border-left: 1px solid #dadce0;
    border-radius: 0 8px 8px 0;
    background: #fff 7px center/7px 10px no-repeat;
}

.hidePanelButtonTop {
    background: #fff;
    border: 0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 2px 0px rgba(38, 40, 42, 0.25);
    width: 48px;
    height: 23px;
    cursor: pointer;
    border-top: 1px solid #dadce0;
    border-radius: 0px 0px 8px 8px;
    background: #fff 7px center/7px 10px no-repeat;
}

/* Geocoder styles */
.geocoder-container {
    width: 100%;
    top: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0px;
    height: 60px;
    min-height: 60px;
    align-items: center;
    flex-shrink: 0;
}

.mapboxgl-ctrl-geocoder {    
    max-width: 417px !important;
    min-width: 0px;
}

.mapboxgl-ctrl-geocoder--icon-search {
    display: none !important;
}

.mapboxgl-ctrl-geocoder:focus {
    color: #404040;
    color: rgb(187 12 12 / 75%);
    outline: 0;
    box-shadow: none;
    border: 1px solid black;
    border-radius: 4px;
}

.mapboxgl-ctrl-geocoder--input:focus {
    outline: none;
}

/* Force consistent geocoder styling at all viewport widths */
.mapboxgl-ctrl-geocoder {
    min-width: 240px !important;
    width: calc(100% - 20px) !important;
    max-width: 240px !important;
    font-size: 18px !important;
}

.mapboxgl-ctrl-geocoder--input {
    height: 36px !important;
    font-size: 14px !important;
    padding: 6px 35px !important;
    color: #404040 !important;
}

.mapboxgl-ctrl-geocoder--icon {
    top: 8px !important;
}

.mapboxgl-ctrl-geocoder--icon-search {
    left: 10px !important;
    width: 20px !important;
    height: 20px !important;
}

.mapboxgl-ctrl-geocoder--icon-close {
    right: 7px !important;
    width: 16px !important;
    height: 16px !important;
}

.mapboxgl-ctrl-geocoder--button {
    width: 20px !important;
    height: 20px !important;
}

/* Make sure these styles apply at all viewport widths */
@media screen and (min-width: 0px) {
    .mapboxgl-ctrl-geocoder {
        font-size: 18px !important;
        line-height: 24px !important;
        max-width: none !important;
    }
}

.mapboxgl-ctrl-group1.mapboxgl-ctrl {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 10px;
    padding: 0;
}

.mapboxgl-ctrl-top-right .mapboxgl-ctrl {
    float: right;
    margin: 10px 10px 0 0;
}

.mapboxgl-ctrl {
    clear: both;
    pointer-events: auto;
    transform: translate(0);
}
