.encyclopedia-search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.encyclopedia-search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.encyclopedia-search-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.2);
}

.search-button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    fill: #666;
    width: 20px;
    height: 20px;
}

.search-button:hover .search-icon {
    fill: #4a90e2;
}

.search-suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-suggestion-item {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background-color: #f5f5f5;
}

.search-suggestion-item a {
    color: #333;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.search-suggestion-item a:hover {
    color: #4a90e2;
}