/* 搜索框样式 */
#search-box {
    position: relative;
    /* margin-right: 20px; */
    margin-top: 6px;
    display: flex;
    align-items: center;
}

#search-btn {
    cursor: pointer;
    font-size: 18px;
    color: #666;
    padding: 8px;
    transition: color 0.3s ease;
    height: 32px;
    display: flex;
    align-items: center;
}

#search-btn:hover {
    color: #ee5b2e;
}

#search-form {
    position: absolute;
    right: 0;
    top: 0;
    display: none;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    width: 220px;
    z-index: 100;
    animation: fadeIn 0.3s ease;
    height: 32px;
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#search-form input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    color: #333;
}

#search-form button {
    background: none;
    border: none;
    color: #ee5b2e;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: transform 0.2s ease;
}

#search-form button:hover {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    #search-form {
        width: 180px;
        right: -10px;
    }
}