/* 搜索表单样式 */
.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 250px;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.search-toggle svg {
    fill: #666;
}

.search-toggle:hover svg {
    fill: #ae53f3;
}

.search-form .form-control {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 4px 4px 0;
    background-color: #ae53f3;
    border-color: #ae53f3;
    color: #fff;
}

.search-form .btn:hover {
    background-color: #9a42e0;
    border-color: #9a42e0;
}

/* 移动设备上的搜索表单样式 */
@media (max-width: 768px) {
    .search-form {
        right: -10px;
        left: -10px;
        min-width: auto;
        border-radius: 0 0 4px 4px;
    }
}