/* ================================
   LOCATION AUTOCOMPLETE SUGGESTION
================================ */

.location-autocomplete-wrapper {
    width: 100%;
    position: relative;
}

.location-suggestion-container {
    width: 100%;
    padding: 4px;
    background: var(--Neutral-White, #fff);
    box-shadow: 0px 0px 2px rgba(113, 113, 113, 0.50);
    border-radius: 24px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    display: flex;
    position: relative;
    z-index: 10;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.location-suggestion-header {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: inline-flex;
    align-self: stretch;
}

.location-suggestion-label {
    color: var(--Neutral-Grey-200, #717171);
    font-size: 12px;
    font-family: Lato, sans-serif;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.location-suggestion-criteria {
    color: var(--Neutral-Grey-300, #3E3A39);
    font-size: 12px;
    font-family: Lato, sans-serif;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

.location-suggestion-divider {
    align-self: stretch;
    height: 0px;
    border: 1px var(--Neutral-Grey-100, #E8E8E8) solid;
}

.location-suggestion-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.location-suggestion-item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: stretch;
    border-radius: 20px;
}

.location-suggestion-item:hover {
    background: #77CCD126;
}

.location-suggestion-item:hover .location-suggestion-item-text {
    color: #3E3A39;
}

.location-suggestion-item-text {
    color: var(--Neutral-Grey-200, #717171);
    font-size: 16px;
    font-family: Lato, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.location-suggestion-item.active .location-suggestion-item-text {
    color: var(--Tosca-Primary-Tosca-100, #50C3CB);
    font-weight: 600;
}

/* Scroll styling */
.location-suggestion-container::-webkit-scrollbar {
    width: 6px;
}

.location-suggestion-container::-webkit-scrollbar-track {
    background: transparent;
}

.location-suggestion-container::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 3px;
}

.location-suggestion-container::-webkit-scrollbar-thumb:hover {
    background: #A0A0A0;
}
