
.search-container {
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 5px;
    display: flex;
    height: 20px;
    padding: 2px 5px;
    position: absolute;
    right: 104px;
    top: 11px;
    width: 200px;
    z-index: 1000;
}

.search-icon {
    font-size: 12px;
    margin-left: 5px;
    margin-right: 5px;
}

#search-input {
    background: transparent;
    border: none;
    flex-grow: 1;
    font-size: 12px;
    outline: none;
    width: 100%;
}

#history-button {
    background-color: #f1f1f1;
    border: none;
    border-radius: 4px;
    color: #6c757d;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;

}

#history-button:hover {
    background-color: #e9ecef !important;
}

.dropdown-container, .full-history-dropdown {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
    left: 0;
    margin-top: 2px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    z-index: 1001;
}

.dropdown-container {
    max-height: 450px;
}

.full-history-dropdown {
    max-height: 450px;
}

.dropdown-section {
    border-bottom: 1px solid #eee;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-header {
    align-items: center;
    background-color: #f8f9fa;
    color: #6c757d;
    display: flex;
    font-size: 12px;
    font-weight: bold;
    justify-content: space-between;
    padding: 8px 10px;

}

.history-section {
    display: none;
}

#clear-history, #clear-history-full {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

#options-list, #history-list, #full-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#options-list li, #history-list li, #full-history-list li {
    border-bottom: 1px solid #dddddd;
    cursor: pointer;

    font-size: 12px;
    padding: 12px 10px;
}

#options-list li:last-child, #history-list li:last-child, #full-history-list li:last-child {
    border-bottom: none;
}

#options-list li:hover, #history-list li:hover, #full-history-list li:hover {
    background-color: #87cefab3;
}

#options-list li {
    align-items: center;
    display: flex;
}

#options-list li.selected, #history-list li.selected, #full-history-list li.selected {
    background-color: #87cefab3 !important;
}

.no-history {
    color: #6c757d;
    cursor: default;
    padding: 15px;
    text-align: center;
}

.history-item-main {
    align-items: center;
    display: flex;
    margin-bottom: 7px;
}

.history-term {
    font-weight: bold;
    margin-right: 8px;
}

.history-destination {
    background-color: #f0f0f0;
    border-radius: 3px;
    color: #6c757d;
    font-size: 11px;
    padding: 2px 5px;
}

.history-item-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.history-item-date {
    color: #6c757d;
    font-size: 10px;
}

.history-item-actions {
    display: flex;
    gap: 8px;
}

.search-alt {
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 4px;

}

.search-alt:hover {
    background-color: rgb(255, 255, 255);
}