.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    min-width: 100%;
    width: max-content;
    white-space: nowrap;
    overflow: visible;
    z-index: 10;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 12px;
    font-size: 15px;
    min-height: 25px;
    cursor: pointer;
    background: #282c34;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: #3e4451;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;    /* Add this: Tells the wrapper to take up remaining space */
    width: 100%;     /* Add this: Ensures it tries to fill the parent */
    max-width: 500px; /* Move the max-width here for better control */
}

.search_input {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.search-row input {
    /* Remove max-width from here so it just fills the wrapper */
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #121212;
    color: #eaeaea;
    box-sizing: border-box; /* Crucial so padding doesn't cause overflow */
}

.search_button {
    padding: 10px 18px;
    border-radius: 6px;
    background: #1f1f1f;
    border: 1px solid #333;
    font-size: 0.95rem;
}

.search_button: hover {
    background: #2a2a2a;
}